Streams & PubSub

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.

Chapter 05

Module Review: Streams & PubSub

[!NOTE] This module explores the core principles of Module Review: Streams & PubSub, deriving solutions from first principles and hardware constraints to build world-class, production-ready...

Start Learning