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.

For more information about ZODB, see the ZODB Wiki:

ZODB-Dev mailing list  -

Reply via email to