-
Notifications
You must be signed in to change notification settings - Fork 209
Home
Redis session manager is plug-gable one. It uses to store sessions into Redis for easy distribution of HTTP Requests across a cluster of Tomcat servers. Sessions are implemented as as non-sticky i.e, each request is forwarded to any server in round-robin manner.
The HTTP Requests session setAttribute(name, value) method stores the session into Redis (must be Serializable) immediately and the session getAttribute(name) method request directly from Redis. Also, the inactive sessions has been removed based on the session time-out configuration.
It supports, both redis stand-alone and multiple node cluster based on the redis-data-cache.properties configuration.
Going forward, we no need to enable sticky session (JSESSIONID) in Load balancer.
- Apache Tomcat 7
- Apache Tomcat 8
- Apache Tomcat 9
Ranjith Manickam | www.ranmanic.in @ 2019