Back to blog

Load Balancing Fundamentals

### What is a Load Balancer?

A Load Balancer acts as a traffic cop, sitting in front of your servers and routing client requests across all servers capable of fulfilling them in a manner that maximizes speed and capacity utilization.

### Key Benefits

- **Prevents Overload:** Ensures no single server bears too much demand. - **High Availability:** If a server goes down, the load balancer redirects traffic to the remaining online servers. - **Flexibility:** Allows you to seamlessly add or remove servers from your cluster based on demand without clients noticing.

Load balancers can operate at Layer 4 (Transport layer - TCP/UDP) or Layer 7 (Application layer - HTTP/HTTPS) of the OSI model.

Load Balancing Fundamentals - Image 1
Load Balancing Fundamentals - Image 2