The memcached server does not distribute or relicate any data. All intelligence about how data is disteributed among multiple memcached servers is contained in the client library or your own application code, not the server. Most client libraries support hashed distribution among multiple servers, but not replication. This means there is only one copy of any given key stored in the server array, so you need not worry about the freshness of what it routes you to. If you have any doubt about how your particular client library works, I suggest consulting the documentaion for that specific client library. The libmemcached library, and all derivatives that I know of work the way I described above.
Regards, Adrian ------Original Message------ From: skarayan Sender: [email protected] To: memcached ReplyTo: [email protected] Subject: Does the memcached distribution protocol guarantee the latest item from the cache? Sent: Oct 24, 2009 10:17 AM If so, how does this work if the data hasn't replicated on all nodes? Thank you. Sent via BlackBerry by AT&T
