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
  • 54,465
  • 14
  • 131
  • 183
James
  • 14,490
  • 23
  • 82
  • 117

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,571
  • 1
  • 23
  • 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
  • 24,800
  • 3
  • 45
  • 68