ZeroMQ socket在什么情况下会掉线或无法投递消息? [英] Under what circumstances do ZeroMQ sockets drop or fail to deliver messages?

查看:33
本文介绍了ZeroMQ socket在什么情况下会掉线或无法投递消息?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

对于每种通信类型,是否有某种规范或其他解释来描述正常情况下,您可以预期在 ZeroMQ 套接字上发送的消息不会被(所有)侦听进程接收到?

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?

例如,我有一个实验程序,它基本上假设 PUB 套接字的所有订阅者都接收在该套接字上发送的所有消息(在初始化握手之后).我想了解该假设可能是错误的情况.谢谢,很抱歉,如果这已经被问到了.

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.

推荐答案

此图中的图表是 zmq 套接字何时丢弃消息的很好指南:https://raw.github.com/imatix/zguide/master/images/fig25.png

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

有关更多信息,您可能需要阅读 http://zguide.zeromq.org/py:all#Missing-Message-Problem-Solver

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

这篇关于ZeroMQ socket在什么情况下会掉线或无法投递消息?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆