Load Balancing

Sticky session tradeoff

A legacy service keeps user-specific cache only in process memory. The ops team wants cookie-based sticky sessions on the load balancer. Explain what problem stickiness solves, what breaks on instance failure, and what you would rather do for a greenfield design.

Intermediate drill question.

Write it as you would say it in the interview: assumptions, the design, tradeoffs, and what you would do next. The draft saves in this browser.

Review the lesson