Conflict Detection and Resolution in an EventSourced System
summary
Compares pessimistic locks, optimistic concurrency and escrow/commutative updates using SQL, Oracle/ESENT history and Event Store examples, and insists event stores must support conditional append by sequence and atomic append of multiple events. Shows concrete conflict-resolution tactics: read-forward to get deltas, auto-merge when events are commutative, rebuild state and retry producing a different event sequence, or escalate for human merge; warns against publishing private event schemas to event-streaming platforms.
AI-written summary · about
chapters (18)
- 0:00Introduction
- 1:04Defining Terms
- 3:49Why Do We Care
- 4:41Example
- 5:55Concurrency controls
- 7:42Pessimistic concurrency
- 11:56Snapshotting
- 21:46Concurrency Models
- 23:08Optimistic Concurrency
- 25:43Event Source vs Event Source
- 28:23Event Source Requirements
- 29:30Conflicts
- 39:46Questions
- 47:21Event Streaming
- 49:48Event Persistence
- 51:50EventDriven Architecture
- 54:16CoS and Events
- 56:16Outro
