[zeromq-dev] Blocking instead of Dropping PUB Socket
ian.barber at gmail.com
Wed Feb 27 15:22:06 CET 2013
On Tue, Feb 26, 2013 at 2:37 AM, Yucheng Low <yuchenglow at gmail.com> wrote:
> Initial testing suggests that it seems to work fine, allowing all
> subscribers to receive every message regardless of the hwm. A limitation is
> that I cannot use zmq_poll to test if the PUB socket is writeable. (A
> conservative option is to have the PUB socket be not writeable unless all
> the connected SUB sockets are writeable).
I would definitely aim to maintain zmq_poll behaviour - I think your
conservative option is correct, as it sounds like that is what the socket
would do (e.g. return -1 if a pipe was full).
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the zeromq-dev