python - Celery with Django - deployment -


i considering using celery in project. found lot of information how use etc. interested in how deploy/package solution.

i need run 2 components - django app , celeryd worker (component sends emails). example django app use email_ticket task email support tickets. create tasks.py in django app.

@task def email_ticket(from, message): ... 

do deploy django app , run celeryd separate process same path?

./manage.py celeryd ... 

what workers on different servers? deploy whole django application , run celeryd? understand use celery worker, use celerycam , celerybeat.

any feedback appreciated. thanks

thanks feedback.

this covered in documentation here. gist need download init scripts , setup config. once that's done celeryd start on boot , you'll off , running.


Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -