Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Slow Performance of Amazon SQS compared with RabbitMQ

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.

like image 516
Anand Soni Avatar asked May 09 '12 09:05

Anand Soni


1 Answers

One thing to keep in mind here is that SQS is replicating your data across multiple AZ's. This is going to add to the time complexity compared to a single Rabbit or other MQ implementation.

If your single RabbitMQ instance goes down, are you ok with not being able to process messages or potentially losing data? If you are, you probably don't need replication or even disk persistence. But I'm guessing most use cases would care and thus, SQS offers a very hands off distributed MQ solution that is, in theory, insulated from a single point of failure.

like image 115
Mark Avatar answered Sep 20 '22 18:09

Mark