The Q&A guide to decode Event Modeling: the 3 system building blocks, the completeness check, the pure Command Handler — and 8 steps to get your team started.
Why this booklet
You join a team that talks about "slices," "Read Models," and "Information Completeness Checks." Your colleagues sketch orange and blue sticky notes on a Miro board (an online collaborative whiteboard) and walk through the system from left to right. You have no framework to hook your understanding on.
This 72-page Q&A booklet answers exactly that. Martin Dilger, author of the 650-page Understanding Eventsourcing, extracted the 17 most common questions about Event Modeling, the visual design methodology that precedes and structures implementation. This is not a full tutorial and not the big book. It is a quick-start guide to decode your team's vocabulary and model your first information flow on your own.
The ideas that stick
Six ideas worth carrying from this booklet, in the order they build on each other.
1Event Modeling solves a communication problem, not a technical one
Picture a project kick-off meeting. The developers talk about aggregates (clusters of related objects that change together as one unit) and APIs. The product owner talks about user journeys. The tester talks about use cases. Nobody is talking about the same thing.
Event Modeling answers this. The method produces a visual board (a sequence of sticky notes readable left to right) that developers, testers, and business stakeholders (the people on the business side of the project) can all read without prior training. Dilger puts it this way: "a universal language that describes requirements so clearly and precisely that both business stakeholders and developers can fully grasp what needs to be built." (ch. 2)
On this diagram, the user acts on the screen. That sends a command (the order given), which produces an event (the recorded fact). The event feeds a read model (a ready-to-display view of data), which updates the screen.
Why it works: every box on the board names something everyone recognizes.
- A fact that already happened in the system: an event, which is never changed afterwards.
- An intention: a command.
- What the user sees: a screen, or the read model that fills it.
Everyone understands the names written on those boxes ("SeatBooked", "Book a seat").
One important thing to know up front: Event Modeling does not require Event Sourcing. Event Sourcing means storing the full history of events rather than just the current state. Must you adopt it to use the method? Dilger is explicit: "The answer is a clear no." (ch. 4) It is just one possible way to implement a system modeled with Event Modeling. You can apply the method to a legacy CRUD system (one that only creates, reads, updates and deletes database rows), a SQL database, or anything else. The board describes information flow, not storage technology.
Even without Event Sourcing, you can draw the events: an "event" box names a business fact, for example "seat booked". What you record behind it, a SQL row or a history, is chosen afterwards.
To remember: the board is first a way for business people and developers to understand each other. What remains is how to build it: only three kinds of slices, which is the next idea.
2Everything in the system is one of three slices
Here is the complete list of slices in Event Modeling. A slice is a piece of the model small enough to be built in one go. There are exactly three. A slice is not a lane: it chains boxes taken from several of the lanes of idea 1. One word up front: an automation is a program that acts on its own when an event arrives, with no user involved (it is the gear in the diagrams).
- State Change Slice: the only way to bring information into the system. A user clicks "Submit Order" (the purchase) → the command
PlaceOrder(the instruction given to the system) is sent → the eventOrderPlacedis recorded. Always in that order: screen (or automation), command, event. One command per slice, no exceptions. - State View Slice: the only way to get information out of the system. The event
OrderPlacedpopulates the read modelActiveOrders, which the "My Orders" screen then displays. Always in that order: one or more events, a read model, then a screen (or an automation). - Third Party Integration: a call to an external system, handled by an automation (the gear). Always in that order: an event, an automation, a command. The HTTP call lives inside the gear. The business logic stays in the Command Handler (the code that receives a command and decides which events result).
To remember: three shapes, and no more, are enough for the whole system. The third one, the Third Party Integration, often surprises people. Let's follow it on a real case, a payment through Stripe, which is the next idea.
3An external call stays inside the automation: the Stripe example
The Third Party Integration surprises most people. When you model an external API call (say, a payment gateway), the automation calls the external API. But the command it issues afterwards concerns your system only. The command ConfirmPayment is not "call Stripe." A command says what your system must record, not what an external system must do. It is "record that payment has been confirmed," with the result from Stripe already in the command payload (the data it carries). The Stripe result therefore enters your system through a command, like any other information.
Here is the full flow, with Stripe as the example. It chains three slices: a State Change (step 1: screen, command, event), a Third Party Integration (step 2: the event wakes the automation), then a second State Change (step 3 or 4: the automation sends a command, which produces an event).
- State Change. Screen →
SubmitPaymentcommand →PaymentSubmittedevent. Intent recorded. No Stripe call yet: your system has only noted that a payment was requested. - Automation triggered.
PaymentSubmittedwakes up the Process Manager (the PM, the automation of this slice: a program that listens to events and drives the external call). The PM owns all the infrastructure: it calls the Stripe HTTP endpoint, handles timeouts (waits that run out), and tracks attempt count in its own replayed state (state rebuilt by re-applying its own past events in order, with no database query and no external call). - Happy path. Stripe returns 200. The PM issues
ConfirmPayment { stripeChargeId, amount }. The Command Handler receives a command whose payload already contains the Stripe result. It emitsPaymentConfirmed. Business logic never touched Stripe. - Retry path. Stripe times out. The PM retries, and if an attempt succeeds, we fall back to step 3. It knows how many attempts it has made from the counter in its state. After three failures it issues
AbandonPayment→PaymentFailed→ compensating flow (a corrective sequence that undoes what earlier steps committed: cancel the purchase order, notify the user).
Process Manager or Saga? The choice depends on what has to be driven. For a single external integration, use a Process Manager. It is an orchestrator: a conductor that drives the steps and keeps internal state (the replayed state of step 2, so it always knows where it left off). It owns the Stripe call and the retry logic, and it replays cleanly without re-triggering side effects (such as calling Stripe again).
When several services are involved, you need a Saga. It is a series of steps spread across several services, where each step that fails has its own compensating action, the same idea as the compensating flow above. It fits when several independent services must coordinate across bounded contexts (distinct sub-systems with their own data model and vocabulary, like the hotel and the car here), for example a hotel-booking service and a rental-car service: if the car is unavailable, the Saga cancels the hotel. A Saga can be orchestrated, meaning driven by a Process Manager, or choreographed: each service then listens for the event that concerns it and acts alone, with no central coordinator. The rule of thumb is the number of systems to coordinate. One external system, a Process Manager. Several services, a Saga.
To remember: the whole system is drawn with three slices, and an external call stays in the automation, never in the business logic. What remains is making sure the board hides no missing information: that is the completeness check, the next idea.
4The Information Completeness Check: no assumption left invisible
This check answers a classic scenario: you model a read model "Available Balance" that shows amount – holds (the amount minus the sums set aside for operations in progress). In implementation, you discover that holds is never stored in any event. Two weeks of rework. Dilger: "A major reason software projects get delayed is due to incorrect assumptions about data." (ch. 5)
The Information Completeness Check forces you to verify, for every single attribute in a read model (every value it shows), that the value comes explicitly from a connected event. On the diagram below, an arrow links each attribute to the event that provides it. No arrow, no data: the team marks the attribute ✗ (in red). Implementation cannot begin until everything is ticked ✓. The rule applies to all elements (commands, screens, automations): every attribute must be traceable to a source.
ActiveOrders read model asks for discountCode, which no event provides. The arrow is red, implementation is blocked.With a screen mockup in front of you (the drawing of the screen before it is coded), run the check above on every field: where does its value come from? A screen field should come from a read model, a command field from a screen or an automation. A field nobody can trace is a new "holds", which can cost two more weeks.
Why make the source explicit at modeling time rather than at implementation time? Because the fix takes minutes then: you just define the source event. In a sprint review (the end-of-iteration demo, where the gap is found), it costs a rewrite of the event schema (the structure of an event's data), the projector (the code that builds the read model), and possibly the UI.
To remember: every value on the board must be traceable to an event, otherwise the board is not ready. What remains is where those events come from: inside the system, the Command Handler turns a command into events, under the control of an aggregate, the next idea.
5Aggregate boundaries and the pure Command Handler
Two design rules keep the model simple: draw aggregate boundaries in the right place, and keep the Command Handler pure, meaning free of any external dependency.
On aggregates: "An aggregate is a consistency boundary." (ch. 10) In other words, what is inside stays consistent at every moment. When a command changes two aggregates at once, it usually means the boundaries are wrong, not that the command is wrong. Dilger's test: do these two things really need to be consistent at the same moment? If so, they belong to the same aggregate. If not, they are two aggregates, with one command each.
Take booking a hotel and a rental car: does the car need to be confirmed atomically with the hotel (both succeed or neither does)? Almost certainly not. Book the hotel, then the car, and cancel the hotel (that is the compensation of idea 3) if the car is unavailable. These are two eventually consistent operations: consistent over time, not at the same moment.
On the Command Handler: it is the code that decides, for one aggregate. It takes the past events of that aggregate and one command, and returns the new events. Nothing else. "No external dependencies, no Event Store." (ch. 6) The Event Store is the database that keeps every event: the handler does not fetch them, the code that calls it hands them over. No HTTP calls, no database reads.
As a result, a test needs no mocks (fake objects standing in for the database or the network): "To test a Command Handler, you ideally don't need to mock anything." (ch. 6) The test format is always GIVEN (the past events, which give the current state), WHEN (the command), THEN (the new events). A test looks like this:
GIVEN OrderPlaced
WHEN CancelOrder
THEN OrderCancelled
A test fits in three lines because the handler is a pure function: same inputs, same outputs, nothing else involved.
The Read Model does the other half of the job. It takes events and returns a view, computed purely from past events (the code that builds it is the projector of idea 4). There is no command, because a Read Model decides nothing: it observes and renders. Testing it uses GIVEN (events) / THEN (the resulting view). No WHEN.
The symmetry in one line:
| Input | Output | |
|---|---|---|
| Command Handler | past events + command | new events |
| Read Model | events | view |
To remember: a command changes only one aggregate, the Command Handler decides with no dependencies, the Read Model shows without deciding. What remains is where to start: a first workshop, which is the next idea.
6Getting started in 8 steps: one workshop, then a model ready to implement
Here are Dilger's 8 steps for a first workshop, in a team new to Event Modeling:
- Introduction to Event Modeling: one person with experience explains the method (30 min).
- Event brainstorm: everyone together lists all events in the system. More people is better. The phase is chaotic, and it is fine for it to be imperfect.
- Storyboard: put the events in order. Find the "story" of the system, left to right.
- Group events: spot the first groups of events that belong together. It does not need to be perfect, it will evolve.
- Add screens: make the model visual, give the events a context.
- Add commands, read models, automations: on one group of events at a time (the ones from step 4), not on the whole model.
- Define swimlanes: here, a lane stands for a sub-system (a part of the system with its own responsibility, like billing or shipping), not for a type of box as in idea 1. This is the first conversation about the boundaries between sub-systems and about ownership.
- Model slices in detail: for each slice (idea 2), full attributes, Given/When/Thens written, and the Information Completeness Check ticked ✓ (idea 4).
"One well-executed slice is more valuable than four half-finished ones." (ch. 16) Once the slices are detailed (step 8), the model should be detailed enough to be implemented by anyone on the team without asking for explanation.
The same breakdown organizes the work: Dilger also ties the model to Jira (the ticket tracker).
| Event Modeling | Jira |
|---|---|
| One slice | One ticket |
| One chapter (a group of slices that belong together) | One epic, a large piece of work that groups several tickets |
A slice goes through five states: Created, Planned, Assigned, Review, Done. Any change to a "Done" slice reopens the work: it is treated as a new slice, which goes back to Created and runs the whole cycle again.
To remember: one workshop, events first, then detail one slice at a time, which Jira tracks from Created to Done. The two things that surprised me most follow.
Two things I didn't know
- The "pure Command Handler" rule (idea 5) is not just a code style: it is what guarantees that all business logic lives in the domain. The moment a Command Handler calls an external service, business rules start leaking into the infrastructure, and the Given/When/Then test can no longer verify them.
- A Read Model should not be designed to be reusable across many screens. Dilger's rule of thumb: one dedicated Read Model per UI component. A shared "CustomerStatus" read model that many slices consume sounds practical but leaks implementation details into the model and erodes its clarity over time.
My honest take
Dilger knows his subject. The Information Completeness Check alone justifies reading this booklet: it formalizes something every modeling workshop stumbles on informally. Someone draws a read model, someone asks "but where does this field come from?", and nobody knows. Making that question a first-class constraint that blocks implementation is a simple and powerful idea.
The booklet is honest about its limits: it points back to Understanding Eventsourcing (650 pages) for everything about implementation. What it gives in 72 pages is enough to follow a team conversation, run a first workshop, and understand why your colleagues debate aggregate boundaries the way they do.
Two caveats to be clear about. First: roughly 15% of the content is commercial (the Miro toolkit from Nebulit, Dilger's company, the Accelerate consulting program, calls to contact Martin). It is not hidden, but it is there. Second: Event Modeling is a visual method. The PDF format loses half its substance (the Miro board screenshots, the color-coded swimlanes, the arrows). If you can, find an example board to look at alongside the text.
Odilon
Still relevant in 2026?
The book was published in January 2025, and what it describes is information flow, which needs no particular technology as idea 1 showed, not a technology that ages.
One angle has added relevance since the book came out: AI agents consume sequences of events (streams) and read models the same way human developers do, with the same need for well-named, self-describing flows. A clean event language built with Event Modeling is as useful to a language model generating code as it is to a developer reading a stream. So name your events so that an agent can understand them without your help.
For whom?
Read it if
- You are joining a team that practices Event Modeling and want to decode the vocabulary quickly
- Your team is considering adopting Event Modeling and you want a short introduction to share with everyone
- You know Event Sourcing implementation but not the visual design methodology that goes with it
- You have read Exploring CQRS and Event Sourcing and want the modeling-first perspective
Skip it if
- You need an implementation guide (event versioning, projections, Event Store setup): read Understanding Eventsourcing directly
- You have already worked in Event Modeling with an experienced team: nothing new here
- You do not have access to Miro or an equivalent visual tool: the method is hard to practice without a collaborative board
Going further
This booklet covers Event Modeling, the design phase. For what comes next:
- Implementation on a real project: Exploring CQRS and Event Sourcing (Microsoft P&P, free PDF) covers CQRS, Event Sourcing, Process Managers and Sagas (seen in idea 3) on a real project, with the honest trade-offs and the hard-won lessons.
- The DDD (Domain-Driven Design) context that frames when to apply Event Sourcing at all: Learning Domain-Driven Design (Khononov).
- The full 650-page treatment of Event Sourcing implementation (versioning, projections, stream design): Dilger's own Understanding Eventsourcing (Leanpub).
- The order to read these books in: my comparison of Event Sourcing and CQRS books.
Comments (0)