tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: serializing session in DB
Date Mon, 02 Mar 2009 17:23:34 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Amit,

On 2/28/2009 9:02 PM, Amit Chandel wrote:
> 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).

Wow, does this thing scale? 5 GB of session data is a /lot/. Have you
considered using either db-backed sessions (that is, writing everything
to the database instead of keeping it in memory) or having your
application itself store things in the db instead of the session?

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkmsFhYACgkQ9CaO5/Lv0PCK3wCdFKK3UW36VBjJuO/TgjmIQWoT
YusAoJ1WNgnn7nnAul84qJ8E7MHHPlJB
=G8Kk
-----END PGP SIGNATURE-----

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


Mime
View raw message