6

High Availability Pair-Binary-Star-Pattern

Looking to add high availability master/master capabilities in my system, currently considering ZeroMQ Binary Star vs ZooKeeper.

Shiplu Mokaddim
  • 56,364
  • 17
  • 141
  • 187
James
  • 15,085
  • 25
  • 83
  • 120

2 Answers2

5

The BStar pattern is just one of infinitely many possible patterns not "the" 0MQ pattern. You could quite likely use Tom Cocagne's Paxos implementation which runs over 0MQ: https://github.com/cocagne/zpax and https://github.com/cocagne/paxos.

Pieter Hintjens
  • 6,599
  • 1
  • 24
  • 29
4

ZMQ treatment of the split-brain problem (two servers thinking they are the master when one does not see the other) is limited and requires a shared network connection (even per the link you provided) where as good as ZooKeepr's is top-notch (You can see this Stackoverflow Q&A for discussion on splitbrain). Also ZooKeeper is adopted by a lot of major products like Hadoop, HBase, Solr etc.(l

Community
  • 1
  • 1
Arnon Rotem-Gal-Oz
  • 25,469
  • 3
  • 45
  • 68