On 10 June 2013 15:56, Ian Barber <[email protected]> wrote: > > On Mon, Jun 10, 2013 at 6:02 PM, Parag Patel <[email protected]>wrote: > >> Thanks for the info Steven. In your email previous to this, you >> provided a preferred solution. Would this work if there are multiple >> processes that want to send on the same pgm + ipc channel? >> > > PGM in ZMQ is for single-publisher scenarios. If multiple people wanted to > publish maybe have a separate socket to fan-in to the PGM output? > > It is impossible to have multiple reliable publishers on the same host - they cannot both receive NAK unicast messages.
Unlike the consumption side the publish side needs broker design attention. Note that you could always have each application publishing on separate network parameters and have the subscribers join each separate network. At the PGM layer you can join multicast groups, for ports you will need to use multiple zmq_bind calls. -- Steve-o
_______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
