Dieter Maurer wrote:
> Currently, the ZODB cache can only be controlled via the maximal number
> of objects. This makes configuration complex as the actual limiting
> factor is the amount of available RAM and it is very difficult to
> estimate the size of the objects in the cache.
> 
> I therefore propose the implementation of cache replacement policies
> based on the estimated size of its objects.

+1 on this proposal.  Ideally, it should be possible to tell ZODB to use
either cPickleCache, your size controlled cache, or some other cache
implementation, upon opening the database.

Shane
_______________________________________________
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zodb-dev

Reply via email to