Re:Redis (consistent hashing based) sharding made easy
by kijin on Thursday June 27, 2013 @10:41AM
(#5952513)
> okay, tell me a python library comes with consistent hashing?
Nydus uses the same Ketama algorithm that you use, but I suppose it might not have had that feature when you started to work on Redis Router.
Also, pretty much every up-to-date client library in nearly every popular language, such as PHP, Ruby, C#, and Java.
I'm not complaining about the fact that you created a neat Python library for Redis. My complaint is about the standalone server feature. I don't see why it's needed because nearly every popular language has native libraries that implement consistent hashing (not HASH MOD N), often using the exact same algorithm you're using. So I went looking for bells and whistles that might justify the standalone server, and unfortunately I found none.
Nydus uses the same Ketama algorithm that you use, but I suppose it might not have had that feature when you started to work on Redis Router.
Also, pretty much every up-to-date client library in nearly every popular language, such as PHP, Ruby, C#, and Java.
I'm not complaining about the fact that you created a neat Python library for Redis. My complaint is about the standalone server feature. I don't see why it's needed because nearly every popular language has native libraries that implement consistent hashing (not HASH MOD N), often using the exact same algorithm you're using. So I went looking for bells and whistles that might justify the standalone server, and unfortunately I found none.