读书人

ZeroMQ之消息丢失解决办法

发布时间: 2012-08-09 15:59:21 作者: rapoo

ZeroMQ之消息丢失解决方法

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


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

读书人网 >开源软件

热点推荐