Scale LineLesson
Load balancer
How a load balancer spreads requests over a pool of servers, how it notices a dead one, and when "take turns" isn't fair.
10 minEasyStation: Load balancerFree with an account
Sign in to start. It’s free, and your progress follows you to any device.
- Server capacity & scaling up
- Split app and database tiers
- Load balancer
- Horizontal scaling with a stateless tier
- Cache-aside
What you'll be able to do
- 1Predict per-server load when a load balancer fronts N servers.
- 2Explain how health checks take failed servers out of rotation.
- 3Choose between round-robin and least-connections when requests vary in cost.
Inside the lesson
- steps
- 7
- questions
- 8
- simulation
- 1
You guess first, then run the system and see if you were right.
More on the Scale Line
- Latency & percentilesOpen8 min
- Server capacity & scaling upFree with an account10 min
- Split app and database tiersFree with an account10 min
- Horizontal scaling with a stateless tierFree with an account10 min
- Cache-asideFree with an account10 min
- Object storage for user filesMembers10 min
- A CDN for the files everyone wantsMembers12 min
- Read replicas for a read-heavy appMembers11 min