Event Sourcing with MongoDB

MongoDB

#Technical

Event Sourcing is a powerful way to think about domain objects and transaction processing. Rather than persisting an object in its current state, event sourcing instead writes an immutable log of deltas (domain events) to the database. From this set of events, an object's state is derived, at any point in the past, simply by replaying the event history sequentially.

Additionally, event sourcing is a deceptively radical idea, which challenges our contemporary notions about transaction processing, while also being a mature pattern with a long history. Watch the video to see how event processing is used across a spectrum of use cases, including database engines and financial systems.