Ajinkya Nahar wrote:
Hi all,
Whenever a memcached node gets added or deleted, how does
livejournal.com handle it?
Does it remove the server from the memcache client server list?
If so, then do they flush out the cache or do they use consistent
hashing (or some proprietary hashing) scheme?
Please let me know your comments on this.
Regards,
Ajinkya
Consistent hashing was recently enabled. Works fine.
Adding and removing memcacheds to the list hardly has any impact
anymore. It's using the standard perl client and output from Brad's
Set::ConsistentHash to seed the list - nothing fancy. Er, I guess
besides the consistent hashing thing.
-Dormando