使用 Rabbitmq 或 Hornetq 实现高流量聊天组件

发布于 2024-12-20 06:20:01 字数 234 浏览 4 评论 0原文

我正在为应用程序构建一个高流量聊天组件,并决定将其构建在消息队列之上,我将其范围缩小到这两个:Hornetq 和 Rabbitmq。

  1. 有人对哪个是更好的选择有什么意见吗? (我还计划编写一个服务器,该服务器将在队列和用户之间使用 java nio 进行 websocket 和 comet 任务)

  2. 任何人都可以向我指出一些有关使用这些技术的消息节流算法的好信息吗

I'm working on building a high-traffic chat component for an application, and decided to build it atop a message queue, which I narrowed down to these two: Hornetq and Rabbitmq.

  1. Does anyone have any opinions regarding which would be a better choice? (I plan on also coding a server that will site between the queue and users for websocket and comet tasks using java nio)

  2. Can anyone point me to some good information on message throttling algorithms using these technologies?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

停滞 2024-12-27 06:20:01

RabbitMQ 有 AMQP,如果您需要的话,那将是一个更好的选择。

HornetQ 以 JMS 为中心,并支持 Stomp。

RabbitMQ has AMQP, if that's what you need that would be a better choice.

HornetQ is JMS centric, with support on Stomp.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文