Re: [ZODB-Dev] zeo.memcache

2011-10-06 Thread Vincent Pelletier
Le mercredi 05 octobre 2011 19:45:38, Jim Fulton a écrit : Interesting. I'll review it. I gave it a look. From what I see, I don't think this can be used by more than a single zope at a time. My bigest hint toward this is that there is a lock on class instance which is not visible in

Re: [ZODB-Dev] zeo.memcache

2011-10-06 Thread Andreas Gabriel
Hi, On 06.10.2011 19:59, Vincent Pelletier wrote: synchronisation. Supporting such setup requires using the test-and-set memcached operation, plus some sugar. I just don't think this was intended to be supported in the original code. Maybe this code will help as example for the shared

Re: [ZODB-Dev] zeo.memcache

2011-10-06 Thread Pedro Ferreira
So accesses from different processes (or even different instances of the cache connector) will modify it without synchronisation. Supporting such setup requires using the test-and-set memcached operation, plus some sugar. I just don't think this was intended to be supported in the original

Re: [ZODB-Dev] zeo.memcache

2011-10-06 Thread Vincent Pelletier
Le jeudi 06 octobre 2011 21:18:39, Andreas Gabriel a écrit : Maybe this code will help as example for the shared locking problem https://svn.plone.org/svn/collective/unimr.memcachedlock/trunk/unimr/memcac hedlock/memcachedlock.py I couldn't resist writing my own version inspired from your