[ZODB-Dev] Re: What makes the ZODB slow?
Florent Guillaume
fg at nuxeo.com
Mon Jun 26 10:23:30 EDT 2006
Chris Withers wrote:
> Florent Guillaume wrote:
>> I can comment, I have a big brain too: the code in the catalog uses
>> per-connection series of keys, so no conflicts arise.
>
> Really? I thought they were per-thread... wasn't aware that each thread
> was tied to one connection indefinitely... I thought the connections
> were pooled and assigned to threads on an ad-hoc basis?
The series of keys are stored in a _v_ attribute which is
per-connection. And a connection is never used by more that one thread
at a time.
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