How the Hiddify app picks a server
Many profiles have more than one server. As long as you don't pick one yourself on the proxies page, the app decides which server your traffic uses. Two settings in Settings → Routing control this:
Two words used on this page
- Ping is how long a server takes to answer, in milliseconds (ms). Lower is faster: 85 ms is quicker than 420 ms. The app measures it by itself every now and then.
- A connection is one line of traffic between an app and a site. Opening one web page usually opens several connections at once.
Default proxy
As soon as you pick a server yourself on the proxies page, that server is used and this setting waits in the background.
Lowest ping: calm, not jumpy
The fastest server can change from minute to minute. If the app moved your traffic at every small change, calls and downloads would keep breaking, so it only moves when it is really worth it.
In this example the profile has three servers, A, B and C:
- After a switch, the app stays on the new server for at least 30 seconds.
- It switches only when another server is clearly faster: by more than 30 ms and more than 20%. If the server fails, it switches at once.
- Connections that are already open stay on the server they started on.
Balancer strategy
When the Default proxy is Balance, the app does not send everything through one server: it spreads your connections over all the servers of the profile. The Balancer strategy decides which server each new connection goes to.
Think of a shop with three checkouts
Your servers are the checkouts and your connections are the customers.
- Round robin sends the customers to the checkouts in turn: first, second, third, first again.
- Consistent hash gives each family its own checkout, always the same one, today and tomorrow.
- Sticky session sends each family to a random checkout the first time, and they keep going back to it until they leave the shop.
In the examples below the profile has three servers. The number is the server's ping: lower is faster.


Round robin: everyone takes a turn
Each new connection goes to the next server in line: A, then B, then C, then A again.
- The turn moves on with each connection, not each click. One page opens several connections, so one page can go through several servers.
- That is why some sites sign you out or show a captcha: they see your address change.
- A server more than twice as slow as the fastest one is skipped, and it rejoins the turns once it is fast enough again.
- Before the first speed test finishes, every server takes a turn, even one that may not answer.
- Best for: spreading heavy traffic (downloads, many videos) over all your servers.
Consistent hash: each site has its own server
The name of the site decides its server. The same site always goes to the same server, even after you reconnect.
- A "site" is its main domain:
example.comalso coverswww.example.comandmail.example.com. A connection without a name goes by its IP address. - The name decides, not the speed, so a site may get a slower server (here
c.comstays on C). - A site keeps its server as long as your list of servers stays the same; adding or removing a server can move some sites.
- If its server goes down or becomes more than twice as slow as the fastest, the site uses another one for a while and comes back later.
- Best for: sites you log in to (banks, email, social media), on every device and after every reconnect.
Sticky session: the first server sticks
The first time you open a site, it gets a random server, and it keeps that server until you disconnect.
- A "site" means the same as in Consistent hash.
- Unlike Consistent hash, a site that moved does not go back, and a reconnect forgets every pick.
- Each device picks for itself: on another device that shares your connection, the same site may use another server.
- The app remembers up to 1000 sites; past that, the oldest one is forgotten and gets a new pick.
- A server more than twice as slow as the fastest counts as down.
- Best for: logging in to sites, while still spreading different sites over different servers.
Which one should I choose?
| Round robin | Consistent hash | Sticky session | |
|---|---|---|---|
| One site, one server? | No | Yes | Yes |
| After a reconnect | — | Same server | New random server |
| When its server is back | — | Returns to it | Stays where it is |
| Good for | Heavy downloads | Logins | Logins, more mixing |
In every strategy, connections that are already open stay on the server they started on (unless it goes down); only new connections follow the strategy. If sites keep signing you out or asking for a captcha, switch from Round robin to Consistent hash or Sticky session.