[ZODB-Dev] [Proposal] Size controlled ZODB cache

Shane Hathaway shane at hathawaymix.org
Thu Jun 2 16:03:49 EDT 2005

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.


More information about the ZODB-Dev mailing list