tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adib <>
Subject Re: Understanding the Persistent Session Manager
Date Tue, 25 Jan 2011 12:35:25 GMT
Thanks for the link that was useful. So the key idea to understand is
that there is a background thread that does all the cleanup and this
background thread executes on a timer not on very request arriving a
the server.

I am surprised at the limitations of the Persistent Manager it's that
it should be an easy thing to backup and load sessions on every
request. Is there something about how tomcat is implemented that makes
implementing persistence on load and save difficult?


On Tue, Jan 25, 2011 at 4:24 AM, Reinwald Warapen
<> wrote:
> On 1/25/2011 5:02 PM, Adib wrote:
>> Hi,
>> I am trying to understand the settings on the persistent session
>> manager on tomcat 6 and 7. It seems that the persistent session
>> manager is primarily meant for the purpose of swapping IDLE sessions
>> to persistent storage and then hope that they expire, I can see the
>> value of this given that many users abandon sites without logging out.
>> It also seems that the persisent manager is not designed to persist
>> every session at the end of every request so that at the start of
>> every request the session is read from the store and the end of the
>> request the session is written to store, is this understanding
>> correct.
>> I have also been puzzling over the meanings of maxIdleSwap vs.
>> maxIdleBackup not sure why these two settings exist or what is
>> difference between them and the practical use case for them? It is
>> clear to me what the idle session is but  what is meant by backup and
>> how is it different than a swap?
>> Thanks
>> Adib
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail:
>> For additional commands, e-mail:
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message