[zeromq-dev] Requirements for reliability

Pieter Hintjens pieterh at gmail.com
Thu Apr 8 07:46:06 CEST 2010


On Thu, Apr 8, 2010 at 4:15 AM, Steven McCoy <steven.mccoy at miru.hk> wrote:

> These need to be certified, not just reliable...

Yes, I think the lottery scenario can be solved by building on top of
a reliability layer.

For example, since physically printing tickets is a major point of failure:

* client sends scan to server
* server sends client ticket, which client prints (does not yet issue)
* client confirms ticket is printed
* server commits its work and tells client to issue ticket

Four reliable messages.  If the client does not get final confirmation
it resends its own confirmation to server.

-Pieter



More information about the zeromq-dev mailing list