Skip to content

tomcat-cluster-redis-session-manager-1.1

Compare
Choose a tag to compare
@ran-jit ran-jit released this 19 Mar 16:39
· 114 commits to master since this release

Welcome to Tomcat 8 Redis session manager

Redis session manager is pluggable 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 single redis master and redis cluster based on the RedisDataCache.properties configuration.

Going forward, we no need to enable sticky session (JSESSIONID) in Load balancer.

Supports:

  • Apache Tomcat 8

Tomcat Redis Cluster Enabled Session Manager is available in below location

https://github.com/ran-jit/tomcat-cluster-redis-session-manager/wiki