How can parts of a system react to changes in real time without being tightly coupled to each other? It lets producers and consumers evolve and scale independently.
When to use it
Systems with many services reacting to the same business facts, such as orders or payments. Real-time processing like fraud alerts or telemetry. Integrations where producers and consumers belong to different teams and release on different cycles.
Where it comes from
Event-driven architecture grew out of messaging middleware and complex event processing in the 1990s and 2000s. It became mainstream with microservices and streaming platforms such as Apache Kafka. No single author is reliably credited.
Gartner and Roy W. Schulte · 2003
Sheet 2/4
How it works
A producer emits an event describing something that happened, such as 'order placed'. A broker or event bus stores and routes it. Any number of consumers subscribe and react in their own time, without the producer knowing who they are. Because communication is asynchronous, components scale and fail separately. The trade-off is that flow becomes implicit, so ordering, duplicates and consistency need explicit design.
You need
A list of business events, domain boundaries, throughput and latency needs, and a choice of broker or streaming platform.
You get
An event catalogue, producer and consumer map, broker topology, and agreed rules for schema, ordering and delivery guarantees.
Sheet 3/4
Case
Illustrative case
Lumen Retail, an online shop, had its checkout service call inventory, shipping and email services one by one, so a slow email service delayed orders. The architect introduced an 'OrderPlaced' event on a Kafka topic. Checkout publishes it and returns at once. Inventory, shipping and email each subscribe and process independently. During a peak sale email lagged by ten minutes but checkout stayed fast. The team also had to add idempotent handling after a duplicate event shipped one order twice, and a dashboard showing consumer lag.
A fictional company used to explain the model.
Sheet 4/4
Caution
When to avoid it
Small applications where a direct function or API call is simpler.
Teams without the tooling to trace and debug asynchronous flows.
Common mistakes
Publishing events that are really commands in disguise.
Skipping schema versioning so consumers break on change.
Assuming delivery is exactly once.
Having no tracing, so nobody can see where an event went.
Known weaknesses
Control flow is hard to follow and debug
Eventual consistency complicates business rules
Event ordering and duplicates need deliberate handling
Broker becomes critical infrastructure to operate
How to apply it in 5 steps
How to apply it
Event-Driven Architecture (EDA)
5 steps
01of 5
Step 1 of 5: Identify business events
List meaningful state changes in past tense, such as 'OrderPlaced'.
01
02of 5
Step 2 of 5: Define producers and consumers
Assign which component emits each event and which ones react.
02
03of 5
Step 3 of 5: Choose the routing mechanism
Select a broker, bus or streaming platform that fits volume and ordering needs.
03
04of 5
Step 4 of 5: Specify schemas and guarantees
Fix event formats, versioning, ordering and delivery semantics, with idempotent consumers.
04
05of 5
Step 5 of 5: Add observability
Trace events end to end and monitor consumer lag and dead-letter queues.
05
Click to unfold
Use the arrow keys to move between steps, Home and End for the first and last, and Enter to fold or unfold the booklet.
View all 5 steps
01
Identify business events
List meaningful state changes in past tense, such as 'OrderPlaced'.
02
Define producers and consumers
Assign which component emits each event and which ones react.
03
Choose the routing mechanism
Select a broker, bus or streaming platform that fits volume and ordering needs.
04
Specify schemas and guarantees
Fix event formats, versioning, ordering and delivery semantics, with idempotent consumers.
05
Add observability
Trace events end to end and monitor consumer lag and dead-letter queues.
Which decisions it helps with
Decision profile
A tool to explore ideas or options on a product or service.
Keyboard: Tab to the sheet, use the arrows to explore the assessments and their questions, and press Escape to close the note.
IIdentity
Type of tool
Other formatDoes not fit neatly into the available categories
The questionWhat kind of tool is it?Assessment · Other format · 40 %
Decision stage
Generate ideas or optionspossiblealso: choose between existing options (26 %)
The questionWhat stage of the decision are you at?Assessment · Generate ideas or options · 48 % · also Choose between existing options · 26 %
What it applies to
A product or servicevery likely
The questionWhat is the decision about?Assessment · A product or service · 86 %
Discipline
Agile and software developmentvery likely
The questionWhich discipline does it come from?Assessment · Agile and software development · 96 %
IIIResources required
TimeWeeks or monthsThe questionHow much time can you spend on this?Assessment · Weeks or months · confidence 55 %
PeopleSeveral teamsThe questionHow many people will take part?Assessment · Several teams · confidence 49 %
DataA few readily available factsThe questionWhat data do you have available?Assessment · A few readily available facts · confidence 57 %
ExpertiseWorks best with a facilitatorThe questionDoes anyone have experience with methods like these?Assessment · Works best with a facilitator · confidence 90 %
Time horizonOne to three yearsThe questionHow far ahead do you need to plan?Assessment · One to three years · confidence 63 %
ScopeThe whole organizationThe questionWho will this decision affect?Assessment · The whole organization · confidence 62 %
FrequencyOccasionallyThe questionIs this a one-off decision or something you expect to repeat?Assessment · Occasionally · confidence 80 %
The team’s own knowledge is enoughThe questionCan you speak to customers, users or people outside your organisation?Assessment · The team’s own knowledge is enough
IITen axes
The dot shows which end the model favours. A hollow dot means no clear preference.
DirectionExecutionThe questionAre you setting direction or improving day-to-day operations?Assessment · Mostly execution · confidence 68 %
Top-downmixedBottom-upThe questionShould leadership set the direction, or should the answer come from the people doing the work?Assessment · no clear preference (probability is spread across several levels)
PeopleProcessesThe questionIs this mainly a people problem or a process problem?Assessment · Processes · confidence 89 %
Generate optionsNarrow down optionsThe questionDo you need to generate more options or narrow them down?Assessment · Both equally · confidence 40 %
Step-by-step analysisIntuition and experienceThe questionWould you rather work through the evidence step by step or draw on the group’s experience?Assessment · Mostly analysis · confidence 82 %
A strict sequence of stepsA flexible frameworkThe questionWould you prefer a precise set of steps or a framework you can adapt?Assessment · Mostly a flexible framework · confidence 82 %
Protect what we haveTake a riskThe questionDo you need to protect what you have or take a chance on something new?Assessment · Both equally · confidence 60 %
Improve what we haveFundamental changeThe questionDo you want to improve what you have or change it fundamentally?Assessment · Mostly fundamental change · confidence 55 %
Inside the organisationOutside the organisationThe questionWhere do you expect to find the answer, inside your organisation or in the market?Assessment · Inside the organisation · confidence 80 %
Understand firstAct nowThe questionDo you need to understand the situation first or act now and learn as you go?Assessment · Mostly understand first · confidence 44 %
IVUseful when
Applicable traits
How it generates ideasWorks through a structured series of questionsThe questionHow does it generate new ideas?Assessment · Works through a structured series of questions · 65 %
Product stageGrowing an existing productThe questionWhat stage is your product at?Assessment · Growing an existing product · 59 %
How was this profile calculated?
An automated system reads each model card and answers the same questions for every model. This profile has answers for 77 of 77. No answers are entered by hand.
A very high probability counts as “yes” and a very low one as “no”. Intermediate answers are hidden.
On the axes, mixed means the model favours neither end.
Swabey, P. (2007). The age of events. Information Age.States that in 2003 analyst firm Gartner introduced the term EDA, the event-driven architecture, as a complement to SOA.View source: The age of events (opens in a new tab) ↗
Fowler, M. (2017). What do you mean by "Event-Driven"?. martinfowler.com.Warns that event notification hides the overall logical flow (often only discoverable by monitoring live systems), that event-carried state and event sourcing add copies, replay and schema-evolution problems, and that the patterns are often confused and misused.View source: What do you mean by "Event-Driven"? (opens in a new tab) ↗