Django gets a new worker for its task framework inspired by Gunicorn:

https://github.com/codingjoe/threadmill

You'll have to wait for Django 6.1 and someone to provide a matching message queue.

#django #tasks #jobs #message #redis #rabbitmq #foss #openSource #python #celery #dramatiq

GitHub - codingjoe/threadmill: A queue agnostic worker for Django's task framework.

A queue agnostic worker for Django's task framework. - codingjoe/threadmill

GitHub

Hey people, what are you using to run your background tasks in #Python?

I was using #celery for a long time, and even contributed some bugfixes to it, but today on freelance project we had some restrictions - like "it runs on pythonanywhere", so we cannot use rabbitmq or redis as celery brokers.

So, i started looking for other solutions and found #dramatiq. With dramatic-pg it can use postgres as a broker.

#django

#Celery 的坑的確是蠻多的,許多人推的替代方案是 #Dramatiq

https://steve.dignam.xyz/2023/05/20/many-problems-with-celery/

The Many Problems with Celery

With some possible fixes

Log Blog Kebab
We released a new crontab package for #Django and #Dramatiq w/
@getsentry monitor support <3
https://github.com/voiio/dramatiq-crontab
GitHub - voiio/dramatiq-crontab: Cron style scheduler for asynchronous Dramatiq tasks in Django.

Cron style scheduler for asynchronous Dramatiq tasks in Django. - GitHub - voiio/dramatiq-crontab: Cron style scheduler for asynchronous Dramatiq tasks in Django.

GitHub