LOAD BALANCERS
One forwards blind.
One reads the path.
BOTH ARE CALLED A LOAD BALANCER
A load balancer sits in front of your servers and picks one per request.
LAYER 4 TRANSPORT
CLIENT
BALANCER
picks by IP and port
SERVER 1
SERVER 2
SERVER 3
It picks a server before it knows what you asked for.
LAYER 7 APPLICATION
CLIENT
BALANCER
reads path + headers
/API
/STATIC
/VIDEO
It reads the path first — so /api and /video go different places.
L4 — never opens the packet.
Picks by IP and port alone.
L7 — opens every request.
Picks by path and headers.
One forwards blind.
One reads the path.
Save this before your
next design review.