cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vadim Gritsenko <va...@reverycodes.com>
Subject Re: Continuations consume ram, possible solutions?
Date Mon, 31 Jul 2006 12:49:05 GMT
Leszek Gawron wrote:
> Torsten Curdt wrote:
>>
>> IMO the only way to solve this transparently is to more accressively
>> expire and limit the number of continuations. It would make sense to
>> come up with a LRU list of continuations per session. This list has a
>> maximum size that can defined. So the required maximum can is
>> predictable. Generating more continuations means using free slots or
>> throwing away the oldest ones in that LRU list. The janitor would
>> basically only go through the list and expire to free the slots in
>> that list.
> Not that easy II: In almost every web application I choose the option to 
> store continuations in session rather then in one place. This way all 
> continuations get removed when the session expires.

It's addressed above - "LRU list of continuations per *session*"

Vadim

Mime
View raw message