django-pgpubsub
django-postgres-queue
django-pgpubsub | django-postgres-queue | |
---|---|---|
11 | 4 | |
221 | 116 | |
1.8% | - | |
8.1 | 0.0 | |
20 days ago | 3 months ago | |
Python | Python | |
GNU General Public License v3.0 or later | BSD 2-clause "Simplified" 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-pgpubsub
-
run scheduled job using django orm as broker
First I would stick with celery if possible. I am not aware of something like that that is widely adopted. you could write your own crontab scripts or a combination of crontab script that writes to db with some listener like this https://github.com/Opus10/django-pgpubsub or use this one https://github.com/kraiz/django-crontab But both projects are not widely used or do not seem to be well maintained. I hope I was able to be of any help.
- django-pgpubsub: A lightweight alternative to Celery built on top of the Postgres NOTIFY/LISTEN protocol
- django-pgpubsub: Distributed Django Tasks using Postgres NOTIFY
-
windows-friendly replacement for django=background-tasks?
If you're using Postgres, you could consider https://github.com/Opus10/django-pgpubsub
-
This Week in Python
django-pgpubsub – A distributed task processing framework for Django built on top of the Postgres NOTIFY/LISTEN protocol
-
A lightweight alternative to Celery for Django-PostgreSQL apps.
Rather than relying on signals and celery, we may want to consider borrowing a pattern from the land of Postgres: Triggers and NOTIFY/LISTEN. The library django-pgpubsub offers a django application layer abstraction of this pattern. We can refactor our above solution using django-pgpubsub to look as follows:
-
push notifications - reminders (Django Rest Framework + Postgresql)
You could try https://github.com/Opus10/django-pgpubsub. This is distributed task processing framework for Django built on top of the Postgres NOTIFY/LISTEN protocol. Does what you're looking for and isn't as operationally heavy as something like celery.
-
Asynchronous processing of database events in a robust and lightweight manner using django-pgpubsub
A common pattern in modern web development is the requirement to process data asynchronously after some user action or database event. In the below article, I describe via a concrete example a traditional approach to solving this problem for a Django/Postgres based application using django signals and Celery. I then proceed to discuss some of the shortcomings of this approach and demonstrate how using django-pgpubsub can offer a lightweight and more robust solution.
- django-pgpubsub: A distributed task processing framework for Python built on top of the Postgres NOTIFY/LISTEN protocol.
- django-pgpubsub: A distributed task processing framework for Django built on top of the Postgres NOTIFY/LISTEN protocol.
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
What are some alternatives?
django-pgtrigger - Write Postgres triggers for your Django models
pg-boss - Queueing jobs in Node.js using PostgreSQL like a boss
streamlit - Streamlit — A faster way to build and share data apps.
redislite - Redis in a python module.
pathfinding - Pathfinding library for rust
dramatiq-pg
ur_l - The ultimate Django / Postgres / Redis url shortner .
django-rq - A simple app that provides django integration for RQ (Redis Queue)
django-crontab - dead simple crontab powered job scheduling for django.
packwerk - Good things come in small packages.
django-celery-docker-example - Example Docker setup for a Django app behind an Nginx proxy with Celery workers
Que - A Ruby job queue that uses PostgreSQL's advisory locks for speed and reliability.