System Design
8. Load Balancing and ScalabilityAnimated
Active-Passive Load Balancing
One live balancer and a standby.
The idea
The standby takes over via failover when the active one fails.
Watch it work
Press play, pause, or step through. Some animations have settings you can change.
- client
- gateway / proxy
- service
- cache
- data store
- queue / stream
Only the active node serves traffic.
- step:
- 1/4
- at:
- Clients
1/11
The green dot is a request moving through the system.
Step by step
- 1Active handles traffic
- 2Standby monitors it
- 3On failure the standby takes over the address
- 4Traffic continues
Where it is used
Simple high availability.
Watch out for
The standby capacity sits idle.