Join the DZone community and get the full member experience.Join For Free
Learn how to migrate and modernize stateless applications and run them in a Kubernetes cluster.
TL;DR: Check out celery-s3, it lets you store Celery task results in S3.
Celery has good support for a variety of different message brokers – RabbitMQ, Redis, SQS, etc. – but support for result storage is somewhat more limited.
This is particularly apparent if you’re running Celery on an EC2 server and wish to take advantage of the distributed services AWS provides. SQS works as a message broker, but there’s nowhere to store results (and using the AMQP result store with SQS results in a queue for each result).
Celery-S3 lets you store Celery results in an S3 bucket, which means you can run a fully-functioning Celery installation on AWS with nothing but a Python install.
Published at DZone with permission of Rob Golding , DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.