5 load balancing interview questions, asked at Amazon, Stripe, Scale AI. Last asked Jul 2026.
Threshold-based database partition rebalancerCodingWrite a rebalancer for database partitions spread across nodes: when a node's load goes over a threshold, move partitions off it onto other nodes. Explain which partitions you…
Last asked Jul 2026
Design a highly available load balancerSystem designDesign a load balancer that stays up when its own machines fail: how traffic is spread across backends, how unhealthy backends are detected, and how the load balancer itself…
Last asked May 2026
Sticky load balancer for long-lived connectionsCodingSimulate a load balancer that routes long-lived WebSocket connections to several Jupyter servers. Process a sequence of requests such as CONNECT, DISCONNECT and SHUTDOWN: place…
Assign tasks to servers by weighted load with expiryCodingServers each have a maximum load. Tasks arrive in time order, each with a weight and a time to live. Before placing a task, release every earlier task whose time has run out…