RE: [PATCH] When Session Max reached, throw out oldest session

2002-06-19 Thread andre . powroznik
It may be configurable, to allow both choices? André -Original Message- From: GOMEZ Henri [mailto:[EMAIL PROTECTED]] Sent: 19 June 2002 10:26 To: Tomcat Developers List Subject: RE: [PATCH] When Session Max reached, throw out oldest session >Agreed... If we start invalidating sessi

RE: [PATCH] When Session Max reached, throw out oldest session

2002-06-19 Thread GOMEZ Henri
>Agreed... If we start invalidating sessions when too much memory is >"wasted", I'm going to choose a different servlet engine for >my 10m req/day >site... :) If I define that a session has a timeout, I want >that timeout to >be _real_ and if I run into memory problems, well, that's my >problem

Re: [PATCH] When Session Max reached, throw out oldest session

2002-06-18 Thread Kief Morris
Michael E. Locasto typed the following on 08:00 PM 6/18/2002 -0400 >I've done a bit of thinking and came up with a mechanism that might >solve both issues of wasted memory and "lost" users. It involves >persistent storage of "retired" sessions, so if this is actually how >LRUMap or the session Man

Re: [PATCH] When Session Max reached, throw out oldest session

2002-06-18 Thread Pier Fumagalli
Agreed... If we start invalidating sessions when too much memory is "wasted", I'm going to choose a different servlet engine for my 10m req/day site... :) If I define that a session has a timeout, I want that timeout to be _real_ and if I run into memory problems, well, that's my problem, not your

Re: [PATCH] When Session Max reached, throw out oldest session

2002-06-18 Thread Denis Benoit
It may not be as easy as it seems. We don't need to preserve only the session ID, but any data that has been put in the session. And I don't think there is a requirement in the specs for the data to be serializable. So a session that may have been "pushed" into secondary memory, may not, in cer

Re: [PATCH] When Session Max reached, throw out oldest session

2002-06-18 Thread Michael E. Locasto
memory to bring the session back in. Thoughts? Regards, Michael - Original Message - From: "Michael E. Locasto" <[EMAIL PROTECTED]> To: "Tomcat Developers List" <[EMAIL PROTECTED]> Sent: Tuesday, June 18, 2002 7:40 PM Subject: Re: [PATCH] When Session Max reached, th

Re: [PATCH] When Session Max reached, throw out oldest session

2002-06-18 Thread Michael E. Locasto
> > Sessions, or server memory, is a limited resource. So no matter how > you slice it your bar isnt going to be able to please everybody. This > proposal/patch allows the sober guy to enter and escorts the had too > much guy out. Not to stir the pot, but this is a bit of a false analogy. The p

Re: [PATCH] When Session Max reached, throw out oldest session

2002-06-18 Thread Remy Maucherat
Craig R. McClanahan wrote: > > On Tue, 18 Jun 2002 [EMAIL PROTECTED] wrote: > > >>Date: Tue, 18 Jun 2002 16:56:29 -0400 (EDT) >>From: [EMAIL PROTECTED] >>Reply-To: Tomcat Developers List <[EMAIL PROTECTED]> >>To: Tomcat Developers <[EMAIL PROTECTED]> >>Subject: [PATCH] When Session Max reached,

Re: [PATCH] When Session Max reached, throw out oldest session

2002-06-18 Thread bob
> > > > On Tue, 18 Jun 2002 [EMAIL PROTECTED] wrote: > > > Date: Tue, 18 Jun 2002 16:56:29 -0400 (EDT) > > From: [EMAIL PROTECTED] > > Reply-To: Tomcat Developers List <[EMAIL PROTECTED]> > > To: Tomcat Developers <[EMAIL PROTECTED]> > > Subject: [PATCH] When Session Max reached, throw out ol

Re: [PATCH] When Session Max reached, throw out oldest session

2002-06-18 Thread Craig R. McClanahan
On Tue, 18 Jun 2002 [EMAIL PROTECTED] wrote: > Date: Tue, 18 Jun 2002 16:56:29 -0400 (EDT) > From: [EMAIL PROTECTED] > Reply-To: Tomcat Developers List <[EMAIL PROTECTED]> > To: Tomcat Developers <[EMAIL PROTECTED]> > Subject: [PATCH] When Session Max reached, throw out oldest session > > > Thi