Giter VIP home page Giter VIP logo

Comments (6)

browniebroke avatar browniebroke commented on June 11, 2024 1

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.

Andrew-Chen-Wang avatar Andrew-Chen-Wang commented on June 11, 2024 1

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.

browniebroke avatar browniebroke commented on June 11, 2024 1

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.

shywn-mrk avatar shywn-mrk commented on June 11, 2024

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.

amirreza8002 avatar amirreza8002 commented on June 11, 2024

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.

github-actions avatar github-actions commented on June 11, 2024

As discussed, we won't be implementing this. Automatically closing.

from cookiecutter-django.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.