Skip to content
Ranjith Manickam edited this page Dec 23, 2020 · 38 revisions

Welcome to the Tomcat Clustering Redis Session Manager wiki!

The Redis session manager is a pluggable one. It stores session into Redis for easy distribution of HTTP requests across a cluster of Tomcat servers.

Here the Sessions are implemented as non-sticky (means, each request can able to go to any server in the cluster, unlike the Apache provided Tomcat clustering setup.)

Request Sessions will be stored into Redis immediately (Session attributes must be Serializable), for the use of other servers. When tomcat receives a request from the client, Sessions are loaded directly from Redis.

Supports Redis default, sentinel, and cluster mode, based on the configuration.

Going forward, we no need to enable sticky sessions (JSESSIONID) in Load Balancer.

Tomcat Cluster :: Redis Session Manager

Session objects in Redis

Supports:

  • Apache Tomcat 7
  • Apache Tomcat 8
  • Apache Tomcat 9
  • Apache Tomcat 10

Downloads: Total Downloads

Supports:

  • Apache Tomcat 7
  • Apache Tomcat 8
  • Apache Tomcat 9
  • Apache Tomcat 10

Downloads: Total Downloads

Clone this wiki locally