All Questions
Caching medium

Why is 'Sticky Sessions' (Load Balancer affinity) considered less scalable than a 'Shared Session Cache' (Redis)?

  1. A Sticky sessions require the deployment of specialized, high-cost hardware load balancers that often lack modern cloud auto-scaling support.
  2. B Sticky sessions couple a client to a specific server; if that instance fails or scales down, the active user session data is permanently lost.
  3. C Shared session caches are inherently slower and more operationally expensive to maintain than local in-memory storage on each individual web server.
  4. D The use of sticky session affinity prevents the load balancer from terminating HTTPS connections and inspecting the encrypted request headers.

One system design question a day, with spaced repetition so the ones you miss come back.

Get the app

Related questions