Networking · 5 min read · 1 December 2026

What Is a Load Balancer? How Traffic Is Spread Across Servers and Internet Links

A load balancer spreads traffic across servers or internet links for speed and uptime. Layer 4 vs layer 7, balancing methods, health checks and multi-WAN.

A load balancer distributes incoming traffic across several servers or links so that no single one is overloaded, and it stops sending traffic to any that fail. The result is better performance and higher availability for websites, applications and internet connections.

Server load balancing

Users connect to one address, the load balancer, which forwards each connection to one of several servers behind it. If a server stops responding to health checks, it is taken out of the pool until it recovers.

TypeDecides usingTypical use
Layer 4IP addresses and TCP/UDP portsFast, protocol-agnostic balancing of any service
Layer 7HTTP content: host name, path, headers, cookiesWeb applications, TLS termination, routing by URL

Common balancing methods

  • Round robin: each new connection goes to the next server in turn.
  • Least connections: the server with the fewest active connections gets the next one.
  • Weighted: stronger servers receive a bigger share.
  • Source hash or session persistence: a user keeps going to the same server, needed by some applications.

Internet link (multi-WAN) balancing

A gateway with two or more internet connections can spread outgoing traffic across them and fail over when one goes down. Balancing is per connection or per session, so a single download still uses one link; the benefit is more total capacity for many users and continuity when a provider fails. Pair it with a backup such as 4G/5G for sites that cannot go offline. Navijin secure internet gateways and gateway controllers support multiple WAN links with failover.

Load balancing vs redundancy

Load balancing uses several resources at the same time; redundancy keeps a standby ready. Many designs combine both: two load balancers in an active/standby pair, each balancing across many servers. For the network side, see gateway redundancy with VRRP and link aggregation, which balances traffic across several cables between switches.

FAQ

Frequently asked questions

What does a load balancer do?

It spreads incoming connections across several servers or links and stops using any that fail health checks, improving speed and availability.

What is the difference between layer 4 and layer 7 load balancing?

Layer 4 decides by IP address and port only. Layer 7 understands HTTP and can route by host name, URL path or cookies, and can terminate TLS.

Does multi-WAN load balancing make one download faster?

Usually not, because each connection uses one link. It increases total capacity for many users and keeps the site online if one provider fails.

Is link aggregation the same as load balancing?

It is a form of it between two switches or a switch and a server: several cables act as one link, and traffic is spread across them by flow.

Need help designing your network?

Navijin engineers provide free design consultations, bills of materials and quotations for business projects.