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).
More on Load Balancers, Proxies & CDNs
What is the difference between L4 and L7 load balancing?IntermediateCompare ALB, NLB, GWLB and Classic Load Balancer in AWS.IntermediateWhat load-balancing algorithms are common?BeginnerWhat are health checks and how should they be designed?AdvancedWhat is connection draining (deregistration delay)?IntermediateWhat are sticky sessions and what are the drawbacks?Intermediate