Fair turns, unfair work
Three servers each receive one third of the requests, yet one of them can still be the first to slow down, because a request is not a fixed amount of work.
Follow the requestScene 1 / 5
Round robin sends each new request to the next server in a fixed cycle. Each highlight marks an arrival.
Illustrative guided sequence, not a simulation or a benchmark.
01 / 05
Taking turns
The load balancer sends each new request to the next server in the cycle, so the arrivals rotate A, B, C. Over time that gives every server a similar share of requests, but a request count says nothing about how much work each one carries.
What you will learn
- Describe round robin and the fixed cycle it follows.
- Explain why equal request counts do not guarantee equal load.
- Explain how health checks remove a failed server, and why that removal is delayed.
- Compare weighted and least-connections routing, and state the limits of each.
Transcript
- Taking turns. The load balancer sends each new request to the next server in the cycle, so the arrivals rotate A, B, C. Over time that gives every server a similar share of requests, but a request count says nothing about how much work each one carries.On screen: Round robin sends each new request to the next server in a fixed cycle. Each highlight marks an arrival.
- Same count, different cost. Server C stays in the cycle, but each of its requests costs more work. Its load climbs until it becomes busy, then degraded, even though the rotation looks the same. Counting requests hides this, which is why balancers also watch capacity and health.On screen: The cycle is unchanged, but Server C's requests cost more, so it becomes busy and then degraded.
- Failed server still gets turns. Round robin keeps sending turns to Server B, and those requests fail. Health checks run on an interval and count failures before they remove a server, so removal is delayed. The timing shown here is illustrative.On screen: Server B has failed, yet it still receives its turns and returns errors until a health check removes it.
- Health check removes Server B. Each health probe to Server B gets no reply. After the failure threshold is reached, the balancer removes Server B from the rotation, and the remaining servers share the requests. How long this takes depends on the check interval and the failure threshold.On screen: Failed probes take Server B out of rotation, and the other two servers share its turns.
- Weighted and least-connections. A weighted scheme gives the smaller server a smaller share. Least-connections sends each request to the server with the fewest open requests. Both depend on figures that can be wrong or out of date, so neither guarantees equal work.On screen: A weight or open-request count can send Server C fewer requests, but only as well as those numbers reflect reality.
Sources
- Load Balancing in the Datacenter (Site Reliability Engineering book) (Google SRE) accessed 2026-11-25
- Implementing health checks (Amazon Builders' Library) accessed 2026-11-25
Under the hood
How a load balancer spreads requests across servers, why round robin can still overload one server, and how health checks and weights change the picture.
Trade-offs
- Round robin is simple and needs no load measurements, but it assumes that requests and servers are roughly alike.
- Weights or least-connections can reflect capacity and open work, at the cost of measurement, state and figures that can be wrong or out of date.
When not to use it
- There is only one server, so a balancer adds a hop and another component that can fail.
- Each user's session must stay on one server and no shared session storage exists; that needs affinity rules this lesson does not cover.
Limitations of this lesson
- Health check interval and failure threshold are not modelled. In real systems, a failed server can receive traffic until it is removed, and the length of that window depends on configuration.
- Animation timing is illustrative, not measured latency or throughput.
- Request cost is shown with a single label, not a real distribution of work.
- The balancer is one node here; its own redundancy and failure are out of scope.