Event-Driven Architecture
What is Event-Driven Architecture?
Event-driven architecture is a software design approach in which systems communicate by producing and reacting to events, such as an order placed or a payment received, rather than calling each other directly.
Updated November 2026 · 2 min read
In an event-driven architecture, systems announce what has happened, such as "order placed," "payment received" or "shipment delayed," and other systems react to those announcements instead of being called directly. A system that produces an event does not need to know who will use it. Any number of other systems can subscribe and react, which makes it easier to add new capabilities and to respond to changes in real time.
Event-driven approaches have existed for decades in messaging and integration systems, but they became far more common with the rise of event streaming platforms such as Apache Kafka, originally developed at LinkedIn and released as open source in 2011, and with cloud services for events and messaging.
Components of event-driven architecture
- Event: a record that something happened, usually with a timestamp and details.
- Producer: the system that publishes the event.
- Consumer: a system that reacts to it.
- Broker or event stream: the infrastructure that delivers events from producers to consumers.
Event-driven vs. request-driven architecture
| Request-driven | Event-driven | |
|---|---|---|
| Communication | System A calls System B and waits for a response | System A announces an event; interested systems react |
| Coupling | Tight: A must know about B | Loose: producers do not know consumers |
| Adding a new consumer | Change the caller | Subscribe to the event |
| Timing | Synchronous | Usually asynchronous, near real time |
| Challenges | Cascading failures and slowdowns | Harder to trace, ordering and duplicate handling |
When to use event-driven architecture
- Real-time reactions, such as fraud checks, inventory updates and alerts.
- Integrating many systems without point-to-point connections. See point-to-point integration.
- Feeding analytics and AI with current data.
- Triggering automated workflows and agents. See workflow automation.
Event-driven architecture example
Consider a hypothetical online retailer where checkout directly calls inventory, payments, email, loyalty and analytics systems. When the loyalty system is slow, checkout slows down too. The retailer changes checkout to publish an "order placed" event. Inventory, email, loyalty and analytics each subscribe and process it independently. A slow loyalty system no longer affects checkout, and when the retailer adds a fraud-scoring service, it simply subscribes to the same event, with no change to checkout.
Common pitfalls
- Poorly defined events that consumers interpret differently.
- Lack of tracing, making failures hard to diagnose. See observability.
- Using events where a simple request would do.
Event-driven architecture is a common pattern in integration architecture and supports a composable enterprise.
Frequently asked questions
What is the difference between event-driven and request-driven architecture?
In request-driven architecture, one system calls another directly and waits for a response, so the caller must know about every system it depends on. In event-driven architecture, a system announces an event and any interested system reacts, usually asynchronously. This loose coupling makes adding consumers easy, but tracing failures and handling ordering and duplicates becomes harder.
When should you use event-driven architecture?
It suits real-time reactions such as fraud checks, inventory updates and alerts, integrating many systems without point-to-point connections, feeding analytics and AI with current data and triggering automated workflows or agents. Where one system simply needs an answer from another, a direct request is usually simpler, and using events there adds complexity without much benefit.
What are the building blocks of an event-driven architecture?
There are four: the event, a record that something happened, usually with a timestamp and details; the producer that publishes it; the consumers that react to it; and the broker or event stream that delivers events from producers to consumers. Event streaming platforms such as Apache Kafka, originally developed at LinkedIn, often serve as the broker.
Related terms
Workflow Automation
Software that moves tasks and approvals through defined steps automatically.
Composable Enterprise
An organization built from modular capabilities that can be rearranged quickly.
Interoperability
The ability of different systems to exchange information and use it correctly.
Model Context Protocol (MCP)
An open standard for connecting AI applications to tools and data.