← projects

Load Balancer

One front door, many backends. Requests stream into the balancer and it spreads them across the servers by the chosen policy - each request holds a connection for a little while before finishing. Switch the algorithm and watch the distribution change live.

Hand requests to each backend in turn - simple and perfectly even when every server is identical.

Load BalancerRound Robin
web-1w4
0 active
0 handled0%
web-2w2
0 active
0 handled0%
web-3w1
0 active
0 handled0%
web-4w1
0 active
0 handled0%
servers4
0total routed
0in flight
0dropped
4 / 4servers up
clients:203.0.113.8203.0.113.21203.0.113.34203.0.113.55203.0.113.89203.0.113.144Each dot is a request, coloured by its client IP. Under IP Hash a colour always lands on the same backend; under the others it spreads. Take a server down (⏻) to watch failover.