PHP 应用程序的异步/企业消息传递
对于 PHP 和 Java 应用程序之间的异步消息队列(发布、消费),哪种消息传递平台是最佳选择?我研究过 RabbitMQ、ActiveMQ、OpenAMQ、Tibco Rendezvous 和 Websphere MQ。需要坚持。我喜欢 AMQP 和使用开放协议的想法,但我听说过 RabbitMQ 的稳定性问题,它似乎是领先的 AMQP 实现。
消息负载不会达到“Twitter 式”的规模,但会相当大,并且需要非常高的可用性。
官方支持的 PHP API 肯定会加分。 Java 和 PHP 系统都将积极地生产和消费。
What messaging platform would be the best choice for asynchronous message queuing (publish, consume) between PHP and Java apps? I have looked at RabbitMQ, ActiveMQ, OpenAMQ, Tibco Rendezvous, and Websphere MQ. Persistence is required. I love the idea of AMQP and using an open protocol, but I've heard of stability issues with RabbitMQ, which seems to be the leading AMQP implementation.
Messaging load will not be quite to "Twitter-style" scale, but will be fairly high volume and require very high availability.
An officially supported PHP API would definitely get points. Both Java and PHP systems will be actively producing and consuming.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
值得一提的是,官方支持基于 http://stomp.codehaus.org/PHP 即将发布(希望下周)。
出来后会发布在这里。
干杯
德扬
for what is worth, officially supported PHP Stomp client based on http://stomp.codehaus.org/PHP will be released soon (next week hopefully).
Will post it here when it's out.
Cheers
Dejan
根据我的经验,ActiveMQ 是非常有问题的。丢失的消息和无法解释的中断让我想知道为什么人们使用它。
我过去使用过rabbitMQ,并将其部署到大型生产基础设施中,效果非常好。该实现是基于Java的——但是使用stomp适配器应该是可能的。
在可扩展性方面,rabbitMQ 非常出色,并且易于配置和运行。
ActiveMQ, in my experience, is very problematic. Lost messages and unexplained outages have left me wondering why people use it.
I've used rabbitMQ in the past and have deployed it into a large production infrastructure and it works great. The implementation was Java based - but with a stomp adapter it should be possible.
In terms of scalability, rabbitMQ was great and easy to configure and get running.
《第二人生》开发人员一直在分析许多不同的消息传递解决方案。它的观点是 Python 和 C++,但许多解决方案也适用于 PHP。好读。
Second Life devs have been analyzing a lot of different messaging solutions. It's point of view is Python and C++ but many solutions works for PHP too. Good read.
你看过Qpid吗? Apache 托管的 AMQP 的实现?它有 Java 和 C/C++ 版本,具有适用于大多数语言的接口。
Have you looked at Qpid? The implementation of AMQP hosted by Apache? It is available in both Java and C/C++ versions with interfaces for most languages.