Event Sourcing & CQRS
Store what happened; build read models for how you want to query it. Lesson 15 of Level 8: Data-Intensive Systems. Based on DDIA.
Level 8 · Data-Intensive Systems · Lesson 15 of 15
Store what happened; build read models for how you want to query it.
Continue learning
- Batch vs Stream Processing & Data Pipelines — Previous lesson
- Why Microservices Exist — and When Not to Use Them — Next lesson
- Level 8: Data-Intensive Systems — Back to the level
Try it hands-on
- Kafka Lab — Logs, partitions, keys, consumer groups and ordering.
All lessons in Data Systems
- Storage Engines: B-Trees vs LSM-Trees
- Indexes: Fast Reads, Slower Writes
- Caching: Speed at the Cost of Truth
- Replication: Leaders, Followers & Failover
- Replication Lag: When Your Own Write Disappears
- Partitioning: Hash, Range, Hotspots & Rebalancing
- Transactions & What ACID Actually Promises
- Isolation Levels: Dirty Reads to Serializable
- Lost Updates: Optimistic vs Pessimistic Locking
- The Trouble With Distributed Systems
- Consistency Models, CAP & Consensus
- Logs & Kafka: Partitions, Offsets and Ordering
- Consumer Groups & Delivery Semantics
- Batch vs Stream Processing & Data Pipelines
- Event Sourcing & CQRS