[ZODB-Dev] cache not minimized at transaction boundaries?

Dieter Maurer dieter at handshake.de
Tue Jan 31 14:21:16 EST 2006


Tim Peters wrote at 2006-1-31 01:32 -0500:
>[Chris Withers]
>> ...
>> ...oh well, if only the ZODB cache was RAM-usage-based ratehr than object
>> count based ;-)
>
>Ya, that's not feasible.  More plausible would be to base ZODB cache targets
>on aggregate pickle size; ZODB _could_ know that, and then it would also be
>strongly related to how a ZEO cache's size is measured (the ZEO cache size
>limit is given in bytes, and by far the bulk of those bytes are consumed by
>pickles).

I plan to implement that -- waiting for the new style contributor
agreement from the Zope Foundation ;-)


-- 
Dieter


More information about the ZODB-Dev mailing list