Event-Driven Architecture
Updated 2026-08-10
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.
Introduction
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/1Practice this model in one real situation:
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.
- en.wikipedia.orghttps://en.wikipedia.org/wiki/Event-driven_architectureverified
account_treeGenealogyexpand_more
PRIVATE NOTES · Only visible to you
SAVED Q&A
ENTRY Q&A · Private saving available
Ask with a clear boundary
thinkingmodels answers from published entry context only.
Your question is sent to thinkingmodels. The answer uses public entry context only.
RELATED MODELS