Files
nexus/wiki/concepts/Event-Driven-Architecture.md
2026-04-20 00:02:56 +08:00

1.0 KiB
Raw Blame History

title, type, tags, sources, last_updated
title type tags sources last_updated
Event-Driven Architecture concept
Architecture
Event-Driven
Async
Serverless
2026-04-19

Summary

事件驱动架构是一种以事件为核心驱动系统行为的架构模式,实现服务间松耦合。

Definition

Event-Driven ArchitectureEDA是一种软件架构范式组件之间通过事件状态变化或动作进行通信和解耦。

Core Characteristics

  • 异步通信:事件生产者与消费者基于事件解耦
  • 事件驱动:行为由事件触发,而非直接调用
  • 松耦合:事件生产者不关心消费者实现
  • 可扩展性:易于扩展新事件消费者

Use Cases

  • 实时数据处理
  • 微服务异步通信
  • 物联网数据采集
  • 实时工作流触发