Weighted least connections load balancer. Each server has a configurable capacity weight, and the load balancer routes each request to whichever server has the lowest active-to-weight ratio. Requests carry a random duration shown as a draining bar.

Client Incoming Load balancer Weighted least conn Next: S1 (L 0.00) Server 1 · w3 Done 0 · Active 0 Server 2 · w1 Done 0 · Active 0 Server 3 · w2 Done 0 · Active 0 Server 4 · w1 Done 0 · Active 0
Load ratios (active ÷ weight) — the LB picks the lowest
S1 0.00 · S2 0.00 · S3 0.00 · S4 0.00
S1 weight
3
S2 weight
1
S3 weight
2
S4 weight
1
500 ms
Completed
0
In progress
0
Load spread
0.00
Avg duration