redis-client-proxy

redis-client-proxy module is simple redis client proxy for redis client.

redis-client-proxy

redis-client-proxy module is simple redis client proxy for redis client.

npm install redis-client-proxy
 
var opts = {};
opts.servers = clusters;
var _console = console;
_console.debug = console.info;
opts.logger = _console;
this.proxy = new RedisProxy(opts);
this.proxy.on('error',function(err,res){
  console.error(error + data);
});
var _instance = this.proxy;
this.proxy.on('active',function(err,data){
  //app.set(name,_instance.active.client); 
});
 

just like node reis client

for more usage detail , reading source and benchmark and test case from source is recommended;