Interview Prep/Networking/Load Balancers, Proxies & CDNs

What is a load balancer and why do we use one?

BeginnerConceptLoad Balancers, Proxies & CDNs
Answer

It distributes incoming traffic across several backends to improve availability, scale horizontally, enable zero-downtime deploys and hide backend failures through health checks. It also gives one stable endpoint while instances come and go.

Types by layer: L4 (TCP/UDP) and L7 (HTTP-aware).

All Networking questions Roadmap: Networking for DevOps

More on Load Balancers, Proxies & CDNs