On Thu, Oct 25, 2012 at 5:38 AM, Henrik Schröder <skro...@gmail.com> wrote: > No, you can't solve this problem as long as you keep insisting on your weird > setup.
Yes, distributed locking for atomic operations is an extremely difficult problem to solve - perhaps not even possible to do correctly with just 2 hosts where you can't get a quorum if they lose network contact. > If you absolutely must have some sort of replicated datastore, memcached is > the wrong choice, you'd be much better off looking at *actual* replicated > datastores, such as HBase or MongoDB. Or, if you need to keep the memcache client, maybe couchbase would work on the server side: http://www.couchbase.com/membase -- Les Mikesell lesmikes...@gmail.com