-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
动态增加节点和一个nutcracker链接多个sentinel #10
Comments
数据不会自动迁移,目前nutcranker只能连接一个sentinel地址,可以在多个sentinel前面配置一个lvs |
sentinel本身支持gossip协议,只要连任意一个都可以,bdrp只允许配置一个不合理,这是新的单点 |
@tobegit3hub 在百度内部,是通过类似lvs的服务访问sentinel的,所以,这里不会存在单点问题。这点设计上确实考虑的不够周全。 |
lvs确实可以达到一样的效果,居然这样设计的也没问题,不过最好也能支持连多个的 😃 |
@tobegit3hub 最近给twemproxy推了一个patch,是可以配置多个sentinel的,sentinel配置是在配置文件里面。twitter/twemproxy#324 这个patch是我工作之余做的,没有经过线上服务实际考验,所以,可靠性有待验证。 |
@andyqzb 几个关于 twitter/twemproxy#324 的问题
|
@axot sentinel master?不太懂你的意思。只要配置任何一个sentinel地址即可,twemproxy只是从sentinel获取最新的redis master地址,以及订阅地址变更。 |
我这边已经配置了server1和server2,我想动态增加server3??
增加后,数据会迁移到server3吗??
nutcracker可以链接到多个sentinel上吗???
The text was updated successfully, but these errors were encountered: