🌐Load Balancer
Also known as Load Balancing, Server Load Balancer
A box that hands out web traffic to many servers. Users see one address.
Think of it like
It is like a host at a busy cafe. She sends each new group to the waiter with the fewest tables.
Example
Lucy's shop runs on three servers behind a load balancer. One server crashes at lunch, and the balancer sends its traffic to the other two.
Why it matters
It is how a site grows past one server, and how it stays up when one breaks.
Definition
Common mistake
Key takeaways
- 1Spread the work. Requests go across many servers.
- 2Skip the sick. Health checks remove broken servers.
- 3One way in. Users see a single address.