Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

When running in a cluster the sessions are read, deserialized, serialized and then written to the Redis on each request. This introduces overhead when compared to storing sessions in the Runtime memory. On the other hand, given a limited amount of memory, storing sessions in Redis has the advantage that not all sessions have to be present in the Runtime memory at the same time, only sessions associated with the requests executing at a particular moment. The following scatter plot illustrates the expected performance as average response time depending on the number of concurrent users (requests):

The actual numbers for response time vs and number of users will vary from application to application. The plot highlights the following key points:

...