An instance pool can scale in and terminate web servers. Which application design helps prevent users from losing their sessions when one instance is removed?

Published
  1. Disable all load-balancer health checks
  2. Assume autoscaling copies arbitrary process memory to another instance
  3. Store every session only in the oldest instance's memory
  4. Store required session state in an appropriate shared service rather than only on one server

Comments — 0