Një load balancer shpërndan trafikun hyrës nëpër një grup server-ash backend që asnjë i vetëm të mos mbingarkohet dhe sistemi të mbetet i disponueshëm nëse një server bie. Dallimi thelbësor është shtresa në të cilën vepron:
L4 (Transport) L7 (Application)
routes by IP + port only reads HTTP: path, headers, cookies, host
┌──────────────┐ ┌──────────────┐
│ balancer │──▶ server A │ balancer │ /api/* ──▶ API pool
│ (TCP/UDP) │──▶ server B │ (HTTP-aware) │ /img/* ──▶ static pool
└──────────────┘──▶ server C └──────────────┘ cookie=X ──▶ sticky backend
fast, opaque, protocol-agnostic smart routing, TLS termination, can inspect
