08
Concepts
Event-Driven Patterns
The patterns that make distributed systems reliable — from the dual-write problem to guaranteed event delivery across service boundaries.
Event Sourcing
Store state as a sequence of events instead of a current snapshot. Every state transition becomes auditable and replayable.
Event LogReplayAudit TrailSnapshots
Open topic →
CQRS
Separate the write model from the read model. Read replicas, projections, and the eventual consistency trade-off this forces.
Command ModelRead ModelsProjectionsConsistency
Open topic →
Outbox Pattern
The dual-write problem and how the transactional outbox solves it — writing to DB and publishing an event atomically.
Dual WriteTransactional OutboxAtomicityAt-Least-Once
Open topic →
CDC
Change Data Capture — reading the database write-ahead log to stream changes downstream without polling or dual writes.
WAL TailingDebeziumLog MiningStreaming
Open topic →
Inbox + Outbox
Combining inbox and outbox for end-to-end reliable delivery — idempotent consumers, deduplication, and the full event flow.
Inbox PatternIdempotencyDeduplicationFull Flow
Open topic →