Skip to content
GabineteTools for thinking

No. 0545Workflow and delivery

Event-driven architecture

Schulte and Gartner · 2003

Slate bucket with water: an amber stone falls from a pole and its waves reach four paper floats anchored separately.

The table / Model card · No. 0545 · Workflow and delivery

Event-driven architecture

Software built around events: components emit facts about what happened, and independent consumers react asynchronously.

Also known as Flow EDA Variation

The essentials

What it is

What it solves

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

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.

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.

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
  • Eventual consistency complicates user-facing logic
  • Requires operating a broker or stream platform
  • Poorly governed schemas cause silent breakage

How to apply it in 5 steps

How to apply it

Event-driven architecture

5 steps

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
  1. Find the business events

    List the facts that matter, such as OrderPlaced or PaymentFailed, with their data.

  2. Assign ownership

    Decide which service publishes each event and fix the schema and version.

  3. Build consumers

    Implement handlers that react to events, designed to be idempotent.

  4. Choose the transport

    Select the broker or stream and set ordering, retention and retry rules.

  5. 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 months
  • PeopleSeveral teams
  • DataData collected for the purpose
  • ExpertiseWorks best with a facilitator
  • Time horizonOne to three years
  • ScopeA unit or department
  • FrequencyOccasionally
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
Decision stage
Choose between existing optionsalso: generate ideas or options (30 %)
Discipline
Agile and software development

IITen axes

The dot shows which end the model favours. A hollow dot means no clear preference.

  • DirectionExecution
  • Top-downmixedBottom-up
  • PeopleProcesses
  • Generate optionsNarrow down options
  • Step-by-step analysisIntuition and experience
  • A strict sequence of stepsA flexible framework
  • Protect what we haveTake a risk
  • Improve what we haveFundamental change
  • Inside the organisationOutside the organisation
  • Understand firstAct now

IVUseful when

Applicable traits

  • CriteriaUses one criterion or an overall impression
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.

How it works →

Thinking space

Workflow and delivery

They organize and accelerate day-to-day delivery: Kanban, DevOps, development cycles, automation and work standards.

Membership: 26 % · also “Product discovery and validation” (21 %)

View in the atlas of spaces →

Each point is a model. Distance reflects answers to the decision questions. Light points share this model’s space.

Similar models

Sources

Use the arrow keys to move between sources.

Key development

  1. Hohpe, G. and Woolf, B. (2003). Enterprise Integration Patterns: Designing, Building, and Deploying Messaging Solutions.Messaging-pattern catalogue underlying event-driven design; no single original text for 'Event-Driven Development' as a named method could be verified, so origin is unclear.View source: Enterprise Integration Patterns: Designing, Building, and Deploying Messaging Solutions (opens in a new tab) ↗

Critique

  1. 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) ↗

Practical guide

  1. Age, I. (n.d.). The age of events. Information Age.States that Gartner introduced the term EDA, event driven architecture, in 2003.View source: The age of events (opens in a new tab) ↗
  2. Fowler, M. (2017). What do you mean by "Event-Driven"?. martinfowler.com.Separates event notification, event-carried state transfer, event sourcing and CQRS, showing the term is used loosely.View source: What do you mean by "Event-Driven"? (opens in a new tab) ↗

Wikipedia article (opens in a new tab) ↗