Event Driven Design Vs Event Sourcing | EDD vs ES
Sep 28, 2024
What is Event-Driven Design (EDD)?
A design approach where systems react to events
Example: Doorbell
What is Event Sourcing?
Event Sourcing is a powerful design pattern that allows us to track every change in our system as an immutable series of events, giving us full traceability, the ability to rebuild past states, and ensuring nothing is ever lost or overwritten. Event Sourcing stores all events as the source of truth.
Example: Bank account transactions where each deposit/withdrawal is stored as an event