Streams & PubSub
Welcome to the Streams and PubSub module. In this module, you will learn how to build reliable message queues, scale processing, and use advanced patterns.
Module Contents
1. Streams Fundamentals
Learn the basics of Redis Streams, the append-only log data structure. Understand XADD, XRANGE, and the internal Radix Tree implementation.
2. Consumer Groups
Scale your consumption with Consumer Groups. Learn how XREADGROUP and the Pending Entries List (PEL) enable reliable, parallel processing.
3. Pub/Sub Patterns
Discover the fire-and-forget messaging pattern. Understand when to use Pub/Sub vs Streams, and how to implement real-time notifications.
4. Event Sourcing & CQRS
Implement advanced architectural patterns using Redis Streams as your single source of truth.
Review & Cheat Sheet
Test your knowledge with flashcards and a quick reference guide.
Module Chapters
Streams Fundamentals
Streams Fundamentals
Start LearningConsumer Groups
Consumer Groups
Start LearningPub/Sub Patterns
Pub/Sub Patterns
Start LearningEvent Sourcing & CQRS
Event Sourcing & CQRS
Start LearningModule Review: Streams & PubSub
Module Review: Streams & PubSub
Start Learning