开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜