Physics Derivation Graph navigation Sign in

background tasks - considering celery+rabbitmq, rq with redis

Published 2020-04-09T12:02:00.003Z by Physics Derivation Graph

Currently the first access to the "editor" page incurs a significant delay while pictures are generated in the background. While this task only runs the first time and could be moved elsewhere in the code to distribute the latency more evenly, I expect the need for a task queue to arise.

Celery has workers. RQ has both workers and a queue; RabbitMQ has just the queueing system. Source

Celery versus RQ:
RQ is simpler and Celery has more features. RQ only works with Redis.

Migrating from Celery to RQ: