Systems & Backend

Change Data Capture

also: CDC

Streaming a database’s change log to other systems — sync caches, indexes and warehouses without dual writes.

CDC tails the database’s write-ahead log and streams every insert/update/delete as events (Debezium → Kafka is the classic stack). Downstream consumers — search indexes, caches, warehouses, embeddings pipelines — stay in sync without the application writing to two places (the dual-write problem). Events arrive at-least-once and in commit order per key.