Load balancing
Least connections
A balancing policy that sends each new request to the backend with the fewest connections still open.
Least connections is a load-balancing rule: each new request goes to the backend with the fewest connections still
open. Round robin gives every backend its turn, so a slow server's unfinished work piles up; least connections
(HAProxy balance leastconn) steers away from it without knowing why it is slow. Both respect weights: a backend
with weight 2 gets twice the share.