【发布时间】:2012-06-23 18:15:48
【问题描述】:
High Availability Pair-Binary-Star-Pattern
希望在我的系统中添加高可用性主/主功能,目前正在考虑 ZeroMQ Binary Star 与 ZooKeeper。
【问题讨论】:
-
您应该更具体地说明您要解决的问题是什么。
标签: scalability zeromq high-availability apache-zookeeper
High Availability Pair-Binary-Star-Pattern
希望在我的系统中添加高可用性主/主功能,目前正在考虑 ZeroMQ Binary Star 与 ZooKeeper。
【问题讨论】:
标签: scalability zeromq high-availability apache-zookeeper
BStar 模式只是无数可能的模式之一,而不是“0MQ”模式。您很可能会使用运行在 0MQ 上的 Tom Cocagne 的 Paxos 实现:https://github.com/cocagne/zpax 和 https://github.com/cocagne/paxos。
【讨论】:
ZMQ 对脑裂问题的处理(两台服务器认为自己是主服务器,而一台服务器看不到另一台服务器)是有限的,并且需要共享网络连接(即使根据您提供的链接),其中 ZooKeepr 的性能最高-notch(您可以查看 this Stackoverflow Q&A 以讨论裂脑)。 ZooKeeper 也是adopted by a lot of major products,如 Hadoop、HBase、Solr 等。(l
【讨论】: