On Tue, Apr 20, 2010 at 6:31 PM, Andy McCurdy <
sed...@gmail.com> wrote:
> What consistent hashing algorithm is everyone using? We should really
> all use the same out-of-the-box default implementation for easy
> interoperability between clients. No reason to reinvent the terrible
> problems everyone ran into 5 years ago with memcached clients using
> different algorithms between clients.
I have some concerns with the current implementation in redis-rb, and
with the use of a hashring in general. It makes a lot of sense for
Memcached, and it makes sense for Redis if you want to use it to
replace Memcached, but for everything else it may not be a good
approach. It is designed to minimize the loss of keys, and in most
scenarios it's not desirable to lose a single key.
I talked to Salvatore about this and he has another structure in mind
for the redis-cluster project. I think agreeing on the algorithm is a
good thing in itself, but it would be great to discuss how can we
represent a distributed Redis without using a hashring.