How to build systems whose parts can scale, fail and change independently without tight request-response coupling.
When to use it
Use it for systems with many integrations, bursty load, real-time notifications or audit needs, such as e-commerce order flows, IoT data and fraud detection. It helps when several teams must react to the same business fact.
Where it comes from
Event-driven design grew out of messaging systems, GUI event loops and, later, message brokers and event streaming platforms. No single originator is clearly attributable to the term as used here.
Gartner and Roy W. Schulte · 2003
Sheet 2/4
How it works
Producers publish events that describe something that has happened, such as an order being placed. A broker or event stream carries them. Consumers subscribe to the events they care about and act on them in their own time, without the producer knowing who they are. This loose coupling lets teams add consumers without changing producers and lets load be absorbed by queues. The cost is that flow becomes harder to follow and consistency is eventual.
You need
A map of business events, ownership of each event, a messaging platform and agreed event schemas.
You get
An event catalogue, producers and consumers implemented against it, and monitoring of event flow and failures.
Sheet 3/4
Case
Illustrative case
Kestrel Retail, an online shop, finds its checkout slows whenever the email, stock and loyalty services respond slowly. The team changes checkout to publish an OrderPlaced event and return immediately. Stock, email, loyalty and a new fraud service each subscribe. During a sale, the email service lags by ten minutes but checkout stays fast. A dead-letter queue catches malformed events and an alert fires when it grows. The team later adds an analytics consumer without touching checkout. The analytics consumer took two days to build because it only needed the existing OrderPlaced schema.
A fictional company used to explain the model.
Sheet 4/4
Caution
When to avoid it
It is overkill for simple CRUD applications and a poor fit where a caller needs an immediate, consistent answer.
Small teams without operations capacity for brokers may suffer.
Common mistakes
Publishing events that are really commands in disguise.
Changing event schemas without versioning.
Forgetting idempotency, so replays double-process.
Building so many events that nobody can trace a business flow.
Known weaknesses
Harder to debug and trace across asynchronous flows
List the facts that matter, such as OrderPlaced or PaymentFailed, with their data.
01
02of 5
Step 2 of 5: Assign ownership
Decide which service publishes each event and fix the schema and version.
02
03of 5
Step 3 of 5: Build consumers
Implement handlers that react to events, designed to be idempotent.
03
04of 5
Step 4 of 5: Choose the transport
Select the broker or stream and set ordering, retention and retry rules.
04
05of 5
Step 5 of 5: Monitor and test
Track lag, failures and dead letters, and test with replayed events.
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
Find the business events
List the facts that matter, such as OrderPlaced or PaymentFailed, with their data.
02
Assign ownership
Decide which service publishes each event and fix the schema and version.
03
Build consumers
Implement handlers that react to events, designed to be idempotent.
04
Choose the transport
Select the broker or stream and set ordering, retention and retry rules.
05
Monitor and test
Track lag, failures and dead letters, and test with replayed events.
Which decisions it helps with
Decision profile
Keyboard: Tab to the sheet, use the arrows to explore the assessments and their questions, and press Escape to close the note.
IIIResources required
TimeWeeks or monthsThe questionHow much time can you spend on this?Assessment · Weeks or months · confidence 91 %
PeopleSeveral teamsThe questionHow many people will take part?Assessment · Several teams · confidence 72 %
DataData collected for the purposeThe questionWhat data do you have available?Assessment · Data collected for the purpose · confidence 40 %
ExpertiseWorks best with a facilitatorThe questionDoes anyone have experience with methods like these?Assessment · Works best with a facilitator · confidence 94 %
Time horizonOne to three yearsThe questionHow far ahead do you need to plan?Assessment · One to three years · confidence 52 %
ScopeA unit or departmentThe questionWho will this decision affect?Assessment · A unit or department · confidence 58 %
FrequencyOccasionallyThe questionIs this a one-off decision or something you expect to repeat?Assessment · Occasionally · confidence 70 %
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
View full profile
Preliminary assessment: few details on this model card have been verified.
IIdentity
Type of tool
Other formatDoes not fit neatly into the available categories
The questionWhat kind of tool is it?Assessment · Other format · 35 %
Decision stage
Choose between existing optionspossiblealso: generate ideas or options (30 %)
The questionWhat stage of the decision are you at?Assessment · Choose between existing options · 53 % · also Generate ideas or options · 30 %
Discipline
Agile and software developmentvery likely
The questionWhich discipline does it come from?Assessment · Agile and software development · 96 %
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 69 %
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 82 %
Generate optionsNarrow down optionsThe questionDo you need to generate more options or narrow them down?Assessment · Mostly narrow down options · confidence 47 %
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 80 %
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 85 %
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 54 %
Improve what we haveFundamental changeThe questionDo you want to improve what you have or change it fundamentally?Assessment · Mostly fundamental change · confidence 62 %
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 56 %
Understand firstAct nowThe questionDo you need to understand the situation first or act now and learn as you go?Assessment · Both equally · confidence 44 %
IVUseful when
Applicable traits
CriteriaUses one criterion or an overall impressionThe questionDo you need to weigh several criteria at once?Assessment · Uses one criterion or an overall impression · 74 %
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.
Laigner, R., Almeida, A. C., Assunção, W. K. G. and Zhou, Y. (2024). An Empirical Study on Challenges of Event Management in Microservice Architectures. arXiv (cs.SE).Abstract: from 8000+ Stack Overflow questions (628 analysed manually), developers are 'often oblivious to the inherent challenges' of event-based communication: large payloads, event schema modelling, auditing event flows and ordering constraints; current technology does not serve them well. Empirical evaluation of limits within microservices, not a rejection of the style.View source: An Empirical Study on Challenges of Event Management in Microservice Architectures (opens in a new tab) ↗