memcached cluster maintenance

Posted by Yang on Stack Overflow See other posts from Stack Overflow or by Yang
Published on 2010-05-16T01:26:44Z Indexed on 2010/05/16 1:30 UTC
Read the original article Hit count: 212

Filed under:

Scaling up memcached to a cluster of shards/partitions requires either distributed routing/partition table maintenance or centralized proxying (and other stuff like detecting failures). What are the popular/typical approaches/systems here? There's software like libketama, which provides consistent hashing, but this is just a client-side library that reacts to messages about node arrivals/departures---do most users just run something like this, plus separate monitoring nodes that, on detecting failures, notify all the libketamas of the departure? I imagine something like this might be sufficient since typical use of memcached as a soft-state cache doesn't require careful attention to consistency, but I'm curious what people do.

© Stack Overflow or respective owner

Related posts about memcached