Load Balancing: L4/L7, Algorithms, Consistent Hashing
How traffic is spread, why algorithms fail in surprising ways, consistent hashing with virtual nodes, health checks, LB tiers, long-lived connections and draining.
About 80 minutes · 15 exam questions · 9 interview questions · 2 code labs
What you will learn
- What a load balancer does: L4 vs L7
- Balancing algorithms and where each breaks
- Consistent hashing with virtual nodes
- Sticky sessions (session affinity): convenience vs balance
- Health checks, outlier detection and slow start
- LB tiers, failover and not being the bottleneck
- Long-lived connections: gRPC, HTTP/2 and WebSockets
- Connection draining and zero-downtime deploys
- Load balancing in interviews: what to say and numbers to know