tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Amit Chandel <amitchan...@gmail.com>
Subject serializing session in DB
Date Sun, 01 Mar 2009 02:02:14 GMT
Hi Group,

I am trying to deploy a tomcat cluster. I was able to set up a test
tomcat cluster using in-memory replication with version 6.0.10, but my
session data is too much (almost 5 GB per tomcat instance, and using 2
nodes in cluster both instances will require 10GB of RAM to hold
session data). So I fall back on storing session in database for which
I used Persistent Manager and JDBCStore. But the problem is that its
not full proof HA. The sessions are only persisted when they become
idle or during graceful shutdown of the tomcat. Is there a way to
persist the session in DB before the request gets served (as it
happens for in-memory replication).

Thanks,
Amit

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message