与 RabbitMQ 相比,Amazon SQS 的性能较慢 [英] Slow Performance of Amazon SQS compared with RabbitMQ

查看:36
本文介绍了与 RabbitMQ 相比,Amazon SQS 的性能较慢的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在我的 Web 应用程序中集成一个消息队列中间层.我测试了 Rabbitmq 和 Amazon SQS,但发现 Amazon SQS 很慢.我在 Amazon SQS 中获得 80 个请求/秒,而在 Rabbitmq 中获得 2000 个请求/秒.我问这个问题是因为我对 Amazon SQS 更感兴趣,因为我将 Amazon 的所有服务用于我的 Web 应用程序.谁能告诉我为什么这么慢?或者,如果有人对 Amazon SQS 有任何好的基准,您可以分享一下吗?任何帮助都将得到回报.

I wanted to integrate a message queuing middle tier in my web application. I have tested Rabbitmq as well as Amazon SQS but find Amazon SQS is slow. I am getting 80 req/sec in Amazon SQS where I am getting 2000 req/sec in Rabbitmq. I am asking this Question because I am more interested Amazon SQS since I am using all the services of Amazon for my web app. Can anybody please tell me why this is so slow? Or if anybody has any good benchmark of Amazon SQS can you please share? Any help will be appriced.

推荐答案

根据这篇文章 你可以在 Amazon AWS (EC2) 上运行 RabbitMQ,它会更快,可能更便宜,每秒有一条消息和一个财务比较.RabbitMQ 网站

According to this article you can run RabbitMQ on Amazon AWS (EC2) and it will be faster and possibly cheaper, there is a message per second and a financial comparison. There are some other howto guides on the RabbitMQ site

这篇关于与 RabbitMQ 相比,Amazon SQS 的性能较慢的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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