00 /What You Will Learn
- Understand why normalized 3NF schemas excel for write commands but choke under high-frequency read dashboards.
- Reproduce the negative control: monolithic 4-table SQL joins degrading latency and locking database resources.
- Implement atomic domain mutations alongside domain event emission using the Transactional Outbox pattern.
- Build an asynchronous projection engine transforming event streams into denormalized Redis read models.
- Benchmark sub-millisecond O(1) read latency offloading 100% of analytical read traffic from the write OLTP database.
- Implement monotonic version guards to safely discard delayed or out-of-order event projections.
- Rebuild corrupted read caches from scratch by replaying the immutable event log.
Before you start
Finish Lab 41 (Transactional Outbox Pattern) and Lab 54 (PostgreSQL CDC Logical Decoding) first. You should understand how transactional event logs prevent dual-write bugs and how asynchronous workers tail database changes. Docker Desktop must be running.