Glossary · Web Development

Load Balancing

lohd BAL-un-singnoun

Load balancing is the practice of distributing incoming traffic across multiple servers so no single server becomes overwhelmed.

Part of speech
noun
Pronunciation
lohd BAL-un-sing
Origin
From 'load,' the amount of work, and 'balance.' A networking practice that spreads traffic evenly, established in the client-server era.

What is Load Balancing?

Load balancing is the practice of distributing incoming network traffic across multiple servers so that no single machine becomes overwhelmed. Instead of pointing every visitor at one server, a load balancer sits between clients and a pool of identical servers and hands each request to whichever member is best able to handle it. The result is a system that stays responsive under heavy demand and keeps working even when an individual server fails.

Mechanically, a load balancer is a piece of software or hardware that receives requests at a single public address and then forwards them to backend servers according to a chosen strategy. Round robin sends requests to each server in turn. Least connections favors the server currently handling the fewest active sessions. Other methods weight servers by capacity or route based on the client's location or a hash of its address. Crucially, the balancer runs health checks: it periodically probes each backend, and when one stops responding it quietly removes that server from rotation and continues sending traffic only to the healthy members. Some balancers also maintain session affinity, keeping a given user pinned to the same server when an application needs that continuity.

The term joins load, meaning the amount of work a system must perform, with balance, the act of distributing weight evenly. The practice took shape in the client-server era, as popular websites outgrew what one machine could serve and operators needed a way to pool several servers behind a single front door. It has since become a foundational part of nearly every large-scale web architecture, from on-premise data centers to managed cloud services.

For a business, load balancing translates directly into reliability and speed, two things customers notice immediately. A site that stays fast during a traffic spike, a product launch, or a marketing campaign captures sales that a slow or crashed site would lose. Because the balancer can route around a failed server, planned maintenance and unexpected hardware faults no longer force downtime. Load balancing also enables horizontal scaling: when demand grows, an operator adds more servers to the pool rather than buying one ever-larger machine, which is usually cheaper and more resilient.

The common misunderstanding is treating load balancing as a cure for every performance problem. It spreads work across servers, but it cannot fix a slow database that all those servers share, and adding capacity behind the balancer will not help if the bottleneck lives elsewhere. Session handling is another frequent stumbling block: if an application stores user state in one server's memory rather than in a shared store, distributing requests can log people out or lose their carts unless affinity is configured carefully. Load balancing also overlaps with adjacent tools. A reverse proxy often performs balancing as one of its duties, rate limiting can run at the same layer to throttle abusive traffic, and automated deployment pipelines rely on the balancer to shift traffic during rolling updates. Viewed as one component of a resilient, well-instrumented infrastructure rather than a standalone fix, load balancing is what allows a website to grow and stay dependable as its audience expands.

Why it matters

Load balancing keeps a site fast and available under heavy traffic, preventing the crashes that cost sales and rankings.