> 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 code.

And looking at the code, it appears like load() operations are locked as 
well. In the original client cache load() operations seem to be locked 
in order to avoid inconsistent file states, but if we assume cache 
set/read operations to be atomic (as I believe they are in memcache) 
can't we get rid of this one?

Cheers,

Pedro
_______________________________________________
For more information about ZODB, see http://zodb.org/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zodb-dev

Reply via email to