[zeromq-dev] Determining if 2 processes are up and connected for data exchange

Pieter Hintjens ph at imatix.com
Wed Mar 2 13:31:51 CET 2011

On Wed, Mar 2, 2011 at 1:24 PM, Yusuf Cinar <cinar.yusuf at gmail.com> wrote:

> My scenario is simple to start with. I have two processes on the local
> machine and want them to pass data to each other over IPC. I managed that
> alright - using PUB-SUB model that each process has a publisher to send data
> and a subscriber to receive data.

Pubsub is not the best pattern for that. You can lose data too easily.

I'd suggest studying the ROUTER (XREP) based patterns in Ch3 of the
Guide. Probably router-to-router is best.


More information about the zeromq-dev mailing list