[zeromq-dev] DEALER/ROUTER question about HWMs

Diego Fons diego.fons at intraway.com
Wed Nov 5 14:20:50 CET 2014


Hi,

I'm implementing a DEALER/ROUTER schema in which messages are sent from
DEALER to ROUTER only, no messages are sent back. My question is related to
HWMs in both sockets.

When reaching the SNDHWM in DEALER socket, application will block (this is
clear in documentation), however, it is not clear in documentation what
happens if the RCVHWM is reached in the ROUTER socket.

I'm assuming that if RCVHWM in ROUTER is reached, all the channel (end to
end) will eventually block, ie. the DEALER socket will block too. I'm not
expecting the ROUTER socket to drop messages once the RCVHWM is reached.

Is this assumption correct?
How does it behave with several clients?
Does the ROUTER create an individual queue for each client or all clients
share the same queue?

Best regards,
Diego A. Fons.

-- 
Diego Andrés Fons
Intraway Corp.
Solution Developer
AR Office: +54 (11) 6040 4000
US Office: +1 (516) 620 3890
Email: diego.fons at intraway.com

Visit our website at http://www.intraway.com
Proud to be an ISO 9001:2008 certified company
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20141105/999e02d4/attachment.htm>


More information about the zeromq-dev mailing list