Skip to content

Event-driven architecture

In event-driven architecture, components report events that other components can respond to independently.

Also known asEDA
APIs & Integration

A change triggers further work

Event-driven architecture organises collaboration through events: notifications of something that has already happened. Producers publish them; interested consumers process them through an event channel. In a fictional example, an application reports that a quote has been approved. Planning and reporting can respond with different tasks.

The producer need not call every recipient directly. That decoupling does, however, require clear event meanings, responsibilities and error handling. Duplicate or delayed messages and ordering may matter. A published event does not prove that all follow-up work is complete. For a simple workflow, a direct call may involve less operational overhead.

Sources

Articles on this topic

APIs & Integration with ASES

ERP, CRM and shop cleanly connected