3 ms·
It's not difficult. loadbalancer knows how many requests are in-flight to server. The OP is plainly wrong. That's why leastconn works in the first place. And l
by adql 3y ago
It's not difficult. loadbalancer knows how many requests are in-flight to server. The OP is plainly wrong.
That's why leastconn works in the first place. And leastconn is almost always one you want. It's almost magical. GC stall on one server ? That means it isn't processing, which means every new request will go to other servers.
One server processing 2x as fast as the other ? Well, it keeps its connection count low, so it gets more of them
- CrimsonRain 3y agoWhat if a server has most of its request processing io blocked? It can process more requests because it has empty CPU RAM but load balancer will think the server is fully booked.