What load balancing actually does
A load balancer sits between clients and a pool of backend servers, deciding which server handles each incoming request. Its three jobs:
- Distribute work so no single server is overloaded while others idle.
- Hide failures: if a backend dies, the LB stops sending it traffic.
- Decouple addressing โ clients only know one endpoint, even if backends come and go.
The payoff is horizontal scaling. Add a server to the pool, it absorbs a slice of traffic immediately. Lose a server, traffic redistributes. Without a load balancer, every backend change requires touching every client.
