开发者

django-celery without an amqp server (rabbitmq)

开发者 https://www.devze.com 2023-01-18 08:09 出处:网络
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.

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

精彩评论

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