HttpSessionStore instead of the default SecondLevelCacheSessionStore

2009-09-15 Thread Eyal Golan
Hi, I read this post http://ptrthomas.wordpress.com/2009/09/14/perfbench-update-tapestry-5-and-grails/ and he suggested to use HttpSessionStore instead of the second cache... I looked into the javadoc and the code itself and understood the differences. However, can anyone explain in a bit more

Re: HttpSessionStore instead of the default SecondLevelCacheSessionStore

2009-09-15 Thread Matej Knopp
There really is no good reason to use http session store instead of secondlevelcachesessionstore unless you are experiencing performance problems. HttpSessionStore uses more memory and keeps much shorter history so your users will be experiencing page expiration much more often. -Matej On Tue,

Re: HttpSessionStore instead of the default SecondLevelCacheSessionStore

2009-09-15 Thread Johan Compagner
And that back and forward buttons in the browser dont really work well in the HttpSessionStore But i cant believe that the overhead he is reporting is really the overhead.. It could be an Antivirus checker or other stuff like that. Besides that if that would be a problem just get an SSD and

Re: HttpSessionStore instead of the default SecondLevelCacheSessionStore

2009-09-15 Thread Matej Knopp
Well, there are two kinds of overhead with SecondLevelCacheSessionStore. Object serialization and writing to disk. I can imagine antivirus interfering with the writing. -Matej On Tue, Sep 15, 2009 at 11:25 AM, Johan Compagner jcompag...@gmail.com wrote: And that back and forward buttons in the

Re: HttpSessionStore instead of the default SecondLevelCacheSessionStore

2009-09-15 Thread Peter Thomas
On Tue, Sep 15, 2009 at 3:03 PM, Matej Knopp matej.kn...@gmail.com wrote: Well, there are two kinds of overhead with SecondLevelCacheSessionStore. Object serialization and writing to disk. I can imagine antivirus interfering with the writing. I did mention in comment #2 under the blog post

Re: HttpSessionStore instead of the default SecondLevelCacheSessionStore

2009-09-15 Thread Eyal Golan
Thank you all. This thread was very informative and educated. Peter, I will try the two suggestions you've mentioned. Eyal Golan egola...@gmail.com Visit: http://jvdrums.sourceforge.net/ LinkedIn: http://www.linkedin.com/in/egolan74 P Save a tree. Please don't print this e-mail unless it's