Event Sourcing with Marten and Postgresql
Marten (https://martendb.io) is an open source library that enables .Net developers to use the rock solid Postgresql database as both a document database and event store. In this session I'll show how Marten provides "event sourcing in a box" through its integrated support for capturing event streams, projecting "read-side" views of those same event streams, and full support for storing and querying the projected views. All with one library and database. We'll go beyond the basics of event sourcing into Marten's unique abilities like live aggregation and "inline" projections when you need ACID compliance rather than eventual consistency. We'll also look at how Marten helps you deal with concurrency issues during event sourcing. And lastly, because Marten is absolutely intended for real world development, we'll dive into Marten's built in support for automated testing.
Prerequisites
It's gonna be pretty basic, so no worries about prerequisites