[zeromq-dev] The Clone Pattern

Pieter Hintjens ph at imatix.com
Tue Nov 22 17:35:19 CET 2011


On Mon, Nov 21, 2011 at 11:15 PM, Tom Bennett
<tom.bennett at mail.zyzhu.net> wrote:

> There is however one problem. If the intermediary cache server crashes and
> restarts, I am not sure how I can recover it. There are several problems:

Well, there is a design for this: http://zguide.zeromq.org/page:all#toc97

It uses the Binary Star pattern to create a primary-secondary backup
pair of intermediate servers. As long as they don't both crash, you'll
be fine. (So, they must run on different boxes, at least.)

Downside: it is non-trivial.

-Pieter



More information about the zeromq-dev mailing list