Possible use for memcache?

David Phillips david at acz.org
Mon Nov 28 16:36:31 PST 2005

On 11/27/05, mike <mike503 at gmail.com> wrote:
> The same that happens if two memcache client instances try to
> write/access the same key - the memcache protocol will work it out, I
> assume. Whichever one wins will be the "representative" for that file
> location.

The memcached protocol only specifies how a single client talks to a
single server.  Things like hashing, load balancing and fail over are
up to the client.

Solving these types of problems is what distributed computing is all
about.  They are not trivial and sometimes impossible to solve for the
general case.  As an example, see the "two army problem".

David Phillips <david at acz.org>

More information about the memcached mailing list