3 ms·
I've used SQS for a simple job queue before. It works well and it's nice not to have to worry about more infrastructure. To make things even better, Celery no
by luhn 10y ago
I've used SQS for a simple job queue before. It works well and it's nice not to have to worry about more infrastructure. To make things even better, Celery now has an SQS broker, which I'd like to try out.
I've also had success with an HTTP subscription in SNS for simple async jobs. Having your tasks be just another HTTP endpoint is really convenient. It's not actually a task queue, but it's often a good-enough substitute.
One frustration I've had with it is that Amazon signs SNS messages, but I can't find a Python library for validating the signature. Not even AWS's flagship API client (boto3) has the functionality.
- Ysx 10y ago> [...] I can't find a Python library for validating the signature. Not even AWS's flagship API client (boto3) has the functionality. I wrote validatesns [1] for this, give it a try! (Not sure why there's an official PHP validator but not Python...) [1] https://github.com/nathforge/validatesns https://github.com/nathforge/validatesns