Skip to content

AI Glossary · Concepts

What is Event-driven architecture?

Event-driven architecture

Event-driven architecture connects components through events that describe something that happened. Producers emit events, channels carry them, and consumers react, often asynchronously, so the producer and each consumer can do their work independently.

· Chain of Thought

AI InfrastructureAI Engineering

  • 2 sources

Illustrative workflow: an uploaded report emits a completion event. An extraction agent and a separate indexing service react to it. The uploader does not wait for both jobs to finish. The design still needs an owner for failed processing and a way to establish completion.

A webhook is one delivery mechanism; the architecture describes the wider arrangement of components. CloudEvents provides a common description of event data across protocols. Choosing that format does not decide how a particular system retains or recovers events.

Before adopting the pattern, specify delivery, ordering, replay and duplicate-processing requirements. Retrying an event must not repeat a protected side effect. A synchronous request-response flow can be simpler when the caller needs an immediate result and independent processing adds little value.

Sources