cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vadim Gritsenko" <vgritse...@hns.com>
Subject RE: [C2 VOTE] StoreJanitor
Date Fri, 31 Aug 2001 15:18:37 GMT
I think you should go ahead with your changes.

I will not be around for a while, so don't count on my help for a week or two,
hope somebody else from committers would help you.

Regards,
Vadim

> -----Original Message-----
> From: Gerhard Froehlich [mailto:g-froehlich@gmx.de]
> Sent: Wednesday, August 29, 2001 6:28 PM
> To: cocoon-dev@xml.apache.org
> Subject: [C2 VOTE] StoreJanitor
> 
> 
> Hi Team,
> I hope I do everything right now with this voting. First I want
> to say, that following idea is a summing of different postings
> from several peoples few days ago. I don't want to steal someones
> idea and I hope no one is feeling repositioned (esp. Christian,Peter)!
> 
> Few days ago I mentioned, that the EventCache (MRUMemoryStore) class 
> is initialize twice. This has the effect, that two cleanupthreads cleaning
> up memory. That can be a performance issue. So the initial idea from Peter Royal
> was to write a "StoreJanitor" which is responsible for the memory clean up.
> Every Store class (MRUMemoryStore, MemoryStore,...) must register to the
> StoreJanitor. The StoreJanitor, see prototype from Christian Schmitt, will
> cleanup memory by calling the free() method of the different registerd stores
> with some alghorithm. The precondition is, that every store must implement the 
> free() method. So we have to broaden the Store interface by a public free() method.
> With the StoreJanitor we can have _hundreds_ :) different stores, but we have 
> one intelligent background process which keeps an eye on memory.
> 
> Cheers
> Gerhard
> 
> 
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message