System Design Interview Question: How Does Load Balancing Work?
Short answer: a load balancer spreads incoming requests across multiple servers so no single server is overloaded, and routes around servers that fail health checks. Layer 4 vs Layer 7 L4 (transport) : routes TCP/UDP connections by IP and port. Very fast, prot...