Re: Save session information in Memory database

2011-09-09 Thread Ashish Kulkarni
What do you mean it will slow down? We have an application which saves about 5 MB of data in session when user is working with some portion of application, so when about 200 users login we go about 1 GB of ram and Tomcat starts running out of heap memory, as all the session data goes in heap

RE: Save session information in Memory database

2011-09-09 Thread Caldarale, Charles R
From: Ashish Kulkarni [mailto:ashish.kulkarn...@gmail.com] Subject: Re: Save session information in Memory database What do you mean it will slow down? You would be making requests across a wire rather than reads and writes to memory. we go about 1 GB of ram and Tomcat starts running out

Re: Save session information in Memory database

2011-09-09 Thread Ashish Kulkarni
database instead or conventional database Regards Ashish On Fri, Sep 9, 2011 at 10:50 AM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Ashish Kulkarni [mailto:ashish.kulkarn...@gmail.com] Subject: Re: Save session information in Memory database What do you mean it will slow

Re: Save session information in Memory database

2011-09-09 Thread Pid
[mailto:ashish.kulkarn...@gmail.com] Subject: Re: Save session information in Memory database What do you mean it will slow down? You would be making requests across a wire rather than reads and writes to memory. we go about 1 GB of ram and Tomcat starts running out of heap memory So what

Re: Save session information in Memory database

2011-09-09 Thread Ashish Kulkarni
] Subject: Re: Save session information in Memory database What do you mean it will slow down? You would be making requests across a wire rather than reads and writes to memory. we go about 1 GB of ram and Tomcat starts running out of heap memory So what stops you from configuring

Re: Save session information in Memory database

2011-09-09 Thread Bob Hall
From: Ashish Kulkarni ashish.kulkarn...@gmail.com To: Tomcat Users List users@tomcat.apache.org Sent: Friday, September 9, 2011 11:38 AM Subject: Re: Save session information in Memory database Hi I have inherited this application, and it was developed this way

Re: Save session information in Memory database

2011-09-09 Thread Ashish Kulkarni
: From: Ashish Kulkarni ashish.kulkarn...@gmail.com To: Tomcat Users List users@tomcat.apache.org Sent: Friday, September 9, 2011 11:38 AM Subject: Re: Save session information in Memory database Hi I have inherited this application, and it was developed this way, i dont have time and resources

Re: Save session information in Memory database

2011-09-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ashish, On 9/9/2011 10:22 AM, Ashish Kulkarni wrote: What do you mean it will slow down? Tomcat's JDBC-based session store serializes session objects in order to save them. Serialization takes time. Ergo, using an in-memory database will be slower

Re: Save session information in Memory database

2011-09-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ashish, On 9/9/2011 2:38 PM, Ashish Kulkarni wrote: I have inherited this application, and it was developed this way, i dont have time and resources to analyze this application to start removing data from session, so i am looking for ways to get

Re: Save session information in Memory database

2011-09-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ashish, On 9/8/2011 2:17 PM, Ashish Kulkarni wrote: Has anyone configured tomcat to save session information in memory database like java DB or hsqldb, I'm sure it can be done, as Tomcat provides org.apache.catalina.session.JDBCStore for use with