[zeromq-dev] Router to router delay

Bjorn Reese breese at mail1.stofanet.dk
Mon Jul 30 14:26:43 CEST 2012


On 2012-07-30 12:52, Cem Karan wrote:
> The only other suggestion I can make would be to define some kind of control on top of your router-router connections and basically ping the remote end until you get a message back.  If you put that in a moderately tight loop, say, one ping message every 10 milliseconds or so, you'll eventually get through, and the fact that you get a return tells you the connection is up.  I know that that is not ideal because you'll end up with a long queue of pings that you can't get rid of after you've received a reply, but it is all I can offer as a suggestion.

I do not think this is necessary, although I appreciate the suggestion.

ZMQ knows when it has received the identity of the peer. It is just a 
question of letting it act upon this event (in one of the three ways
that I have suggested in my original post.)

If the ZMQ developers can agree on what the behavior should be, then I
can implement it.



More information about the zeromq-dev mailing list