I have a flash application, I use celery as a task queue. I have a development version that works well through a small script that looks like this:
from celery import Celery from settings import REDIS_URL as redis_url from tasks import * celery = Celery('my_tasks', broker = redis_url, backend = redis_url ) if __name__ == "__main__": celery.start()
which worked well for development purposes, but now I began to study whether it needs to be improved for deployment, and began to read about celeryd, etc.
The easiest question to start with, if the above is only for testing and development and how to make the transition to the use of celery in a production environment. I integrate several jar applications as well as into a larger application, each of which has its own script, similar to the one above. How to clarify celery for this is currently not entirely clear, and I will be interested in materials from others who used celery with a flask in a production environment.
source share