Moving from RabbitMQ to Amazon SQS [closed]

三世轮回 提交于 2019-12-02 11:23:06

I haven't had any problems with slow performance on SQS, but then again it maybe that the be the nature of my apps don't count on sub-millisecond response times for items in my queue. For me the work done on the items in the queue contributes more to the lag than the time it takes to use the queue.

For me the distributed, highly available and 'hands-off' nature of SQS suits the bill. Only you can decide whats is more important: a few more milliseconds of performance in a non-redundant system that you need to support yourself, or the 'queue as a service' offerings of AWS. Not knowing you application, I can't say if the perceived extra performance is a necessary trade off for you.

AWS Simple Queue Service is a fully managed, highly available, highly scalable queuing service.

SQS pricing structure is basically a price per API call, details are explained at : http://aws.amazon.com/sqs/pricing/

When you are accessing SQS in sequence from one single thread, you will be limited by latency (when it takes 20ms to make an API call, a single thread will peak at 50 calls per second). But SQS is designed to work in parallel. This article shows how to scale SQS to thousands of messages per second. http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/throughput.html

You can access SQS API from our Python SDK (boto), available at http://aws.amazon.com/sdk-for-python/

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!