Comments (7)
数据不会自动迁移,目前nutcranker只能连接一个sentinel地址,可以在多个sentinel前面配置一个lvs
from bdrp.
sentinel本身支持gossip协议,只要连任意一个都可以,bdrp只允许配置一个不合理,这是新的单点
from bdrp.
@tobegit3hub 在百度内部,是通过类似lvs的服务访问sentinel的,所以,这里不会存在单点问题。这点设计上确实考虑的不够周全。
from bdrp.
lvs确实可以达到一样的效果,居然这样设计的也没问题,不过最好也能支持连多个的 😃
from bdrp.
@tobegit3hub 最近给twemproxy推了一个patch,是可以配置多个sentinel的,sentinel配置是在配置文件里面。twitter/twemproxy#324 这个patch是我工作之余做的,没有经过线上服务实际考验,所以,可靠性有待验证。
from bdrp.
@andyqzb 几个关于 twitter/twemproxy#324 的问题
- sentinels列表中可以只写sentinel master的ip吗?
- twemproxy一般该如何做Redundancy, 服务器全部都在AWS上面很难做LVS
from bdrp.
@axot sentinel master?不太懂你的意思。只要配置任何一个sentinel地址即可,twemproxy只是从sentinel获取最新的redis master地址,以及订阅地址变更。
关于问题2,百度内部是通过配置管理服务或者一个类似lvs的服务做得
from bdrp.
Related Issues (14)
- 通过proxy插入可以,无法get 数据
- 考虑到数据的一致性,是否支持在线的迁移 HOT 1
- The c client can't connect with baidu twemproxy HOT 1
- 怎么配置白名单呢
- 启动nutcracker时候出core错误
- 代码没更新? HOT 7
- 在编译redis的时候出现jemalloc相关的问题 HOT 1
- BDRP有没有配置说明?
- 关于nutcracker的--pid-file选项 HOT 4
- 是否会推出基于redis2.8版本的BDRP呢? HOT 1
- 关于白名单 HOT 2
- 配置中是否可以支持别名 HOT 1
- linux complie HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bdrp.