node-hash-ring
node-hash-ring copied to clipboard
A Consistent Hashing C++ add-on for node.js
We've been using `node-hash-ring` very successfully for many years, so thank you for writing this library. One thing we noticed was that the distributions, while even enough for balancing servers,...
Hello bnoguchi! I am migrationBot, an [open-source](https://github.com/blakmatrix/node-migrator-bot) bot, and I'm here to help you migrate your codebase to node v0.8! Did you know that the "sys" module throws an error...
I added the node-gyp build system for node >= 0.8.0 and version bumped so you can update in npm. Also, I updated the Readme.md with instructions for those on newer...
On node 0.10.5 `require('hash_ring')` fails with ``` module.js:356 Module._extensions[extension](this, filename); ^ Error: /tmp/hr/node_modules/hash_ring/build/Release/hash_ring.node: undefined symbol: ev_default_loop_ptr at Module.load (module.js:356:32) at Function.Module._load (module.js:312:12) at Module.require (module.js:364:17) at require (module.js:380:17) at Object....
I can reproduce this segmentation fault 100% on Mac OSX ``` var hash_ring = require("hash_ring"); var ring = new hash_ring({"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa": 1}); ``` i get the following when running node in...
Run this code: var HashRing = require('hash_ring'); var obj = {}; obj["A"] = 0; obj["B"] = 0; obj["C"] = 0; var ring = new HashRing(obj); var instance = ring.getNode("hi to...