Load Balancing and Traffic Management Questions

Distributing requests across capacity: load-balancing algorithms (round-robin, least-connections, consistent hashing), L4 versus L7 balancing, health checks, and traffic shaping. Covers sticky sessions, canary and blue-green routing, rate limiting, and graceful draining. The traffic-distribution layer that keeps a scaled system balanced and available.

MediumTechnical
41 practiced

Compare consistent hashing and rendezvous (highest-random-weight) hashing. How does each handle node addition and removal, what is the cost of rebalancing, and which would you use for cache routing versus partitioned storage with heterogeneous node weights?

EasyTechnical
48 practiced

Explain active versus passive health checks used by load balancers and service discovery. For each, describe typical probe frequency, example probes for HTTP, gRPC, and TCP, and how each affects failover decisions. What's a good strategy for combining them in production to reduce false positives?

MediumSystem Design
38 practiced

Design a monitoring and alerting setup for a load balancer tier so you catch unhealthy backends before users see errors. Which metrics would you include and why, what alert thresholds would you propose, and how would you differentiate severity to avoid alert fatigue?

HardTechnical
40 practiced

Implement a consistent hashing ring that supports weighted, heterogeneous-capacity backends: add_node(node_id, weight), remove_node(node_id), and get_node(key). Explain how you map weight to a number of virtual nodes without creating an excessive number of them for very large weights, and show a small example demonstrating minimal key movement when a node is added or removed.

MediumTechnical
36 practiced

How does weighted round robin differ from applying weights to least-connections? Sketch how you would distribute requests proportional to backend weight under each approach, and describe when you would adjust weights dynamically, for example during autoscaling or when an instance is degraded.

Unlock Full Question Bank

Get access to all Load Balancing and Traffic Management interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.