Hi,

I am new to zmq, so this may be a bit of a dumb question.

I am using a dealer-router, where the dealer is sending a-lot of multipart
messages to the router. It seems like if I have some weird processing
pattern on the router, where I do not service the messages correctly, then
I get dropped multipart messages.

This is admittedly intermittent, and goes away if I increase the
receive high water mark on the router. But I am able to reliably reproduce
if I send multipart messages (a group of 3), and have the receive high
water mark of 10.

So it seems like there is some case where the router's zmq will silently
drop multipart messages when there is not enough room for the whole message
in the internal buffers. This is counter to my expectation that when there
is not enough on zmq internal buffers, the copy from the socket to the zmq
internal buffer would block, this blocking then propagates down back across
the tcp socket, and then causes the dealer's send function to block.

Am I missing something?

Thanks,
Nick
_______________________________________________
zeromq-dev mailing list
[email protected]
https://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to