Black Friday: 60% off yearly plans with code BF2026, until November 30. See the deal

Glossary

Load balancer: spreading traffic across servers

A load balancer distributes incoming traffic across multiple servers or other targets and sends requests only to the ones that are healthy. It is the single point of contact for clients, which increases availability and lets you add servers without changing the address.

The short answer
  • Clients talk to one address. The load balancer picks a healthy target for each request.
  • Health checks take failing servers out of rotation automatically.
  • Application (layer 7) balancers can route by URL path, host name or header.

What are the parts of a load balancer?

Terms used by the AWS Application Load Balancer. Other products use similar concepts under different names.

Listener

Checks for connection requests on a configured protocol and port and applies rules that decide where to send them.

Target group

A set of servers, containers or IP addresses that receive requests for a rule.

Health check

A periodic request to each target. Only healthy targets receive traffic.

Routing algorithm

AWS defaults to round robin and also offers least outstanding requests.

TLS termination

An HTTPS listener can hold the certificate and decrypt requests before they reach targets.

Rules

Conditions such as path, host, header, method or source IP choose the target group.

What if every target fails?

AWS load balancers fail open: if all targets in all enabled zones fail health checks, traffic goes to all of them anyway. A single failing dependency can therefore take down every target together. Check how your own product behaves.

Common questions

What is the difference between a load balancer and a reverse proxy?

A reverse proxy forwards client requests to backend servers and can cache, filter or terminate TLS. A load balancer is a reverse proxy role that spreads requests over several servers. Many products, including nginx, do both.

What does a load balancer do when a server goes down?

It marks the target unhealthy after a set number of failed health checks and stops sending it requests. In the AWS default, two consecutive failures take a target out of service and five consecutive successes bring it back.

Does a load balancer remove the single point of failure?

Only if the load balancer itself is redundant. Managed cloud load balancers run across multiple zones. A single self-managed balancer VM is still one point of failure, so run a pair or use a managed service.

Watch your domains automatically

Aepto monitors expiry, DNS, SSL and uptime for every domain you own and alerts you when something changes. Free for 3 domains.