【问题标题】:What are the pros/cons for using ZeroMQ Binary Star vs Zookeeper for High Availability?使用 ZeroMQ Binary Star 与 Zookeeper 实现高可用性的优缺点是什么?
【发布时间】:2012-06-23 18:15:48
【问题描述】:

High Availability Pair-Binary-Star-Pattern

希望在我的系统中添加高可用性主/主功能,目前正在考虑 ZeroMQ Binary Star 与 ZooKeeper。

【问题讨论】:

  • 您应该更具体地说明您要解决的问题是什么。

标签: scalability zeromq high-availability apache-zookeeper


【解决方案1】:

BStar 模式只是无数可能的模式之一,而不是“0MQ”模式。您很可能会使用运行在 0MQ 上的 Tom Cocagne 的 Paxos 实现:https://github.com/cocagne/zpaxhttps://github.com/cocagne/paxos

【讨论】:

    【解决方案2】:

    ZMQ 对脑裂问题的处理(两台服务器认为自己是主服务器,而一台服务器看不到另一台服务器)是有限的,并且需要共享网络连接(即使根据您提供的链接),其中 ZooKeepr 的性能最高-notch(您可以查看 this Stackoverflow Q&A 以讨论裂脑)。 ZooKeeper 也是adopted by a lot of major products,如 Hadoop、HBase、Solr 等。(l

    【讨论】:

      猜你喜欢
      • 2021-04-13
      • 2010-12-03
      • 1970-01-01
      • 1970-01-01
      • 2010-09-10
      • 2017-07-26
      • 2010-09-08
      • 1970-01-01
      • 2010-09-06
      相关资源
      最近更新 更多