RabbitMQ tutorial - Work Queues — RabbitMQ
This tutorial assumes RabbitMQ is installed and running on localhost on the standard port (5672). In case you use a different host, port or credentials, connections settings would require adjusting. If you're having trouble going through this tutorial you can contact us through the mailing list or RabbitMQ community Slack. As with other Python tutorials, we will use the Pika RabbitMQ client version 1.0.0. In the first tutorial we wrote programs to send and receive messages from a named queue. In this one we'll create a Work Queue that will be used to distribute time-consuming tasks among multiple workers. The main idea behind Work Queues (aka: Task Queues) is to avoid doing a resource-intensive task immediately and having to wait for it to complete. Instead we schedule the task to be done later. We encapsulate a task as a message and send it to the queue. A worker process running in the background will pop the tasks and eventually execute the job. When you run many workers the tasks wi
On this page Work Queues (using the Pika Python client) info Prerequisites This tutorial assumes RabbitMQ is installed and running on localhost on the standard port (5672). In case you use a different host, port or credentials, connections settings would require adjusting. Where to get help If you're having trouble going through this tutorial you can contact us through GitHub Discussions or RabbitMQ community Discord . Prerequisites As with other Python tutorials, we will use the Pika RabbitMQ client version 1.0.0 . What This Tutorial Focuses On In the first tutorial we wrote progr
Explore this link on the map →related reading
- RabbitMQ tutorial - "Hello world!" | RabbitMQrabbitmq.com
- RabbitMQ tutorial - Publish/Subscribe | RabbitMQrabbitmq.com
- RabbitMQ tutorial - Remote procedure call (RPC) | RabbitMQrabbitmq.com
- Amazon SQS FAQs | Message Queuing Service | AWSaws.amazon.com
- RabbitMQ tutorial - Reliable Publishing with Publisher Confirms | RabbitMQrabbitmq.com
- RabbitMQ tutorial - Routing | RabbitMQrabbitmq.com
- When to use RabbitMQ over Kafka? - Stack Overflowstackoverflow.com
- System Design, Chapter 7: Queuescharlieinden.github.io
- RabbitMQ tutorial - Topics | RabbitMQrabbitmq.com
- Queueing – An interactive study of queueing strategies – Encore Blogencore.dev
- How We Solved the Thundering Herd Problem | by Antross | The PayPal Technology Blog | Mediummedium.com
- RabbitMQ vs Redis OSS - Difference Between Pub/Sub Messaging Systems - AWSaws.amazon.com