Hi all, I wanted to introduce myself - I’m new to the community but have been working with Python for a few years and have dabbled briefly with Django in the past but am just getting back into it.
I’ve been creating a few small projects (none public yet) and one of the issues I was running in to was deciding on a background tasks framework to use. I wanted one that was easy enough to implement for offloading simple tasks (like sending emails), but still advanced enough to cater for long-running background tasks where you might want to report on the progress.
I wrote up a blog post looking at the top 3 frameworks I could find (Celery, Django-Q, Django-RQ) and created three basic Django projects with working code for each of them. I decided that Django-RQ was the best suited for my needs and I managed to develop a more advanced example project with a long-running task that reported progress via an AJAX interface.
Keen to hear your thoughts on this and if anyone has any other tips on background tasks in Django that might be useful. I’m also interested if the new Async views in Django 3.1 will be able to remove the need for a separate package to deal with background tasks.
Post here: Django Background Tasks