Trần Lữ Sinh
Trần Lữ Sinh

Reputation: 90

Using celery 4 without Redis

My site write with django. I need to run some task in the background of container(I using ec2). Recently, I research Celery. But, it required redis or queue server to run. It makes I cannot using celery because I mustn't install something else. Question: Can I setup celery stand alone? If yes, how to do this? If no, Are we have any alternative, which can install stand alone?

Upvotes: 3

Views: 6214

Answers (1)

DejanLekic
DejanLekic

Reputation: 19787

The answer is - no, you cannot use Celery without a broker (Redis, RabbitMQ, or any other from the list of supported brokers).

I am not aware of a service that does both (queue management AND execution environment for your tasks). Best services follow the UNIX paradigm - "do one thing, and do it right". Service you described above would have to do two different, non-trivial things and that is probably why most likely such service does not exist (at least not in the Python world).

Upvotes: 9

Related Questions