开发者

How to manage/host AWS SQS queue consumers in Python?

开发者 https://www.devze.com 2023-02-22 03:09 出处:网络
I am currently working on a distributed processing application written in Python that u开发者_如何学编程tilises Amazon SQS.

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) 
0

精彩评论

暂无评论...
验证码 换一张
取 消