Spreading key/value pairs across multiple memcached servers

Michael Alan Dorman mdorman at debian.org
Wed Dec 1 09:05:28 PST 2004

Chris Hartjes <chartjes at gmail.com> writes:

> Now, if I have two servers, what server will it talk to in order to
> find out where the key is?  Will it always talk to the first server in
> the list?  I understand that the various servers are aware of what
> server a particular key is on.  I also understand it will only take
> one request to find out where a key is.  But again, will that request
> for the location of the key always go to one server?

There is no request for the location of the key.  The *client* knows
what server the key is on based on the hash that it performs.

I'd write a song called "Senorita with a Necklace of Tears" -- Paul Simon

More information about the memcached mailing list