CRUD — store current state. Event Sourcing — store all events.
CRUD:
CRUD:
Account balance: $100
Deposit $50 → Balance: $150
(Previous state lost)
Event Sourcing:
Event Sourcing:
Events:
1. AccountCreated: $0
2. Deposited: $100
3. Deposited: $50
Current: $150 (derived)
Key differences: