What is Event Sourcing? — UK Software Development Guide
Direct Answer
Event sourcing is an architectural pattern where the system's state is determined by a sequence of events rather than storing only the current state. Instead of updating records in place, every state change is stored as an immutable event (e.g., "AccountOpened," "MoneyDeposited," "MoneyWithdrawn"). The current state is derived by replaying all events. Event sourcing enables: complete audit trail, temporal queries (state at any point in time), and event-driven integration.
Event-sourcing in the UK
Event sourcing is particularly valuable for UK regulated software. FCA regulated systems: financial event sourcing provides an immutable audit trail of every account action — exactly what FCA requires for financial record-keeping. UK GDPR and event sourcing create a significant tension: events are immutable (by design), but UK GDPR right to erasure requires the ability to delete personal data. Solutions: event compaction (replacing personal data with anonymised placeholders on erasure request), or using event sourcing only for business events (not personal data) with a separate GDPR-compliant personal data store.
Related Glossary Terms
Event-driven-architecture
Event-Driven Architecture explained for UK software developers. Event-Driven Architecture (EDA) is a software design pattern where components communicate through events — notifications...
Eventual-consistency
Eventual Consistency explained. Eventual consistency is a consistency model used in distributed systems where updates to a distributed data st...
Acid
ACID explained. ACID is an acronym describing four properties that guarantee database transaction reliability: Atomicity (all ...
Api-gateway
API Gateway explained for UK software developers. An API Gateway is a server that acts as an entry point for API requests from clients. It sits in front of one or more ba...
Blockchain
Blockchain explained for UK software developers. Blockchain is a distributed ledger technology (DLT) that records transactions across a network of computers in a way tha...
Cap-theorem
CAP Theorem explained. The CAP Theorem (Brewer's Theorem) states that a distributed data store can provide at most two of three guara...
Get Expert Advice on Event-sourcing
Speak with our UK software development experts about Event-sourcing. Free consultation, transparent pricing, no obligation.