[zeromq-dev] finding the right message pattern

Michel Pelletier pelletier.michel at gmail.com
Tue Sep 11 15:54:29 CEST 2012

If your master uses a ROUTER socket, it can address each recording
device individually to issue it start/stop commands.  The devices
themselves can use a DEALER socket to both receive/respond to
commands, and to send recording data without acknowledgement.
Neither DEALER or ROUTER are synchronously bound like REQ/REP.


On Tue, Sep 11, 2012 at 5:21 AM, David Kaufman <david.kaufman at gmx.de> wrote:
> Hi ZeroMQ Community,
> I'm currently working on a small project where multiple machines
> output data from a recording device (e.g. audio data). Note that a
> recording device is just another zeromq capable client. A master
> machine collects the output of each recording device. The recording
> device is selected, initiated and stopped by the master machine. To
> sum up, the master has to communicate with each recording devices in a
> bidirectional fashion.
> The request/replay message pattern works but produces unnecessary
> overhead since the master machine hast to reply to every data packet
> the recording device sends. Is there a cleaner solution, perhaps a
> paired socket? Do you have any suggestions?
> Cheers,
> David Kaufman
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev

More information about the zeromq-dev mailing list