Performance and scalability: Storing sessions in database in a tomcat server farm
Hi, Is there a way to store sessions in a common database across the servers of a farm in tomcat 6? As far as I understood, the sessions can be persisted into databases in a apache/tomcat farm, however still the servers propagate the sessions to eachother using multicast, and each server still keeps the sessions in memory. (Which I believe may be an overhead in large farms.) What I ask is that, each server doesn't keep the sessions in memory but get the sessions from a common database. (Similar to session keeping the sessions on a state server, or database server) in asp.net.
- Posted by: Onur Agin
- Posted on: June 23 2009 03:23 EDT
- Re: Storing sessions in database in a tomcat server farm by Cameron Purdy on June 30 2009 11:38 EDT
Check out the Coherence*Web session management module, which provides Tomcat session support for server farms. Peace, Cameron Purdy Oracle Coherence: Data Grid for Java, .NET and C++