[zeromq-dev] Extending the Paranoid Pirate Pattern - a problem and a candidate solution

Pieter Hintjens ph at imatix.com
Mon Jun 6 10:01:34 CEST 2011

On Mon, Jun 6, 2011 at 9:26 AM, Lucas Hope <lucas.r.hope at gmail.com> wrote:

> I have extended the paranoid pirate pattern for a slightly different use
> case, and I am having some difficulties.

PPP is a simplistic pattern, more aimed at explaining how to build
simple protocols and APIs, than real work. It's normal that you want
to extend it.

All three of the solutions you discuss should help in some way.
Ideally clients should not abort/resend unless there is a real need.
Since jobs are heavy, disconnecting and reconnecting will fill the
broker / workers with junk jobs than can't be rerouted back to their

You might want to look at a less time-sensitive pattern, e.g. Titanic,
which is more of a batch approach.


More information about the zeromq-dev mailing list