How to manage/host AWS SQS queue consumers in Python?
I am currently working on a distributed processing application written in Python that u开发者_如何学编程tilises Amazon SQS.
What is the most Pythonic way of properly creating and hosting a queue consumer in Python that:
- is reliable: if there is a problem and the consumer terminates, some reactive code should be executed and processing should restart
- reuses code: there must be some packages out there to help with this, and it would be great not to have to re-invent the wheel :)
Thanks in advance!
Have you looked at Boto?
An integrated interface to current and future infrastructural services offered by Amazon Web Services. Currently, this includes:
Simple Storage Service (S3)
SimpleQueue Service (SQS)
Elastic Compute Cloud (EC2)
精彩评论