Cloud, security & IT

What is a load balancer?

A load balancer sits in front of several servers and distributes incoming requests among them, so no single server is overwhelmed and the service keeps working if one server fails.

What it does

Routes traffic using rules such as round robin or least connections, checks server health and stops sending traffic to failed ones, often terminates HTTPS, and enables zero-downtime deployments by moving traffic gradually.

When you need one

When one server is no longer enough, or when downtime from a single failure is unacceptable. Cloud providers offer managed load balancers that scale automatically.

Questions, answered

Usually not. A CDN and a single well-sized server cover most small sites.

CDNs spread traffic across their own edge servers and can balance between origins, but they serve a broader purpose.

By the Stegnor team · Updated