Next

Session store

DesignEasy25 min

Your task

Design a session store for a web app that runs on several server instances behind a load balancer. After a user logs in, every subsequent request must know who they are. Sessions should expire after a period of inactivity. Describe where session data lives and how a request looks up the logged-in user fast.

It covers

  • Session store
  • Expiry
  • Stateless app