Questions tagged [libketama]

Ketama is a library and logic for consistent hashing.

2 questions
11
votes
2 answers

Memcached consistent hashing not working with 3 of 4 servers down

Story I have 3 memcached servers running where I shutdown the one or the other to investigate how PHP-memcached behaves upon a server not beeing reachable. I have defined 4 servers in PHP, 1 to simulate a server that is mostly offline (spare…
Daniel W.
  • 31,164
  • 13
  • 93
  • 151
1
vote
0 answers

Twemproxy key distribution

How twemproxy uses hash function and keys distribution method to decide which key will go to which shard? Is there any in which lib or code i can use to specify which hash function to use and given set of servers, can it tell which shard it will go…