
How Load Balancers Work
How traffic is spread across servers, and what happens when one dies
What you'll learn
- How a load balancer spreads requests
- Round robin vs least connections
- Health checks and surviving a server failure
- Keeping sessions in a shared store like Redis
In this video, we'll look at what happens when one server can't keep up, and how a load balancer spreads requests across several servers. We'll cover round robin, least connections, health checks, and how a load balancer keeps your app running when a server goes down.
We'll also look at sessions, why a shared store like Redis helps, and popular load balancers like NGINX, HAProxy, and AWS Application Load Balancer.



