[Zope3-Users] Concurrent data access in Zope

Stephan Richter srichter at cosmos.phy.tufts.edu
Wed Apr 12 02:37:34 EDT 2006


On Tuesday 11 April 2006 07:33, Andreas Jung wrote:
> > How is access synchronisation to such a structure handled in Zope? What
> > happens automatically? What do I have to do on my own?
>
> First come, first serves. There is no fancy synchronization. If two threads
> are trying to modify the same object then one thread will receive a
> WriteConflict error. It is up to the app to deal with these kind of errors.
> In the Zope 2 world Zope tries to re-do the current transaction for up to
> three times before the ConflictError is passed up to the application.

Same in Zope 3.

Regards,
Stephan
-- 
Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training


More information about the Zope3-users mailing list