Scalingleast outstanding requests
Least connections
Definition
Least connections routes each new request to the backend currently holding the smallest number of open connections or in-flight requests.
In practice
Active connections are a live proxy for load, so the algorithm adapts automatically when some requests are slow or one server falls behind. It suits long-lived connections and workloads with very uneven request cost.
It needs the balancer to track per-server state, which is harder across several balancer instances. A newly added or freshly restarted server has zero connections and can be flooded; slow-start ramps exist to prevent that.
Example
Server A holds 12 connections and server B holds 4, so the next request goes to B even though A received fewer requests in total.