ED0 · Event Driven Patterns
Commands, Events & State
Name the input. Name the output. Choose the step.

Overview
A command asks for a decision, an event records an outcome, and state describes a condition. Sketch these three kinds of information before choosing queues, workers, or services. This guide maps the nine transitions in Yves Goeleven’s Processing Patterns taxonomy; ED10 and ED11 add coordination across participants.
When to use
- Reviewing an event model with mixed responsibilities
- Deciding what belongs in a handler, projection, or integration adapter
Quick assessment
- Is this message a request or an established fact?
- Who can reject the requested change?
- Which component owns the resulting state?
In practice
How it works
Make it work
Sketch one user journey and mark each transition. Assign the decision owner, durability boundary, and evidence of completion.
The trade-off
This is a responsibility map, not a deployment plan. Messaging and event sourcing are separate choices.
What is the input, and what is the output?
Key patterns
| Input → output | Command | Event | State |
|---|---|---|---|
| Command | ED7 Delegation | ED2 Aggregate Root | ED6 Downstream Activity |
| Event | ED8 Reaction | ED5 Event Processing | ED3 Projection |
| State | ED1 Task Processing | ED4 Event Generator | ED9 State Transformation |
Try it: a booking screen shows available seats; a traveler requests a reservation; the reservation owner accepts or rejects it; a read view shows the result. Label each handoff before deciding how to deploy it.
Coordination: ED10 Choreography distributes next-step decisions; ED11 Orchestration tracks them centrally.
Counter-patterns
- Calling an instruction an event to hide its intended recipient
- Choosing a broker before understanding the business flow
- Treating a read view as permission to change authoritative state
Reality check
This is a responsibility map, not a deployment blueprint. Several steps can run in one application. Messaging, separate databases, and event sourcing are independent choices.