ZeroMQ之消息丢失解决方法

来自于http://zguide.zeromq.org/page:all



 图中所说的"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

猜你喜欢

转载自lbxc.iteye.com/blog/1537255
今日推荐