ketama - a consistent hashing algo for memcache clients
rj at last.fm
Thu Apr 12 10:12:50 UTC 2007
On Wednesday 11 April 2007 19:33, Steven Grimm wrote:
> More often we replace broken servers,
> but it looks like Ketama will handle that just fine without relocating
> any keys as long as we put the replacement machine in the same position
> in the list as the one it's replacing.
Just to clarify; it hashes the server ip and port string, so the order of
entries in the server list is irrelevant, just make sure any replacements
have the same ip/port to maintain all associations.
Last.fm Ltd. | http://www.last.fm/
Office: +44 (0) 207 780 7080
Mobile: +44 (0) 7740 194 389
More information about the memcached