ZeroMQ之消息丢失解决方法


图中所说的"slow join"的解释如下:

Making a TCP connection involves to and fro handshaking that takes several milliseconds depending on your network and the number of hops between peers. In that time, ØMQ can send very many messages. For sake of argument assume it takes 5 msecs to establish a connection, and that same link can handle 1M messages per second. During the 5 msecs that the subscriber is connecting to the publisher, it takes the publisher only 1 msec to send out those 1K messages

转载:http://zguide.zeromq.org/page:all

你可能感兴趣的:(ZeroMQ)