
Learn from Piotr, a software engineer and instructor who shares practical RabbitMQ and Elasticsearch insights from his work at London Stock Exchange, using hands-on lectures to build confidence and mastery.
Learn how queues enable asynchronous communication, fault tolerance, and auto scaling in a RabbitMQ-based architecture; monitor queue size and age to ensure reliability and meet service level agreement.
Discover RabbitMQ, a mature open source AMQP broker built on Erlang, with plugins and protocol support; compare it to Kafka and Kinesis to choose appropriate messaging architecture.
Explore the AMQP protocol and RabbitMQ’s implementation for asynchronous, platform independent messaging between producers and consumers, with messages consisting of headers, properties, and a body.
Prepare a Windows 10 laptop or VM with Notepad++, Chrome, and optional IntelliJ for Java to follow RabbitMQ installation, using basic Windows command line and administration skills.
Learn to run a single RabbitMQ node in three steps: download RabbitMQ binaries, install Erlang, and start RabbitMQ from the command line.
Configure RabbitMQ using environment variables, external configuration files, and runtime parameters to manage ports, locations, frame settings, and the management plugin with the new configuration format.
Learn to create a RabbitMQ configuration file by downloading an example from GitHub, placing it in a config folder, and configuring it with the RABBITMQ_CONFIG_FILE variable (no .conf extension).
Explore RabbitMQ's plugin architecture and how plugins extend protocols, monitoring, exchange types, and federations; enable or disable at stop or runtime via command-line tools.
Install the management plugin to enable a web admin UI and extended statistics, stop RabbitMQ to install it, then start RabbitMQ and access the UI at localhost:15672 using guest/guest credentials.
Explore RabbitMQ in practice with the management plugin, covering node overview, memory metrics and alarms, connections and channels, exchanges, and secure admin tasks like changing the default guest password.
Use the RabbitMQ RESTful API on the management port to integrate external systems and build custom monitoring UIs. Fetch node details with GET /api/nodes and access full documentation at /api.
Explore how exchanges, queues, bindings, and routing keys route messages in RabbitMQ. Understand how default, fanout, direct, topic, and headers exchanges use binding keys and routing keys to deliver messages.
Create a queue in the web management UI with a chosen type, name (for example q.logs.test), and durability, then publish a message and consume it with positive acknowledgment.
Discover most common routing and consuming patterns in RabbitMQ, from simple queues to work queues. Explore publish and subscribe, and RPC (remote procedure call) models, using the web management UI.
Set up a simple queue pattern in RabbitMQ to enable communication between applications written in different languages, publish messages as persistent to durable queues, and consume with automatic acknowledgment.
Learn how work queues distribute time-consuming tasks across multiple workers to scale out processing. Use acknowledgements, requeue, and dead letter exchange concepts to ensure reliable delivery.
Learn the publish-subscribe pattern using a fanout exchange to deliver the same message to multiple queues, demonstrated with two durable queues and bindings in RabbitMQ.
Bind queues to a direct exchange with routing keys sport and weather to implement subscriber filtering. Demonstrate how a publish-subscribe pattern enables each consumer to receive only relevant messages.
Learn how topic exchanges enable publish-subscribe messaging with selective delivery by routing keys and bindings, using stars and hashes, reducing bindings and guiding hierarchical topic naming.
Explore headers exchange in RabbitMQ, using x-match any and all to route messages by headers, bind queues, publish messages, and compare with direct exchanges.
Demonstrates building a RabbitMQ RPC system using a single RPC queue and exclusive client reply queues. Use correlation ID to map requests to responses across multiple methods and clients.
Enable the Consistent Hash exchange to split long queues into smaller ones and distribute messages across queues using binding keys as weights, with default hash calculated from routing key.
Learn how dead letter exchange patterns in RabbitMQ move messages that cannot be consumed to a dead letter queue, using TTL and requeue settings to diagnose issues and model delays.
Leverage delay and delay scheduled patterns in RabbitMQ using a dead letter exchange to model delayed publication and automatic retries, with batch publication and ttl-based handling through the x-message-ttl attribute.
Explore data safety in RabbitMQ through consumer acknowledgments, transactions, and publisher confirms, highlighting automatic vs manual acknowledgments, rollback scenarios, and durability and throughput.
Create virtual hosts to group exchanges, queues, users, and policies, enabling multi-tenant isolation within a single RabbitMQ cluster and separate environments like development, QA, and pre-production.
Policies apply ttl and max-queue-len via dynamic arguments for queues or exchanges, using virtual-host scope and regex-based matching with priority.
To follow Lazy queues lecture, use RabbitMQ version 3.11.x or older.
Starting with 3.12, the x-queue-mode=lazy argument is ignored. All classic queues will now behave similarly to the way lazy queues behaved previously. That is, messages tend to be written to disk and only a small subset is kept in memory. The number of messages in memory depends on the consumption rate. This change affects all users of classic queues.
ref: https://blog.rabbitmq.com/posts/2023/05/rabbitmq-3.12-performance-improvements/
Explore how RabbitMQ priority queues work by using the x-max-priority attribute to assign 1–255 priorities, observe delivery order, performance implications, and caveats like ttl, max-length, and internal queue behavior.
Learn to run RabbitMQ as a Windows service by configuring with two environment variables (RABBITMQ_BASE and ERLANG_HOME) and a configuration file, using rabbitmq-service to install, start, and manage the service.
Scale RabbitMQ brokers to increase availability and fault tolerance by using clustering, federation, or shovel across geographically distributed nodes. Learn how WAN constraints and safe migrations support messaging across clusters.
Build a three-node RabbitMQ cluster to improve fault tolerance, high availability, and throughput, with replicated queues and a shared cluster name for seamless failover.
Learn how to scale in a RabbitMQ cluster by removing a node, forgetting it from the cluster, stopping its application, resetting its database, and updating remaining nodes.
Learn how shovels enable cross-cluster message transfer in RabbitMQ. Use dynamic shovels for runtime configuration to copy messages from a source queue to a target, with traceable headers.
Learn to configure federated exchanges across two RabbitMQ clusters, enabling upstream–downstream federation, policies, and management, and observe cross-cluster message transmission and routing via federation.
Practice federated queues to balance a single logical queue across clusters by linking an upstream and downstream, with messages moving to the downstream only when a consumer connects.
Learn how cluster, federation, and shovel connect RabbitMQ brokers to balance consistency and availability, enable upgrades, and operate across locations with upstream and downstream flows.
Learn to configure highly available, mirrored queues in RabbitMQ with a mirroring policy (ha-mode, ha-params), creating masters and mirrors across nodes, and choose manual or automatic synchronization.
Quorum queues provide durable, raft-based high-availability queues with a leader and followers, automatic synchronization, and read-from-followers, with tradeoffs like higher memory use and missing some classic features.
simulate network failures in a three-node RabbitMQ cluster to observe split brain, CAP theorem implications, and how pause-minority and other strategies auto or manual recoveries maintain availability and data integrity.
Explore how RabbitMQ performance testing informs architecture, scale out decisions, and operations, covering stability tests, maximum throughput, and minimum latency under an SLA.
Explore RabbitMQ throughput testing with PerfTest, installing and running scenarios from a simple producer–consumer to IoT workloads, and measure throughput, latency, and memory impact.
Explore proactive RabbitMQ monitoring practices, using RESTful API and command-line tools to track cluster and node metrics, trigger autoscaling, and quickly identify root causes.
Collect cluster metrics with rabbitmq control and the RESTful API to monitor node status, alarms, partitions, and memory usage; then track resources for exchanges, queues, and virtual hosts.
Explore the RabbitMQ memory model from a monitoring perspective. Learn how queues and binaries store messages, and how memory breakdown and strategies like allocated and RSS affect usage.
RabbitMQ alarms act as safety thresholds that block connections to prevent crashes when memory, disk space, file or socket descriptors, or Erlang process limits are exceeded.
Secure RabbitMQ by removing the default guest account, creating per-application users, and enabling TLS across all protocols to protect data in transit and disable unencrypted ports.
Explore how RabbitMQ handles authentication and authorization, define permissions with configure, read, and write, and manage complex cases like bindings, dead-letter exchanges, topic permissions, and management plugin tags.
Learn to secure RabbitMQ by creating an administrator, revoking guest access, and applying precise core and topic permissions on exchanges and queues; test publish and consume.
This course will guide you through the features and limitation or RabbitMQ. Course contains a lot of practical knowledge, examples and hands-on lectures.
If you are a beginner, don't worry, course guides you from very generic concept of queues to more advanced features. If you already have experience with RabbitMQ, you will enjoy the advanced part of it. Maybe you are in the middle and not sure if you are using RabbitMQ correctly? If so, then course will help you find answers to that questions, optionally grounding and strengthening your exiting experience. No matter what is your existing level of knowledge, after completing this course, you will be ready to become a true professional in the RabbitMQ community.
In this course, I will show you how to configure, administrate, and properly use RabbitMQ. We'll start by forming a cluster and installing plugins. Then we will go through the details of the AMQP protocol, different types of queues, exchanges, virtual hosts, security features etc.
I will show you typical RabbitMQ patterns like work queues, publish subscribe, RPC, dead letter exchanges (DLX), delayed scheduling etc.
We will also tune-up sample cluster and analyze memory usage by running performance tests. We'll simulate failures, like partitions, and I'll show you how to fix them and properly protect your cluster.
Overall, you'll learn how to build highly available and fault-tolerant clusters in the easy way, without spending hours reading manuals.
I hope to see you in the first lecture.