Least connections
A balancing algorithm that sends each new request to the server currently handling the fewest connections.
Example
With A at 12 connections, B at 3 and C at 8, the next request goes to B.
Test yourself: Least connections
Load balancers
When is 'least connections' better than round robin?
If one request takes 10 ms and another 10 seconds, even turns can pile 5 long requests on one server while another sits idle.
0/1
â–¶ Play