[ZODB-Dev] Re: What makes the ZODB slow?

Florent Guillaume fg at nuxeo.com
Mon Jun 26 09:31:24 EDT 2006


On 26 Jun 2006, at 15:02, Chris Withers wrote:
> Florent Guillaume wrote:
>> BTrees perform best when keys' prefixes are randomly distributed.
>> So if your application generates keys like 'foo001', 'foo002',...  
>> you'll get lots of conflicts. Same for consecutive integers in  
>> IOBTree.
>
> Tempted to call bullshit on this, since there's code in the catalog  
> to specifically assign series of keys...
> ...of course, that code may be evil, and people with bigger brains  
> (hi Tim/Jeremy/Jim!) would have to comment..

I can comment, I have a big brain too: the code in the catalog uses  
per-connection series of keys, so no conflicts arise.

Florent

-- 
Florent Guillaume, Nuxeo (Paris, France)   Director of R&D
+33 1 40 33 71 59   http://nuxeo.com   fg at nuxeo.com





More information about the ZODB-Dev mailing list