[zeromq-dev] Multiple publishers without inproc socket
Pieter Hintjens
ph at imatix.com
Wed May 25 17:05:18 CEST 2011
2011/5/25 Nicolas HUYNH <nicolas.huynh at onera.fr>:
> Thank you all for your replies !
> I'm new to ZeroMQ and I tried too much to stick on the basic examples.
Writing your own devices is simple. That's what you want to do in this
case. The design for a system-wide logging bus is actually really
simple and as you sketched. The 'device' loop is literally just 'poll
both sockets for input, switch messages between them'. There are
examples in the Guide.
> I will investigate PGM/EPGM transport later (as proposed by Maciej).
The benefit of PGM will be if your logging bus becomes too slow due to
data being copied to each subscriber. Otherwise, it's going to make
things more complex. Your forwarder device is conceptually the same as
a PGM multicast group.
-Pieter
More information about the zeromq-dev
mailing list