Comments (6)
I'm personally against this: as it was just stated above we need/use redis for caching, so we won't be able to eliminate the redis service.
IMO it's about simplifying the stack by avoiding a separate service just for the Celery broker, adding RabbitMQ means:
- it's one more technology to explain to beginners: "why do I need/want RabbitMQ?"
- one more decision point while setting up a project
- it's more resources needed to run on the server (if using Docker) or one extra service provider to find (e.g. Heroku)
- one more combination to test against
So unless there is a massive demand for it, and it's a simple implementation, then maybe.
from cookiecutter-django.
For many organizations I've worked with, not having Redis eventually made us feel lots of pain. I've used Redis for billions of tasks in a project before. There weren't any reasons to use RabbitMQ except for extremely volatile workloads where compute resources could be maximized at any time or having a bad continuous deployment setup . RabbitMQ's also beginning to look like Kafka's API too; once there's that sort of complexity, that's when you can think about using RabbitMQ for Celery. But for project gen, it's worth just sticking to Redis.
from cookiecutter-django.
I've left this open for a while, to see if was interest for it. I think there hasn't been enough interest to justify the extra maintenance complexity I mentioned earlier.
from cookiecutter-django.
I can work on this and add this to the project if needed. AFAIK we should add the image for local and production environments and the related config. We do need a list of plugins that we may need for the project to enable and include in RabbitMQ config. The question to ask is if the user wants RabbitMQ as a broker or not. Since it may need to also use Redis for cache purposes we should set the value of the celery broker URL based on this option.
from cookiecutter-django.
i do understand your point of view
i personally use rabbitmq and have been in situations where i didn't really need redis
so i thought it is a good option to have here
but i understand that it might get you some trouble to maintain
but i still would love to see it happen if you found the time 🙃
from cookiecutter-django.
As discussed, we won't be implementing this. Automatically closing.
from cookiecutter-django.
Related Issues (20)
- S3 putObject fails when starting up project: What permissions are required.? HOT 3
- Selecting Whitenoise and AWS as cloud provider overrides STATIC_URL in a way that assumes Collectfast HOT 3
- Adopt Collectfasta HOT 2
- Drop support for runserver_plus & django_extensions HOT 2
- Python: can't open file '/app/manage.py': [Errno 2] No such file or directory - Django - Docker Compose HOT 8
- Python: can't open file '/app/manage.py': [Errno 2] No such file or directory - Django - Docker Compose
- createdb and migrate using conda
- ruff hook fails with F405 issue in config/settings/production.py HOT 1
- Why doesn't add RunServerPlus options for reload in windows when using docker? HOT 3
- Add `compose` to the names of docker compose files HOT 3
- Sometimes template code changes not detected in windows wls ubuntu22.04. HOT 4
- Discord invite expired HOT 1
- ValueError: Another profiling tool is already active HOT 3
- Add cloudflare to cloud provider options HOT 5
- PostgreSQL - connection failed: FATAL: remaining connection slots are reserved for non-replication superuser connections HOT 29
- Migrate gulpfile to ESM HOT 3
- {"detail":"Not Found"} at http://127.0.0.1:8000 immediately HOT 1
- CPendingDeprecationWarning: The broker_connection_retry configuration setting will no longer determine whether broker connection retries are made during startup in Celery 6.0 and above
- `uvicorn.workers` is deprecated HOT 1
- Optimize Recursive chown Execution Time on WORKDIR with Many Files
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cookiecutter-django.