Messaging & Event-Driven Systems
46 short lessons with interactive exercises. You start from zero and move from beginner to advanced.
- 46 lessons
- 3 levels
- Arabic & English
- Start free
What you will learn
- Choose between a queue and Pub/Sub, and tell commands from events
- Design consumers, acknowledgements, retries and a DLQ to match delivery guarantees
- Manage message ordering, versioning, backpressure and broker monitoring
- Apply Outbox, Saga, Event Sourcing and CQRS in real distributed systems
About this course
A complete conceptual course on designing asynchronous systems with queues, Pub/Sub and message brokers. It starts with why we need messaging, synchronous vs. asynchronous, the queue, the producer and the consumer, the message broker, background jobs, Pub/Sub, events, commands vs. events, retries, the dead letter queue, ordering, RabbitMQ and Kafka. It moves on to competing consumers, consumer groups, acknowledgements, delivery semantics (At-Most-Once, At-Least-Once and Exactly-Once), idempotent consumers, retry strategies and exponential backoff, poison messages, the dead letter queue in practice, event schemas, message versioning, queue monitoring and scaling consumers. It then reaches event-driven architecture, eventual consistency, the Outbox pattern, the Saga pattern, Event Sourcing, CQRS, Kafka partitions, ordering guarantees, backpressure, broker high availability, disaster recovery, cross-service events, message observability and broker security, and ends with hands-on design studies (a notification system, an order processing system, and choosing RabbitMQ or Kafka). A theory course with no runnable code, full of comparisons, varied analogies and production examples.
Skills
- Messaging systems
- Kafka
- Event-driven architecture
- Distributed systems
Lessons
Every lesson is short, and the exercises after it lock in what you learned.
Beginner level
14 lessons
- Why Do We Need Messaging?
- Synchronous vs Asynchronous Communication
- Queue
- Producer & Consumer
- Message Broker
- Background Jobs
- Publish/Subscribe (Pub/Sub)
- Events
- Commands vs Events
- Retry
- Dead Letter Queue
- Message Ordering: An Introduction
- RabbitMQ - The Concept
- Kafka - The Concept
Intermediate level
15 lessons
- Competing Consumers
- Consumer Groups
- Acknowledgements
- At-Most-Once
- At-Least-Once Delivery
- Exactly-Once - The Concept
- Idempotent Consumers
- Retry Strategies
- Exponential Backoff
- Poison Messages
- DLQ in Practice
- Event Schema
- Message Versioning
- Queue Monitoring
- Scaling Consumers
Advanced level
17 lessons
- Event-Driven Architecture
- Eventual Consistency
- Outbox Pattern
- Saga Pattern
- Event Sourcing - An Introduction
- CQRS — An Introduction
- Kafka Partitions
- Ordering Guarantees
- Backpressure
- Broker High Availability
- Disaster Recovery
- Cross-Service Events
- Message Observability
- Broker Security
- Notification System Design
- Order Processing System Design
- RabbitMQ vs Kafka
Start your first lesson today
Get the Lammah app and pick “Messaging & Event-Driven Systems” from the courses. Each lesson takes a few minutes, and you can start free.






