GLOSSARY CONCEPT • LETTER [E]

Event Sourcing

An architectural pattern where all changes to application state are stored as an immutable, sequential sequence of events rather than overwriting current state.

Technical Explanation

In banking, current account balances are calculated by replaying or snapshotting the stream of deposit and withdrawal events.

This architecture naturally provides an unalterable audit log and enables point-in-time historical reconstruction of any account state.

Worked Implementation Example

Instead of updating an account row `balance = 500`, the system appends `FundsWithdrawn { amount: 100, timestamp: ... }` to the event stream.

Operational Consideration

Use periodic balance snapshots to prevent performance degradation when replaying millions of historical events for aged accounts.

AN INFORMED NEXT STEP

Discuss implementation of these financial concepts.

Start with your architecture, integration boundaries and operational requirements.

Discuss your requirements