Skip to content
Glossary · Hosting and delivery

Load balancer

Definition

A service that spreads incoming traffic across several servers, and stops sending traffic to any that fail their health checks.

Last updated

What it is.

Users connect to the load balancer, not to a server. It picks a healthy server for each request, using rules such as round robin or least connections, and checks each server regularly. If one stops answering, traffic goes to the others.

Some load balancers work at the network level and pass connections through. Others work at the HTTP level and can route by path or host name, handle HTTPS and add headers.

Why it matters

A load balancer is what lets you run more than one server, which is the base for autoscaling, zero-downtime releases and surviving a server failure. Without one, a single server is a single point of failure.

In a product build

We put a managed load balancer in front of app servers from the first production deploy, give each service a real health check that tests its dependencies lightly, and use it to drain traffic before releases.

Watch out

Common mistakes.

  1. 01

    Health checks that always pass, so broken servers still get traffic.

  2. 02

    Keeping user sessions in server memory, so users get logged out when they hit another server.

  3. 03

    A single load balancer in one zone, which moves the single point of failure rather than removing it.

Related

Related terms.

Building something with this? Ask an engineer.

OceanLab designs and builds production software. Tell us what you are planning and we will reply with how we would approach it.

OceanLab

Enterprise Software Engineering - Human + AI

Languages

Locations

Global Headquarters

21 Merchant Road, 3rd Floor, Singapore 058267

Main corporate office and leadership operations

North America Office

548 Market Street, PMB 12472, San Francisco, CA 94104

Client operations and business development

India Office

402 Shivalik Shilp II, SG Highway, Ahmedabad 380015

Engineering and delivery center

© 2026 - Copyright. All Rights reserved OceanLab