[Zope] ConflictError with *one* ZEO client?

Jonathan dev101 at magma.ca
Thu Jun 29 14:47:19 EDT 2006


----- Original Message ----- 
From: "Berthold Stöger" <blists at bdf-net.com>
To: <zope at zope.org>
Cc: "Dieter Maurer" <dieter at handshake.de>
Sent: Thursday, June 29, 2006 2:35 PM
Subject: Re: [Zope] ConflictError with *one* ZEO client?


> On Thursday 29 June 2006 18:56, Dieter Maurer wrote:
>> Good application design would make the conflict probability so low
>> that it is very unlikely that a "ConflictError" propagates to
>> the user.
>
> For more complicated applications  this is only possible with locking. 
> Does
> Zope provide locking primitives?
>
> Or, ideally, something like asynchronous message passing? I would love to 
> be
> able to start a transaction and, if it finishes in less than x seconds, 
> tell
> the user the result or, if it hasn't finshed by then, that the transaction 
> is
> being processed, please come back later.

If you are interested in async programming with zope have a look at twisted, 
here's some info:

http://twistedmatrix.com/projects/core/documentation/howto/index.html


Jonathan 



More information about the Zope mailing list