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.

MediumSystem Design
41 practiced

Design a plan to migrate a stateful web application away from sticky sessions to a stateless architecture. Compare an external session store (for example Redis or DynamoDB), signed JWTs, and client-encrypted cookies, weighing latency, security (revocation), and operational complexity. What rollout and rollback plan would you use to do this without a downtime or data-loss incident?

MediumTechnical
37 practiced

A downstream service starts returning intermittent errors, and your clients retry aggressively, overloading other components as a result. What is your immediate mitigation plan to stop the cascade, and what architecture changes would you make afterward to prevent it recurring?

HardTechnical
46 practiced

Root cause analysis exercise: after a partial outage, your system experienced a retry storm and cascading failures. Lay out a postmortem plan: what logs, metrics, and traces would you collect, how would you determine the source of the retries, and what short-term and long-term controls would you add to prevent recurrence?

HardTechnical
45 practiced

Compare connection management for HTTP/2 and gRPC traffic behind a Layer 7 load balancer: long-lived multiplexed connections versus ephemeral short-lived ones. How does connection pooling and multiplexing change throughput and resource usage compared to HTTP/1.1 keep-alive, what per-connection limits would you tune, and how should the load balancer measure load and apply backpressure to avoid head-of-line effects?

EasyTechnical
43 practiced

Explain consistent hashing in the context of traffic distribution and distributed caches. Describe the hash ring, why virtual nodes are used, and how it minimizes remapping compared to plain modulo hashing when a node is added or removed. Walk through a small example.

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.