Event Sourcing with MongoDB [Video]
Event Sourcing is a powerful way to think about domain objects and transaction processing.
Join the DZone community and get the full member experience.
Join For FreeEvent Sourcing is a powerful way to think about domain objects and transaction processing. Rather than persisting an object in it's 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.
Published at DZone with permission of Dana Groce, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.
Comments