Performance and scalability: Storing sessions in database in a tomcat server farm

  1. 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.
  2. 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++