[zeromq-dev] Any concerns about having SUB bind to socket and many PUBS publish data to it?
Charles Remes
lists at chuckremes.com
Mon Jun 17 21:32:45 CEST 2013
Pay attention to the SNDHWM on the PUB side and the RCVHWM on the SUB side. If you absolutely, positively cannot drop any messages then you should take a look at the "clone pattern" in the guide or consider using DEALER/ROUTER sockets along with an explicit ack/nak protocol (think zmodem or tcp).
Outside of that, I can't think of anything else noteworthy.
cr
On Jun 17, 2013, at 2:27 PM, Christopher Crotty <crotty.christopher at gmail.com> wrote:
> We have a need for many asynchronous publishers and a single subscriber for data.
> I have setup a SUB that binds to a socket and several PUBS which connect it and send data.
>
> The SUB appears to get the data from all PUBS ok, but I'm curious if there any internal gotchas that I need to be careful of.
>
> Thanks,
> Chris
> _______________________________________________
> 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