django-postgres-queue
rq
Our great sponsors
django-postgres-queue | rq | |
---|---|---|
4 | 27 | |
116 | 9,518 | |
- | 1.2% | |
0.0 | 8.3 | |
3 months ago | 9 days ago | |
Python | Python | |
BSD 2-clause "Simplified" License | GNU General Public License v3.0 or later |
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-postgres-queue
-
Keep the Monolith, but Split the Workloads
If you're using PostgreSQL, then
django-postgres-queue: https://github.com/gavinwahl/django-postgres-queue
procrastinate: https://github.com/procrastinate-org/procrastinate/
- django-pgpubsub: A distributed task processing framework for Python built on top of the Postgres NOTIFY/LISTEN protocol.
-
Procrastinate: PostgreSQL-Based Task Queue for Python
I ran on Huey for a few years on a python/postgres ecosystem project fronted by Django, and ultimately migrated to django-postgres-queue, which is wonderful. (There has since been a fork that I have not used.) It uses the same underlying primitives as OP, and I would absolutely recommend this to anyone operating in the same ecosystem.
https://github.com/gavinwahl/django-postgres-queue
- Devious SQL: Message Queuing Using Native PostgreSQL
rq
-
Redis Re-Implemented with SQLite
That's pretty cool. Reckon it would work with existing code that calls Redis over the wire for RQ?
https://python-rq.org
-
The Many Problems with Celery
https://github.com/rq/rq is to the rescue.
-
Keep the Monolith, but Split the Workloads
We 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/
-
SQL Maxis: Why We Ditched RabbitMQ and Replaced It with a Postgres Queue
Also had a similar experience using RabbitMQ with Django+Celery. Extremely complicated and workers/queues would just stop for no reason.
Moved to Python-RQ [1] + Redis and been rock solid for years now.
[1] https://python-rq.org/
- Ask HN: Redis Queue Hacks and Questions
- What libraries do you use the most alongside django?
-
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
-
GPU instance crashes when two python processes use the same pt file
We have a GPU (G5) instance that uses Python RQ (https://python-rq.org/).
- Dynamically update periodic tasks in Celery and Django
- Celery + RabbitMQ alternatives
What are some alternatives?
pg-boss - Queueing jobs in Node.js using PostgreSQL like a boss
celery - Distributed Task Queue (development branch)
redislite - Redis in a python module.
huey - a little task queue for python
dramatiq-pg
RabbitMQ - Open source RabbitMQ: core server and tier 1 (built-in) plugins
django-rq - A simple app that provides django integration for RQ (Redis Queue)
mrq - Mr. Queue - A distributed worker task queue in Python using Redis & gevent
packwerk - Good things come in small packages.
procrastinate - PostgreSQL-based Task Queue for Python
Que - A Ruby job queue that uses PostgreSQL's advisory locks for speed and reliability.
Apache Kafka - Mirror of Apache Kafka