Module 08: Messaging & Event Streaming
The Asynchronous World
In modern distributed systems, synchronous communication (HTTP/REST) is not enough. To build resilient, scalable systems, we need to decouple services. This module dives deep into the world of Message Queues and Event Streams.
What you will learn:
- Message Queues Basics: How to use buffers to handle traffic spikes and decouple services.
- Pub-Sub Pattern: Broadcasting events to multiple microservices.
- Idempotency: The critical concept for safe retries in distributed systems.
- Apache Kafka: A deep dive into the Distributed Log, Partitions, and Consumer Groups.
Key Tools
- RabbitMQ: The Swiss Army Knife of messaging.
- Apache Kafka: The backbone of real-time data pipelines.
- Amazon SQS/SNS: Managed cloud queues.
📅 Module Schedule
| Chapter | Topic | Key Concept |
|---|---|---|
| 01 | Message Queues Basics | Decoupling & Backpressure |
| 02 | Pub-Sub Pattern | Fanout & Event-Driven |
| 03 | Idempotency | Safe Retries & Deduplication |
| 04 | Kafka Basics | The Distributed Log |
| 99 | Review & Cheat Sheet | Flashcards & Summary |
[!TIP] Messaging is the glue of Microservices. Without it, you have a “Distributed Monolith” that is brittle and hard to scale.
Module Chapters
Chapter 1
Chapter 2
Chapter 3
Chapter 4
Chapter 5