[Zope-dev] Making a ZSQL.DA fully multi-threaded?
Chris Withers
chris at simplistix.co.uk
Mon Jul 19 02:46:13 EDT 2004
Brad Clements wrote:
>>That does suck, but it doesn't seem like an insurmountable problem for a
>>DA. You just need a per-DA instance mutex which you acquire before opening
>>a connection release afterwards.
>
> Someone else said that every thread has it's own copy of ZODB, hence their own copies of
> each DA. So putting the mutex on the DA won't help this, will it?
That someone else was Jim, I'm just quoting him ;-)
Have you looked at my ZOracleDA branch yet? I just use a module level Lock...
Chris
--
Simplistix - Content Management, Zope & Python Consulting
- http://www.simplistix.co.uk
More information about the Zope-Dev
mailing list