Dear Andreas, thank your for your response.
> > under heavy load of my zope application I got the following error: > > > > WARNING ZopePublication Competing writes/reads at ... database > > conflict error (oid 0x03a272, class BTrees.OIBTree.OIBucket, serial this > > txn started with 0x0376b0db577575cc 2008-06-24 06:51:20.498163, serial > > currently committed 0x0376b0dc374f1244 2008-06-24 06:52:12.963017) > > > > This is due to many reads and writes (adding objects) to a BTreeFolder. > > So my questions are: > > 1. How can I increase the number of retries to resolve the conflict? I think this might be a quick workaround for my production instance. > > 2. I think this might be a design problem of my application; should I > > use another backend for storing such data (sql, etc.)? > How about application specific conflict resolution (_p_resolveConflict() > hook)? How about using a nested folder structure in order to reduce the > number of conflicts? I thought about _p_resolveConflict, but I don't see how to catch up this conflict on my BTreeFolder derived class. Maybe I should give up the BTrees and use an ordinary container implementation? Best, Gregor
Description: Dies ist ein digital signierter Nachrichtenteil
_______________________________________________ Zope3-users mailing list Zope3email@example.com http://mail.zope.org/mailman/listinfo/zope3-users