Cognitive Scaffold

Preparing your thinking workspace

arrow_back_ios_new
MENTAL MODEL · M7245

Event-Driven Architecture

Event-Driven Architecture
SystemsHigh supportSystems Theory
Included
account_tree

Updated 2026-08-10

Loading revision record…

Summary

Components talk through events, facts about what happened, so a publisher never needs to know who is listening.

Definition

The components of a system communicate asynchronously through events, and what happened, the event, matters more than what to do, the command. As a scaffold it is loose coupling and high responsiveness: a component does not need to know who will handle the event, it only publishes, and the decoupling follows. It unites the earlier names of event-driven scheduling and the event-driven process chain.

How to use

- Event spot: name the key state changes in the system that are worth announcing. - Schema fix: define exactly what each event carries, before anyone publishes it. - Publish then subscribe: let producers emit events and consumers subscribe to them, never the reverse.

Mechanism

Components communicate asynchronously through events, facts that have already happened, with producers publishing and consumers subscribing. The coupling stays loose because components do not know each other, only the event, so a new consumer can be added without touching the producer at all.

Practice

In progress 0/1

Practice this model in one real situation:

Check to track your progress (stored locally)
Learning progress0%

Cases

  • In e-commerce, the order-placed event triggers inventory, shipping, and notification at once.
  • An IoT device's event drives the alert that follows it within seconds.
  • Microservices decouple from one another by talking only through an event bus.

Common pitfalls

  • Ignoring event order and idempotency, so one event gets handled twice over.
  • So many events flying around the system that no one can trace them.
  • Sending a command and calling it an event, when an event only reports what happened.
Sources

Source support: Explicit

References currently contain only Wikipedia links; primary sources still need review.

  • link
    en.wikipedia.orghttps://en.wikipedia.org/wiki/Event-driven_architectureZH · Explicit
    verified
account_treeGenealogyexpand_more

RELATED MODELS