cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geoff Howard <geoff.how...@gmail.com>
Subject Re: DO NOT REPLY [Bug 31234] - Event Aware cache does not remove registry key
Date Thu, 16 Sep 2004 12:05:01 GMT
On 15 Sep 2004 10:29:27 -0000, bugzilla@apache.org <bugzilla@apache.org> wrote:
> http://issues.apache.org/bugzilla/show_bug.cgi?id=31234
> 
> Event Aware cache does not remove registry key

...

> ------- Additional Comments From unico@hippo.nl  2004-09-15 10:29 -------
> Thanks Oliver, I applied your fix.
> 
> About the way AbstractCachingProcessingPipeline tries to find cached objects for
> shorter cache keys, judging from your description, it makes sense to me to
> always try a shorter key to find partially cached contents. I don't think this
> should be the concern of the Cache implementation. To pursue this further I
> suggest you either create a separate bugzilla entry for this or start a
> discussion on dev@.

Thanks, Unico and Oliver - I'm barely keeping up with the list these
days.  It looks like this was a result of some of the cache
re-factoring?  If so, hopefully this is the only remaining effect.

On the caching point behavior - I agree this would be better handled
in the pipeline logic if possible, not the cache.  My original reason
for wanting to clear the object out of cache entirely were obvious but
important:
- It's known that it will never be needed.
- Existing cache/store code has (or had last I looked) no mechanism
for causing old unusable cache items to be cleaned up without a new
request coming in.
- The persistent cache (again last I looked) could not be limited so
that over time a large amount of unusable, never-again-requested items
would build up on disk.  Risk is a too-large index, and a "disk space"
leak.

Geoff

Mime
View raw message