cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leszek Gawron <lgaw...@mobilebox.pl>
Subject Re: Continuation invalidation strategy
Date Wed, 11 May 2005 16:05:07 GMT
Torsten Curdt wrote:
>                   -o-
> 
> So IMO the invalidation (or better garbage
> collection) algorithm should work like this:
> 
> We have a janitor invalidating continuations
> that has not been used for a certain amount
> of time. They can be invalidated from flow
> directly. The interpreter will refuse to
> resume the flow from them.
> 
> If a leaf continuation is being invalidated
> it means that we need to walk from the leaf
> to the root. If all childs of the current node
> are marked invalidated it may be removed.
> Otherwise we stop the processing.
> 
> ...does that make sense?
Looks like you're descibing current functionality :)

-- 
Leszek Gawron                                      lgawron@mobilebox.pl
IT Manager                                         MobileBox sp. z o.o.
+48 (61) 855 06 67                              http://www.mobilebox.pl
mobile: +48 (501) 720 812                       fax: +48 (61) 853 29 65

Mime
View raw message