django-async-orm
celery
Our great sponsors
django-async-orm | celery | |
---|---|---|
6 | 43 | |
130 | 23,439 | |
- | 1.1% | |
6.1 | 9.5 | |
10 months ago | 1 day ago | |
Python | Python | |
MIT 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-async-orm
- Django 4.0 Released
- Django module that brings async to django ORM.
-
Show HN: Django Async ORM
I'm not sure if its official. Would love some more guidance/clarity/docs/funding from the django foundation on what it looks like to migrate legacy code to the new ways.
The rednaks repo works great for just giving the new async stuff a go. If everything else is also using async.
I did some experimentation with this. And its a pain trying to migrate a production application that uses gevent and psycogreen2.
The documentation on the code migration path is pretty sparse.
The main hiccup that I ran into was psycogreen2 not being supported.
https://stackoverflow.com/questions/67735453/django-async-or...
- Django 4.0 release candidate 1 released
- Bringing Async Capabilities to Django ORM
celery
-
Streaming responses to websockets with multiple LLMs, am I going about this wrong?
So this might be my understanding, but stuff like celery is more like an orchestrator that chunks up workloads (think Hadoop with multiple nodes).
-
Examples of using task scheduler with Go?
In the Django world, you'd probably rely on Celery to do this for you. You're probably looking for something similar that works with Go. https://github.com/celery/celery
- SynchronousOnlyOperation from celery task using gevent execution pool on django orm
-
FastAPI + Celery problem: Celery task is still getting exectued even though I'm raising an exception on task_prerun
I've been doing some research and there doesn't seem to be much information on this issue, aditionally there's this but without a fix yet or any workaround: https://github.com/celery/celery/issues/7792
-
Taskiq: async celery alternative
RabbitMQ Classic mirror queues are very fragile to network partitioning. They are deprecated in favor of Quorum queues, but Celery doesn't support them yet : https://github.com/celery/celery/issues/6067
-
Use Celery with any Django Storage as a Result Backend
The Celery package provides some number of (undocumented!) result backends to store task results in different local, network, and cloud storages. The django-celery-result package adds options to use Django-specific ORM-based result storage, as well as Django-specific cache subsystem.
-
Django Styleguide
I spent 3 years building a high scale crawler on top of Celery.
I can't recommend it. We found many bugs in the more advanced features of Celery (like Canvas) we also ran into some really weird issues like tasks getting duplicated for no reason [1].
The most concerning problem is that the project was abandoned. The original creator is not working on it anymore and all issues that we raised were ignored. We had to fork the project and apply our own fixes to it. This was 4 years ago so maybe things improved since them.
Celery is also extremely complex.
I would recommend https://dramatiq.io/ instead.
-
Processing input and letting user download the result
You can use celery to process the file for extraction, saving and creating rar/zip.
-
RQ-Scheduler for tasks in far future?
Celery not usefull for long term future tasks (far future) · Issue #4522 · celery/celery (github.com)
What are some alternatives?
tortoise-orm - Familiar asyncio ORM for python, built with relations in mind
dramatiq - A fast and reliable background task processing library for Python 3.
fastapi - FastAPI framework, high performance, easy to learn, fast to code, ready for production
Apache Kafka - Mirror of Apache Kafka
django-ninja - 💨 Fast, Async-ready, Openapi, type hints based framework for building APIs
huey - a little task queue for python
aiosql - Simple SQL in Python
NATS - High-Performance server for NATS.io, the cloud and edge native messaging system.
docker-django-example - A production ready example Django app that's using Docker and Docker Compose.
rq - Simple job queues for Python
Django - The Web framework for perfectionists with deadlines.
kombu - Messaging library for Python.