django-rq
django-q
django-rq | django-q | |
---|---|---|
15 | 8 | |
1,766 | 1,791 | |
0.7% | - | |
7.1 | 0.0 | |
5 days ago | about 2 months ago | |
Python | Python | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
django-rq
-
Background jobs with Django
For simple stuff, I tend to use https://github.com/rq/django-rq. Although scheduling tasks there does not work well in my experience. If I need something to run by schedule, than better just plain cron.
- Keep the Monolith, but Split the Workloads
-
django-rq VS django-q2 - a user suggested alternative
2 projects | 21 Mar 2023
-
How We Built an Application to Test Student Docker Images for Database Systems University Course
Performing tests on student images can be a time-consuming process, taking several minutes. Application has to download the image from the registry, create a container, wait for the application to load, and perform the test scenarios. To efficiently utilize the available hardware and handle increased server demand during peak times, a task queue was implemented using django-rq.
-
Recommendations other than celery to send an API processing in background, which would only take 5 mins to process and API usage would be once a month or so.
Yep, rq is simple and good: https://python-rq.org/ It also has a Django wrapper: https://github.com/rq/django-rq
-
Alternative for Django Celery.
I use RQ (Redis Queue) and it's very cool! https://github.com/rq/django-rq https://python-rq.org/patterns/django/
-
Show HN: Chard – simple async/await background tasks for Django
I love the simplicity of this idea because for lots of sites the database works just fine as a queue backend and it reduces the amount of infrastructure needed. I currently use https://github.com/dabapps/django-db-queue for devmarks.io which also uses the database to store tasks instead of a dedicated queue infrastructure. `Django Q` also has an option to use the database, but I haven't tested it at all: https://django-q.readthedocs.io/en/latest/configure.html#orm. And if you are already running `redis` for your site, https://github.com/rq/django-rq is another option.
The one benefit of this package is that it is async-first which will be beneficial as Django continually adds in more async capabilities. Nice work! I'm looking forward to trying this out and seeing how it works!
-
Simple Task Queue system that works with Django 4 / Python 3.9?
https://github.com/rq/django-rq if you already have redis available or https://github.com/dabapps/django-db-queue for something even simpler. I’ve used both and vastly prefer them over celery.
-
Celery Alternative for Django - Huey | Idiomatic Programmers
if you use redis there is https://github.com/rq/django-rq as well
- How do you guys automate emails with django?
django-q
-
Background jobs with Django
Other options are DjangoQ and Huey, which tend to work ok. Of the two I prefer DjangoQ. Database backed, don't require the Redis/Celery rigmarole.
-
Why are Notifications so much work to do in Django?
If you want a "simple" solution for sending email, the simplest that will likely last you the longest is using DjangoQ to create a background task that looks for model records that have not been emailed. Then use Sendgrid with an email backend to send them. You can use a library that already provides a Sendgrid email backend as well.
- Simple Task Queue system that works with Django 4 / Python 3.9?
-
celery and call_command
Take a look at Django-Q I was using it before moving to celery. Seems great just wanted experience with celery. Much simpler to get setup. Even use Django admin to schedule your tasks. Other option is a management command thats called using the full path of the python virtual env from a cron entry.
-
New DigitalOcean Pricing
App Platform is a great concept, but we hit a dealbreaking road block when trying to migrate some Python apps with job queues. Their runtime (gVisor) doesn't support semaphore locks, which is used by Pythons multiprocessing and in turn used by most job runners (we discovered it with django-q, but I think most, if not all of them including Celery, rely on this, see link below).
The build times for Dockerfiles are also atricious… our build failed after 40 minutes by running out of memory and the multi-stage Dockerfile really wasn't anything special. We would have just used the images hosted on Github Container Registry, but App Platform only supports a limited range of Docker registries too. Note: the images build in 3 minutes on Github Actions.
As far as I can see it is also not possible to add any block storage too. While I mostly work on projects that use object storage anyway, SOME things just need persistent block storage. Which is annoying, since DigitalOcean HAS block storage… just not for App Platform.
I really wanted to use it, but man they make it hard.
https://github.com/Koed00/django-q/issues/522#issuecomment-1...
-
Database backed task queue recommendations?
I use Django Q with ORM broker. Store tasks in db and retry if failed. You can also view/manage your queue in Django admin if you use ORM as broker (https://django-q.readthedocs.io/en/latest/brokers.html#django-orm).
-
what are 3 django packages everyone should know about?
django-q - Light weight task queue. When celery is too much over head.
-
Whats the best Task Queue/Scheduler that could run my API calls in the background?
Check out https://github.com/Koed00/django-q
What are some alternatives?
celery - Distributed Task Queue (development branch)
django-db-queue - Simple database-backed job queue
rq-scheduler - A lightweight library that adds job scheduling capabilities to RQ (Redis Queue)
django-jazzmin - Jazzy theme for Django
rq - Simple job queues for Python
django-post_office - A Django app that allows you to send email asynchronously in Django. Supports HTML email, database backed templates and logging.
django-background-tasks - A database-backed work queue for Django
whitenoise - Radically simplified static file serving for Python web apps
django-q2 - A multiprocessing distributed task queue for Django. Django Q2 is a fork of Django Q. Big thanks to Ilan Steemers for starting this project. Unfortunately, development has stalled since June 2021. Django Q2 is the new updated version of Django Q, with dependencies updates, docs updates and several bug fixes. Original repository: https://github.com/Koed00/django-q
dramatiq - A fast and reliable background task processing library for Python 3.
packwerk - Good things come in small packages.
django-health-check - a pluggable app that runs a full check on the deployment, using a number of plugins to check e.g. database, queue server, celery processes, etc.