node-hashring icon indicating copy to clipboard operation
node-hashring copied to clipboard

hashring is a consistent hashing algorithm for Node.js that is compatible with libketama and python's hash_ring package

Results 11 node-hashring issues
Sort by recently updated
recently updated
newest added

du -csk * 4588 tests 4672 total Perhaps the tests should be listed in .npmignore

For example, first time my config is var ring = new HashRing({ '127.0.0.1:11211': { vnodes: 50 }, '127.0.0.2:11211': { vnodes: 200 }, }); And assumed ring.get('a') == '127.0.0.1:11211' Next time,...

We noticed the test fixtures were in our production docker container ``` $ du -k node_modules/* | awk '$1 > 2000' | sort -nr # 2MB 4700 node_modules/hashring 4608 node_modules/@shutterstock...

My apologies for asking a question in an issue, but I'm confused what the difference is between replicas and vnodes. I can't find a clear description of their differences online...

Let’s get started with automated dependency management for node-hashring :muscle: This pull request **updates all your dependencies to their latest version**. Having them all up to date really is the...

greenkeeper

I'm trying to build https://github.com/jsbin/jsbin/ but I am getting a build failure iiuc with your dependency: http://ix.io/mxx Not sure why that build failure isn't in: http://s.natalian.org/2015-11-29/npm-debug.log Any ideas? Thank you!

I apologize if this is an ignorant question ahead of time. Out of curiosity, during the replica creation loop: "key = hashValueHash(....)", why do you multiply by 4, this limits...

On line 129: ", length = Math.floor(percentage \* vnodes \* servers.length)" the length is automatically calculated. The problem being with 7 nodes, the length ends up being 39.999999999 (where it...

In a dynamic cluster (adding and removing nodes), there is a chance when dividing we receive an infinite repeating result which floors to a value that would be less than...