Event Storming
Escrito por Darjus Kazakevic · revisado el
A wall of sticky notes, in time order, until the boundaries show.
Event storming is a workshop created by Alberto Brandolini. Domain experts and engineers stand at a long wall of paper. Everyone writes things that happen in the business on orange sticky notes, in past tense: “Order Placed”, “Payment Captured”, “Parcel Shipped”. Then the group sorts them into a timeline and argues until it is right.
The result is a shared picture of the process and a first guess at its boundaries. Groups of events that change together suggest aggregates. Places where people argue about a word suggest bounded contexts. It needs the right people in one room for a few hours.
En esencia — Put every business event on a wall in time order with experts in the room, then group the events and draw boundaries where the language changes.
Cuándo recurrir a él
Recurre a él cuando
- Nobody agrees what really happens in a process end to end
- You need candidate boundaries before committing to services
- A new team must learn a large domain fast
Reconsidéralo cuando
- No domain experts can attend: engineers alone just guess
- You need the exact words of one flow: domain storytelling is better
- The process is small and already well understood
The notes on the wall
- Domain event (orange)
- Something that happened that a domain expert cares about, written in past tense. The whole wall starts with these.
- Command (blue) and actor (yellow)
- A command is the action that causes an event (“Place Order”); an actor is who does it (“Customer”). Add them after the timeline is right.
- Hotspot (pink)
- A note for a question, a conflict or a pain point. Hotspots mark where people disagree, and disagreement about a word often marks a boundary.
- Pivotal event
- An event that marks a change of phase, like “Order Placed” or “Parcel Shipped”. Vertical lines at pivotal events split the wall into candidate contexts.
Reglas de diseño
- Draw boundaries where the language changes
- A boundary is not where the process pauses but where one word starts to mean two things, like “paid” meaning authorised in Sales and settled in Billing. Where people argue, look for a seam.
- Bring the people who do the work
- Invite experts who do the process daily, not only managers, plus engineers. Without experts, engineers only guess; without engineers, nobody turns the wall into a design.
- Treat the result as a hypothesis
- Groups are candidate aggregates and seams are candidate contexts. Check each one against the code, the data and the teams before you build services around it.
Errores habituales
- Writing actions or screens (“Click Pay”) instead of past-tense events
- Only engineers in the room, so the wall shows the code, not the business
- Treating the boundaries as final and building services the next week
- Losing the output: no photos, and no owner for the hotspots