[ZODB-Dev] BTree memory bomb

Jim Fulton jim at zope.com
Wed Jan 19 07:37:12 EST 2005


Simon Burton wrote:
...
> I don't particularly need to know
> the len of it, and if I did I could store that in a counter.

Note that there is a class in BTrees.Length designed for
specifically this purpose. Keeping a counter creates a hot
spot.  The BTree Length class is designed to mitigate the
hot spot by providing conflict resolution.

Jim

-- 
Jim Fulton           mailto:jim at zope.com       Python Powered!
CTO                  (540) 361-1714            http://www.python.org
Zope Corporation     http://www.zope.com       http://www.zope.org


More information about the ZODB-Dev mailing list