django-celery without an amqp server (rabbitmq)
I am using celery for distributed task processing. I wa开发者_C百科nted to deploy my work on a web-host, just to show the working of my project. So how can i get djcelery to use a database (sqlalchemy) as backend with django instead of rabbitmq or other amqp servers.
Here is the Celery docs on "Using Celery with Redis/Database as the messaging queue".
Essentially you need to install ghettoq, add it to your installed apps, add a setting CARROT_BACKEND = "ghettoq.taproot.Database"
and run syncdb. Then magic happens.
精彩评论