ClientsbalancerServer 10Server 20Server 30
Request log
Press play…
AlgoPlus//structures / load-balancing
Read the theory

Load Balancing

How a load balancer spreads incoming requests across backend servers.

Strategy
Round Robin
Servers
4
Active load
0
Imbalance
0
Strategy
Legend
Request being routed
Request completing
Server load
Server DOWN (failover)
AI Tutor Workspace
In a nutshell
A load balancer sits in front of a pool of identical backend servers and spreads incoming requests across them so none gets overwhelmed. A strategy decides where each request goes — round-robin takes the next server in turn, least-connections picks the least busy. Health checks quietly probe each server and pull any that stops responding out of rotation.
Ready
Press play to begin the cinematic walkthrough.
A load balancer is a traffic cop for requests — the strategy decides which server each request goes to, and a good one keeps every server evenly busy.
Key terms
Go deeper in the lesson
Read the full theory, intuition & complexity for Load Balancing.