ZeroMQ生产准备就绪了吗? [英] Is ZeroMQ production ready?

查看:100
本文介绍了ZeroMQ生产准备就绪了吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用ZeroMQ作为通用消息传递中间件有什么经验?

What are your experiences with ZeroMQ as a general purpose messaging middleware?

  1. 您是否遇到了任何令人震惊的错误或明显的功能"?例如. 2.0无法正确刷新消息,并且故障排除指南似乎提供了最可怕的解决方法全部都是:"sleep(1)退出前".
  2. API降低了应用程序的复杂性还是被证明很麻烦?
  3. 向后兼容性是否经常被破坏?
  1. Did you run into any show-stopping bugs or non-obvious "features"? E.g. 2.0 was not flushing messages properly, and the troubleshooting guide seems to give the most terrifying workaround of them all: "sleep(1) before exit".
  2. Did the API reduce complexity of applications or did it prove to be troublesome?
  3. Is backwards compatibility often broken?

推荐答案

我将其用于研究,因此是半成品".这是一个很棒的框架,一旦您完全理解它,架构的方式肯定就有意义.但是我遇到了太多问题,无法考虑将其投入生产.我正在使用jzmq,所以其中某些可能是特定于此的.

I'm using it for research, so "semi-production". It's a wonderful framework, and the way things are architected certainly make sense once you fully grok it. But I've hit far too many problems to consider it production ready. I'm using jzmq, so some of this might be specific to that.

  1. 在OS X/Eclipse上设置jzmq很不愉快.
  2. 启动应用程序有时会在ZeroMQ C代码中导致断言失败,因此我需要将我的应用程序包装在检查这种异常状态的内容中.
  3. 错误通常是非常难以描述的.我有太多非法状态例外,没有任何解释性消息.
  4. 不支持TLS.对我来说,这几乎是一个大难题,并且我可以很容易地看到它排除了其在许多应用程序中的可用性.
  5. 文档已关闭. 官方指南很好,但是如果您有特定的问题,通常没有帮助.到处搜寻时,我花了比平常更长的时间来找到问题的答案.邮件列表非常活跃.
  1. Setting up jzmq on OS X / Eclipse is...not pleasant.
  2. Starting the application will occasionally cause an assertion failure in the ZeroMQ C code, so I need to wrap my application in something that checks for this exceptional state.
  3. Errors are oftentimes very undescriptive. I've had far too many illegal state exceptions with no explanatory message.
  4. There's no support for TLS. This is almost a deal-breaker for me, and I could easily see it ruling out its availability for a number of applications.
  5. Documentation is "off". The official guide is nice, but if you have a specific problem, it's usually not helpful. And it takes me longer than usual to find the answers to things when googling around. The mailing list is however pretty active.

但是,这是一个很大的数目,但是,我无法算出它为我节省了多少工时. 这篇文章很好地总结了使生活更加愉悦的几种方式

BUT, and this is a big but, I can't count how many man-hours it has saved me. This post has a good summary of just a few of the ways it makes life more pleasant.

这篇关于ZeroMQ生产准备就绪了吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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