开发者

memcached cluster maintenance

开发者 https://www.devze.com 2022-12-31 11:32 出处:网络
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 p

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, whi开发者_运维问答ch 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 (esp. for Java, Python, and C on Linux, if that matters).


You don't specify your language/platform, but if you're able to use Terracotta, it provides outstanding distributed cache management.

0

精彩评论

暂无评论...
验证码 换一张
取 消