Event sourcing is 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.
Event sourcing is a deceptively radical idea which challenges our contemporary notions about transaction processing but is also a mature pattern with a long history. Joe Drumgoole explores how event processing is used across a spectrum of use cases, including database engines and financial systems, and compares event sourcing with Lamdba architectures to highlight the similarities between these patterns.
Joe Drumgoole is director of developer advocacy EMEA at MongoDB, where he helps developers to understand and utilize MongoDB in order to unleash the power of software and data for innovators everywhere. Joe is a software entrepreneur with over 25 years experience with successful product delivery at Digital Equipment Corporation, Nomura, Oracle Corporation, CR2, and Cape Clear Software. He is a regular speaker at technical conferences and has provided mentoring and advice to many startups over the past 10 years.
©2016, O’Reilly UK Ltd • (800) 889-8969 or (707) 827-7019 • Monday-Friday 7:30am-5pm PT • All trademarks and registered trademarks appearing on oreilly.com are the property of their respective owners. • email@example.com