Event Sourcing

19th June 2024

In my last post I mentioned that I recently worked on a project where we were asked to follow a CQRS and Event Sourcing approach. In that post I linked to some articles that I found useful in explaining CQRS and here I will do the same for Event Sourcing.

Martin Fowler's Event Sourcing

This is a pretty detailed intro and was useful when I was experimenting with a PoC to show how we might use event sourcing in our system.

Microsoft Learn - Event Sourcing pattern

A nice general article that included a decent section on when and when not to use event sourcing. I think this is also the first time that I saw CQRS mentioned as something to use in tandem with event sourcing.

Event Store - A Beginner's Guid to Event Sourcing

Another detailed introduction. I think this was the one that really helped me to understand what event sourcing is all about. Like the Martin Fowler article, this one was also useful when I was working on a PoC.

Chris Kiehl - Don't Let the Internet Dupe You, Event Sourcing is Hard

An interesting article that explains some of the experiences Chris Kiehl had creating an event source based application. I didn't find this article until after I had completed my work implementing event sourcing though I wish I had discovered it earlier! His concluding section really struck a chord, in the system I was working on we really only needed a CRUD model with an audit trail and there are many ways to implement that which don't require event sourcing.