I am considering using celery in my project. I found a lot of information on how to use it, etc. I am wondering how to deploy / package my solution.
I need to run two components - the django application, and then the celeryd worker (the component that sends emails). For example, I would like my django application to use the email_ticket task, which could send emails. I am creating tasks.py in a django application.
@task def email_ticket(from, message): ...
Do I deploy the django application and then just run celeryd as a separate process from the same path?
./manage.py celeryd ...
How about working on different servers? Expand your entire django app and only run celeryd? I understand that I could use celery only for the worker, but I would like to use celery and celery.
Any feedback is appreciated. Thanks
Thanks for any feedback.
python django celery
Tomas
source share