[Zope] zope operations atomic?

kapil thangavelu k_vertigo@yahoo.com
Wed, 31 Oct 2001 03:02:34 -0800


On Wednesday 31 October 2001 07:11 am, Clark OBrien wrote:
> Hi:
> I cannot find documentation that would tell me how zope manages thread
> synchronization

nutshell version.

zope uses optimistic conflict resolution, no application level locking takes 
place, because all threads have their own object spaces. only on commits, is 
there some synchronization (deep within the zodb) to insure that there 
weren't conflicts, if so a conflict error is raised, and the request gets 
retried. applications can define their own conflict resolution, see the zodb 
wikis and zope developer's guide for more details.

kapil