3rd-Eden / node-hashring

hashring is a consistent hashing algorithm for Node.js that is compatible with libketama and python's hash_ring package
MIT License
350 stars 57 forks source link

Make the number of vnodes configurable, keeping the default of 40. #2

Closed pquerna closed 13 years ago

pquerna commented 13 years ago

I am unsure if this is how you would like to extend the constructor?

3rd-Eden commented 13 years ago

lgtm it's a common pattern so we might as well adopt it, thanks for the commit!