Giter VIP home page Giter VIP logo

Comments (7)

andyqzb avatar andyqzb commented on September 4, 2024

数据不会自动迁移,目前nutcranker只能连接一个sentinel地址,可以在多个sentinel前面配置一个lvs

from bdrp.

tobegit3hub avatar tobegit3hub commented on September 4, 2024

sentinel本身支持gossip协议,只要连任意一个都可以,bdrp只允许配置一个不合理,这是新的单点

from bdrp.

andyqzb avatar andyqzb commented on September 4, 2024

@tobegit3hub 在百度内部,是通过类似lvs的服务访问sentinel的,所以,这里不会存在单点问题。这点设计上确实考虑的不够周全。

from bdrp.

tobegit3hub avatar tobegit3hub commented on September 4, 2024

lvs确实可以达到一样的效果,居然这样设计的也没问题,不过最好也能支持连多个的 😃

from bdrp.

andyqzb avatar andyqzb commented on September 4, 2024

@tobegit3hub 最近给twemproxy推了一个patch,是可以配置多个sentinel的,sentinel配置是在配置文件里面。twitter/twemproxy#324 这个patch是我工作之余做的,没有经过线上服务实际考验,所以,可靠性有待验证。

from bdrp.

axot avatar axot commented on September 4, 2024

@andyqzb 几个关于 twitter/twemproxy#324 的问题

  1. sentinels列表中可以只写sentinel master的ip吗?
  2. twemproxy一般该如何做Redundancy, 服务器全部都在AWS上面很难做LVS

from bdrp.

andyqzb avatar andyqzb commented on September 4, 2024

@axot sentinel master?不太懂你的意思。只要配置任何一个sentinel地址即可,twemproxy只是从sentinel获取最新的redis master地址,以及订阅地址变更。
关于问题2,百度内部是通过配置管理服务或者一个类似lvs的服务做得

from bdrp.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.