Least connections load balancer with eager counter updates. The active-connection count increments immediately when the load balancer makes its routing decision, so rapid arrivals distribute correctly across servers. Requests carry a random duration, shown as a draining bar.

Client Incoming Load balancer Least connections Next: Server 1 Server 1 Done 0 · Active 0 Server 2 Done 0 · Active 0 Server 3 Done 0 · Active 0 Server 4 Done 0 · Active 0
Travelling request · label = assigned duration Bar height = time remaining Reserved slot · request en route
500 ms
Completed
0
In progress
0
Spread (max − min)
0
Avg duration