LeastConnections
Least connections is a load-balancing algorithm used by reverse proxies and application delivery controllers. It routes each new client connection to the backend server that has the fewest active connections at the moment the request arrives. The idea is that a server with fewer active connections is likely to become available sooner, reducing overall wait time.
Implementation typically involves the load balancer maintaining a per-backend count of active connections, updated when connections
Commonly used in HTTP and TCP load balancing, least connections is supported by many popular proxies and
Advantages include better handling of long-lived connections and dynamic workloads, as well as responsiveness to real-time