[Django]-Book for Django + Celery + RabbitMQ?

13👍

Well not a book but I recently did setup in Dotcloud for Django+Celery, and here’s the short doc:
http://web.archive.org/web/20150329132442/http://docs.dotcloud.com/tutorials/python/django-celery/

It’s intended for simple tasks to be run asynchronously. There is a dotcloud-specific setup, but the rest might clear things up a bit. AFAIK, Celery started tightly coupled with Django but later became an entirely different animal, although it still retains superb compatibility with Django.

3👍

I don’t know of a book, I guess a quick Amazon search would dig that up.

The bottom line is, celery is run as a separate server and works just as well for a standalone python program as Django, so it is not tied directly to Django. You can also run the celeryd worker software on multiple computers so they can all process the same queue concurrently. Often a separate queueing server, such as RabbitMQ is run to store the queue message.

Keep in mind, django-celery is just an integration app that acts as glue between Django and Celery.

1👍

This was asked a long time back and the celery docs have been significantly spruced up since, it’d be good to start with the FAQ’s to allay queries of this nature.

http://docs.celeryproject.org/en/latest/faq.html#is-celery-for-django-only

👤Philar

Leave a comment