[zeromq-dev] notice a crash of a program

Pieter Hintjens ph at imatix.com
Tue Jan 29 11:41:16 CET 2013


On Tue, Jan 29, 2013 at 11:22 AM, Martin Hua <M.Hua at gmx.de> wrote:

> for my bachelor thesis I have implemented a client-server communication with the PUSH-PULL Pattern. The server sends a message to all clients, that are interested in this message.

If you want to send to "interested clients", you should probably be
using PUB-SUB and not PUSH-PULL...

> My question is:
> If one of these clients crashes, then there is a possibility under zeromq that the server knows about it?

None, unless you add this yourself: PUSH/PULL and PUB/SUB are one-way flows.

To send acknowledgements to the server, use ROUTER/DEALER and manage
subscriptions and acknowledgements yourself.

-Pieter



More information about the zeromq-dev mailing list