# Load Balancer

> A box that hands out web traffic to many servers. Users see one address.

**Field:** Infrastructure  
**Category:** Networking  
**Also known as:** Load Balancing, Server Load Balancer

## 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.

## Definition

A load balancer spreads incoming requests across a group of servers. Users reach one address, and the balancer picks a server for each request. It can take turns, or pick the server with the least work. It runs health checks and stops sending traffic to a server that fails. So you can add a server, or lose one, and users do not notice.

## 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.

## Common mistake

Running one load balancer with nothing ready to take its place. If it fails, the whole site goes down with it.

## Three principles

- **Spread the work.** Requests go across many servers.
- **Skip the sick.** Health checks remove broken servers.
- **One way in.** Users see a single address.

## Related terms

- [Health Check](https://learn.benibix.com/term/infrastructure/health-check)
- [High Availability (HA)](https://learn.benibix.com/term/infrastructure/high-availability)
- [Proxy Server](https://learn.benibix.com/term/infrastructure/proxy-server)
- [Reverse Proxy](https://learn.benibix.com/term/infrastructure/reverse-proxy)
- [Horizontal Scaling](https://learn.benibix.com/term/development/horizontal-scaling)
- [Kubernetes Service](https://learn.benibix.com/term/infrastructure/kubernetes-service)
- [Failover](https://learn.benibix.com/term/infrastructure/failover)

## Told apart from

- [Load Balancer vs Reverse Proxy](https://learn.benibix.com/compare/load-balancer-vs-reverse-proxy): People think a load balancer and a reverse proxy are two different kinds of server, and very often they are one and the same. A reverse proxy takes each request and passes it to a server behind it. A load balancer is a reverse proxy that shares the work across many servers. Nginx can do both jobs. With just one app server behind it, there is no load to share.

## Taught in

- [Proxies and Load Balancers](https://learn.benibix.com/learn/infrastructure-networking/proxies-and-load-balancers): Computer Networking, 13/13

![Two pictures side by side. On the left, three users send their requests through a forward proxy, which passes them on to the internet, so websites see only the proxy. On the right, many users on the internet reach one load balancer, which shares their requests across three servers behind it.](https://learn.benibix.com/diagrams/inf2-proxy-balancer.svg)

---

Source: https://learn.benibix.com/term/infrastructure/load-balancer
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-19
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
