Data Across the Seam
Shared data โ CDC/log-tailing (+ inventory extraction) โ outbox โ event-sourcing/CQRS โ ACIDโACD.
From Shared Data to Owned Data
A foreign key is a dependency the database enforces silently. Database-per-service trades it for autonomy, snapshots and eventual consistency.
Transaction Log Tailing, CDC & Extraction 3: Inventory
Log-tailing CDC with Debezium bridges the monolith's tables during the transition; Inventory leaves behind a gRPC contract with a decomposed database and an explicit compensating Release.
The Outbox Pattern, Done Right
Transactional outbox versus dual write: idempotent consumers, ordering by aggregate key, relay latency, and when to move from polling to log-based CDC.
Event Sourcing & CQRS
CQRS splits a write model from event-fed read models; event sourcing makes the log the record and is kept light and optional here. The costs of each.
ACID โ ACD: Living Without Isolation
Dirty reads, lost updates and non-repeatable reads come back once services commit independently; what survives the cut, what a saga rebuilds and how to bound the rest.