Light and Dark Side of the Event-Driven Design
summary
Argues that event-driven systems using Kafka and Event Store DB trade synchronous guarantees for at-least-once delivery behavior, shows the failure modes that produce duplicates, lost updates, and out-of-order processing, and demonstrates fixes: the outbox/inbox patterns, idempotency checks, phantom-record handling, back-pressure vs. competing consumers, and saga/compensating transactions. Shows UI workarounds (long polling, websockets), describes replayable event stores and tracing with correlation ids, and warns that ordering guarantees exist only per-partition not globally.
AI-written summary · about
chapters (22)
- 0:00VIRTUAL
- 0:10GOLD
- 0:21PLATINIUM
- 1:00Who am I?
- 2:45Use Case description
- 5:09Classical approach: Monolith
- 5:45Microservices
- 8:27Streaming System
- 10:46Event-Driven services
- 12:23Delivery Guarantees
- 18:52Causal Consistency
- 19:12Eventual Consistency
- 28:59Events Ordering
- 36:15Idempotency
- 39:52Distributed transactions
- 40:26Two-Phase commit
- 43:36Distributed Processes in EDA
- 48:02Auditability & Tracing
- 49:48Summary
- 51:17Event-Driven Design
- 51:27The choice is yours
- 51:50Thank you! :
