基于node.js构建的Redis-proxy

Why sreeix/redis-proxy?

是基于node.js构建的一个Redis proxy,it's like haproxy except for redis.

Typically for every redis server we setup, we have a backup server setup as a slave of the main server.

If the Active Redis crashes or goes down for maintenance, we want the application to seamlessly use(read/write) data from the backup server. But the problem is once the backup takes over as active it will be out of sync with the original(master) and should become the sale of the current active. This is solved by redis-proxy, which proxies the active redis. It is also smart enough to issue slave of commands to machines that start up and make masters slave of no one.

This reduces the common redis slave master replication dance that needs to be done when bad stuff happens or maintenance of the servers are needed

 


     Features
 

 

 

  • Server Monitoring (to track masters and slaves)
  • Automatic slave upgrade on master failure
  • Connection Pooling
  • Supports Pipelining
  • Honors Existing Master Slave Configurations( ie. if the masters and slaves are  already setup then it will maintain the same configuration, instead of largescale movement of data)
  

      https://github.com/sreeix/redis-proxy

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值