All challenges
Multiple ChoiceBeginner 45s

Stateless services and sticky sessions

Why do horizontally scaled stateless web services generally avoid sticky sessions?
Options
  1. 1Because session state stored in a node's memory cannot be served by other nodes after a failover or scale event
  2. 2Because the load balancer would hash on the client IP, which shifts behind NAT and corporate proxies
  3. 3Because HTTP is connectionless by design and therefore cannot persist cookie state across separate requests
  4. 4Because binding a client to one node would permanently double that node's memory footprint for every request

Think you can answer under pressure?

Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.

Play this in a 3-minute battle