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
45 practiced

Describe an end-to-end connection draining strategy for a deployment where the traffic mix includes both short HTTP requests and long-lived WebSocket connections, from the moment an instance is marked for removal to the point it's safe to terminate. How would you measure and validate a safe drain duration in staging before trusting it in production?

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?

MediumTechnical
47 practiced

A client asks you to choose between a managed cloud load balancer (like AWS ALB/NLB), an open-source proxy (NGINX/HAProxy), and an Envoy-based service mesh. Build a selection rubric covering scalability, supported protocols and features, management overhead, and cost, and recommend an approach for a 200-service enterprise.

EasyTechnical
38 practiced

Explain the differences between the common rate-limiting algorithms: fixed window, sliding window, token bucket, and leaky bucket. For each, describe a typical use case, its strengths and weaknesses, and how it handles bursts and fairness across clients.

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?

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.