django-api-domains
celery
django-api-domains | celery | |
---|---|---|
6 | 43 | |
692 | 23,718 | |
- | 1.8% | |
3.0 | 9.5 | |
6 months ago | about 21 hours 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-api-domains
- Django Styleguide
-
This Week In Python 🎅
Django API Domain Driven Design Style Guide
-
Django monolith best practices
For more, you can google up Django DDD, and most of these approaches somehow do separate the ORM from the rest of the application. https://phalt.github.io/django-api-domains/ takes up this matter in a similar fashion.
-
Where should I put code that calls external API to perform calculations on model fields?
Look into DDD
- Como desenvolver algo mais robusto?
- Como avançar no conhecimento?
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.
[1]: https://github.com/celery/celery/issues/4426
-
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?
Django-Styleguide - Django styleguide used in HackSoft projects
dramatiq - A fast and reliable background task processing library for Python 3.
graphene-django-plus - Tools to easily create permissioned CRUD endpoints in graphene.
Apache Kafka - Mirror of Apache Kafka
vhdl-style-guide - Style guide enforcement for VHDL
huey - a little task queue for python
spinach - Modern Redis task queue for Python 3
NATS - High-Performance server for NATS.io, the cloud and edge native messaging system.
rapidpro - TextIt is a hosted service allowing organizations to visually build scalable interactive messaging applications.
rq - Simple job queues for Python
drf-yasg - Automated generation of real Swagger/OpenAPI 2.0 schemas from Django REST Framework code.
kombu - Messaging library for Python.