Session storage

Session storage notes and considerations

Published: Friday, 23 October 2020
By:
  • Jurn Ho

A session storage server is responsible for storing active users’ data while they are using the application.

By offloading session data to a session storage server, it allows the application nodes to

  • scale horizontally without the need for sticky sessions or session affinity at the load balancer.
  • terminate nodes without waiting for sessions to drain.
  • terminate nodes without losing user sessions.
  • free up memory that would have otherwise been used for session data.

This means the application instances must now access the session storage server to

  • create a session
  • determine if a session is active
  • read session data
  • update session data
  • terminate a session