the.com/load balancing
the art of not letting one server die of exhaustion while its neighbors nap.
means a system that spreads incoming traffic across multiple servers so no single one gets overwhelmed and everyone stays fast and alive.
from emerged in the 1990s as websites outgrew single machines, borrowing the term from electrical grid engineering, where load balancing meant distributing power demand across generators.
algorithms usedround robin, least connections, weighted, random
health checkspings servers constantly, quietly retires the dying ones
sticky sessionssometimes forces same user to same server
failure modethe balancer itself becomes the bottleneck