---
answer: direct
beat: system-design
source: 1 article · updated: November 14, 2026
---

How does change data capture keep a cache correct?

A service reads the database's change log and invalidates or updates the matching cache entries whenever a row changes. Because it follows the database's own record of writes, it catches changes from every writer, not just the application code that remembered to clear the cache.

Answered in

Caches That Survive Change: Warming, CDC Invalidation and Partitioning Apart From the Database

Resizing a cache, replacing a node or failing over a region causes cold starts. How warming, log-driven invalidation and separate partitioning prevent them.

Crashtech Editorial November 14, 2026 System Design & Architecture

Read the full analysis

Other questions this article answers

More system design & architecture questions

Every answer on Crashtech is written by the editor of the article it comes from — never auto-summarised. Browse all answers or the System Design & Architecture beat.