Load balancer
Round robin against least connections when requests are uneven.
Round robin
Each server in turn, whatever it is already doing.
- S10
- S20
- S30
- S40
- Peak on one server
- 0
- Gap, busiest to idlest
- 0
- Completed
- 0
Least connections
Whichever server has the fewest requests in flight.
- S10
- S20
- S30
- S40
- Peak on one server
- 0
- Gap, busiest to idlest
- 0
- Completed
- 0
Both pools receive the same 500 requests. Blue blocks are quick; red ones take 12 times longer. With no slow requests the two behave alike. Add slow ones and round robin keeps stacking new work on servers that are already stuck. Sent 0 of 500.