-
Notifications
You must be signed in to change notification settings - Fork 209
Home
Ranjith Manickam edited this page Dec 23, 2020
·
38 revisions
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.
- Apache Tomcat 7
- Apache Tomcat 8
- Apache Tomcat 9
- Apache Tomcat 10
Ranjith Manickam | www.ranmanic.in @ 2019