Re: [Zope3-Users] ZODB conflict for session data container

2008-03-23 Thread Yuan HOng
Thanks Bernd for giving detailed answer and suggestions. > it is the case ... there are two workarounds imho > > 1. > don't write to the session if it does not change, so if you do an > apache bench without sending the client id cookie, a write is done on > each request > > additionally ever

Re: [Zope3-Users] ZODB conflict for session data container

2008-03-20 Thread Bernd Dorn
On 20.03.2008, at 07:07, Yuan HOng wrote: Now comes the part that I can not understand. This simultaneous adding to the BTree seem to cause the conflict error, since the BTree and Bucket are also persistent object themselves. This would mean that ZODB is not suitable for the cases of simultanous