Phase 12Intermediate13 of 18 in Database Design
Caching, Read Models and Polyglot Persistence
Cache-aside and friends with invalidation and stampede control, materialized views and summary tables, CQRS read models, polyglot persistence with one source of truth, and schema patterns: soft delete, history, temporal and audit tables.
Most large systems serve reads from copies of the data: caches, materialized views, search indexes, read models. The design question is always the same: who owns the truth, how does each copy get updated, and how stale may it be?
0/4 · 0%
4 topics ~34 min 5 code blocks & diagrams