Under what circumstances do ZeroMQ sockets drop or fail to deliver messages?

我与影子孤独终老i 提交于 2019-12-10 12:55:47

问题


Is there some sort of a specification or other explanation that describes the normal cases where you can expect a message sent on a ZeroMQ socket to not be received by ( all ) the listening processes, for each communication type?

For example I have an experimental program which basically assumes that all subscribers to a PUB socket receive all messages sent on that socket ( after an initialization handshake ). I would like to understand the cases where that assumption may be false. Thanks, and sorry if this has already been asked.


回答1:


The chart in this image is a good guide to when zmq sockets drop messages: https://raw.github.com/imatix/zguide/master/images/fig25.png

For more information, you might want to read http://zguide.zeromq.org/py:all#Missing-Message-Problem-Solver



来源:https://stackoverflow.com/questions/9909909/under-what-circumstances-do-zeromq-sockets-drop-or-fail-to-deliver-messages

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!