System Design
8. Load Balancing and ScalabilityAnimated
Software Load Balancers
Load balancing in software on commodity servers.
The idea
NGINX, HAProxy and Envoy run on normal machines or containers and scale out cheaply.
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
Software on ordinary servers or containers.
- step:
- 1/3
- at:
- Clients
1/7
The green dot is a request moving through the system.
Step by step
- 1Deploy the balancer software
- 2Configure upstreams
- 3Add health checks
- 4Scale the balancers themselves
Where it is used
Cloud and container platforms.
Watch out for
You must operate and patch them.