legend
v0.0.2
Published
Downloads
12
Readme
legend
A redis backed node.js load balancer. Uses round-robin to load balance servers. It listens for changes in your redis database and updates the server list.
Getting Started
var Legend = require('legend');
var redis = require('redis');
var client = redis.createClient();
var legend = new Legend({
client: client,
subscribe: 'servers'
});
legend.addNode('192.168.1.1', '8080');
legend.run(8080);