durusmail: durus-users: mutlithreaded client? ZODB vs Durus
mutlithreaded client? ZODB vs Durus
2006-02-08
2006-02-09
2006-02-09
2006-02-09
mutlithreaded client? ZODB vs Durus
David Binger
2006-02-09
On Feb 9, 2006, at 6:17 AM, David Binger wrote:

>
> On Feb 9, 2006, at 5:31 AM, mario ruggier wrote:
>
>>
>> On Feb 8, 2006, at 1:56 PM, Jeff Bauer wrote:
>>
>>> I like the simplicity of Durus compared to ZODB, but want
>>> to use it as a backend to a multithreaded CherryPy application.
>>> Would it be better/safer to use ZODB, or could this work
>>> with Durus ClientStorage?
>>
>> Never played with it in multi-threads... but if i understand
>> correctly a client connection for each thread should work.
>
> Right.
>
> I think the rule about using multi-threaded clients
> is the same in Durus as in ZODB.
> Just don't let any thread use more than one
> Connection.

That's not the rule, though.

I think the rule is,
no Connection or objects from the Connection
should be accessed from more than one thread.

reply