Queuing tutorials and documentation?

I am looking for articles and links that give an overview of the β€œlineup” (I probably don't even use the correct term here). I hope for an introductory guide in the style of Redis, RabbitMQ, Celery, Kombu and any other components that I have not read about yet, and how they fit together.

My problem is that I need to queue background tasks for my Django site, and every blog and article I read recommends different solutions.

+6
source share
3 answers

There are many options available to you, and your choice is likely to come to personal preferences and which dependencies are more convenient for you to install.

I will vote for Radish. I rated RabbitMQ, ActiveMQ, HornetQ, and Redis and found Redis to offer the best combination of ease of installation, simplicity, and performance.

This is technically not a message queue, but the push / pop primitives for list types provide operations with an atomic queue, so it can be effectively used as a queue. It worked well for us.

One python-based project on top of Redis you can see:

http://richardhenry.github.com/hotqueue/tutorial.html

Very simple. But then again, all other options, such as celery, are also viable.

+2
source

RabbitMQ has a good introduction here: http://www.rabbitmq.com/getstarted.html There are Python examples there, even.

0
source

HornetQ has very good documentation and is easy to install.

You can find the documentation at www.hornetq.org , and you will have several examples available with the distribution.

0
source

Source: https://habr.com/ru/post/891275/


All Articles