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

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

问题描述

我想在我的Web应用程序中集成一个消息队列中间层。我已经测试过Rabbitmq以及Amazon SQS,但是发现Amazon SQS运行缓慢。我在Amazon SQS中获得80请求/秒,而在Rabbitmq中获得2000请求/秒。我之所以问这个问题,是因为我对自己的Web应用程序使用Amazon的所有服务,因此对Amazon SQS更加感兴趣。有人可以告诉我为什么这么慢吗?或者,如果有人对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上还有其他一些howto指南网站

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天全站免登陆