Jump to ratings and reviews
Rate this book

Understanding Eventsourcing: Planning and Implementing scalable Systems with Eventmodeling and Eventsourcing

Rate this book
"This is not just another technical book—it’s a roadmap to more predictable, maintainable, and successful software projects. Martin Dilger has created an invaluable resource that I believe will influence how we approach software development for years to come." - Gabriel. N. Schenker

"By reading this book, you won’t just learn new techniques — you’ll transform the way you approach software development. You’ll gain clear, actionable steps to solve problems, communicate with unprecedented clarity, and estimate projects more accurately. In essence, you’ll be equipped to dismantle complexity and foster collaboration like never before." - Adam Dymitruk

"Focusing on a practical implementaion really worked for me. I appreciate the work you have done here." - Gary Craine

"Highly recommended reading" - Michael Plagge

"Thanks for writing the book, it will save me so much time and toil. I really like the Todo pattern to simplify the Saga. Also using an aggregate for uniqueness check is very nice." - William Power

"The book is packed with knowledge and provides concrete example implementations. It advances the entire topic and makes it easier for developers to access. I can only recommend it." - Sebastian Bortz

Before you buy the print edition - new chapters are constantly added to the Leanpub Version. If you want access to these new chapters, please consider to buy the book on Leanpub.

This book gives a practical introduction to eventmodeling and eventsourcing with a focus on how to implement eventsourced systems in practice.

Unlike other books covering the topic, we will really dive into the code and build a softwaresystem basically from idea to running software using state of the art development practices.

In Part I, we´ll cover the foundations of distributed systems. You will learn about CQRS, Eventsourcing and the fundamentals that took me 15 years to learn.

Part II focuses on the modelling part - I will show you how I model information systems using Eventmodeling in a practical way.

Part III really goes into the code - finally showing how an eventsourcing system is implemented.

Part IV builds a comprehensive Pattern Catalog and gives you quick guidance no how to implement typical scenarios in eventsourced systems.

540 pages, Paperback

Published November 22, 2024

Loading...
Loading...

About the author

Martin Dilger

13 books2 followers

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
10 (52%)
4 stars
3 (15%)
3 stars
6 (31%)
2 stars
0 (0%)
1 star
0 (0%)
Displaying 1 - 5 of 5 reviews
Profile Image for Miguel Alho.
60 reviews10 followers
February 27, 2025
This is a good book to help solidify aspects of eventsourcing, and use eventmodeling in a practical manner. It's page count is misleading - though 500 pages, it's actually a very quick read.

If you have experience with event sourced approaches, you'll have a understanding of a lot of concepts already, but this book can help give new perspecitves to it. I got a few new things into my way of thinking about this, such as translators, how automation can work, how reservations can help on uniqueness, and leanred how a few existing tools are handling transactions and projections.

I do wish some aspects could have more challenging scenarios in the examples, such as more challenging validation scenarios, but this still gives good building blocks to help think about those.
Profile Image for Jan.
91 reviews10 followers
February 9, 2025
Good introduction to Event Sourcing, Event Modeling and vertical slices. Martin covers most of the topics that you will need to learn to start working with the mentioned practices, with good theoretical and practical explanations. Coding examples are in Kotlin but presented in a way that should be easy to transfer to different technology stacks.

If you already know and work with Event sourcing, you can still benefit from reading it to learn how to apply Event modeling.

If you know both, you will probably learn nothing new. "Understanding Eventsourcing" can still act as a refresher or a companion for less experienced teammates that you need to introduce to the concepts.
Profile Image for Jonas Keturka.
1 review
August 5, 2025
I did several projects using Event Sourcing and CQRS back ten years ago already. The book is a very good introduction into the concepts. What I liked the most was easy to understand business examples and solutions to it. This is not always the case. Event modeling part was new to me - which is a whole half of the book - I am sold!

I am giving 5 stars because the author is not afraid to offer their opinion on different solutions and trade-offs. Usually followed by "This is only my opinion, you don't have to do it this way". Man, I am reading a book, of course I will do it that way! Very down to earth and practical
Profile Image for kasuparu.
3 reviews
December 18, 2024
A perfect almanac of good practice approaches on Event Sourcing, including implementation bits based on Axon.
Profile Image for Michiel.
880 reviews
February 2, 2025
Sure, a lot of the material can be found in other spots. But Martin did a great job putting it all together into a coherent story. Great starting point for everyone.
Displaying 1 - 5 of 5 reviews