5 ms·
Ditto in Django + Celery
by KyeRussell 3y ago
Ditto in Django + Celery
- slig 3y agoAnyone using a more modern/lightweight alternative to Celery?
- jerrygenser 3y agoYes, dramatiq is quite good, but I ditched it for something even more lightweight -- pubsub subscribers via push notification so workers are web workers responding to http requests that might take up to 10 minutes
- slig 3y agoThat's a very interesting approach. Do you have anything written about it or any public repo? Thanks!
- smaccona 3y agoWe use RQ[0], it has Redis as a dependency. It’s pretty straightforward and we’re very happy with it. If you are using Django you may want to look at Django RQ[1] as well. RQ has built in scheduling capabilities these days, but historically it did not so we used (and still use) RQ Scheduler[2] which I think still has some advantages over the built in stuff. [0] https://python-rq.org/ https://python-rq.org/ [1] https://github.com/rq/django-rq https://github.com/rq/django-rq [2] https://github.com/rq/rq-scheduler https://github.com/rq/rq-scheduler
- slig 3y agoThanks, will check it out!
- ibejoeb 3y agoIf you're using PostgreSQL, then django-postgres-queue: https://github.com/gavinwahl/django-postgres-queue https://github.com/gavinwahl/django-postgres-queue procrastinate: https://github.com/procrastinate-org/procrastinate/ https://github.com/procrastinate-org/procrastinate/
- slig 3y agoFantastic, I'm. Thanks.