Databases · Senior · Question 39 of 75
What is event sourcing?
- 1Logging HTTP requests in a table
- ✓Correct answer: Storing the sequence of changes (events) as the source of truth and deriving current state by replaying or projecting them
- 3Triggering events from database triggers
Explanation
It gives a full audit trail and lets you build new read models later. The cost: complex queries need projections, and event schemas are hard to change.