Auto-sync: 2026-04-20 00:02

This commit is contained in:
2026-04-20 00:02:56 +08:00
parent 8341ee6cc4
commit 6ab2838935
104 changed files with 4077 additions and 31 deletions

View File

@@ -0,0 +1,35 @@
---
title: "Event-Driven Architecture"
type: concept
tags: [Architecture, Event-Driven, Async, Serverless]
sources: []
last_updated: 2026-04-19
---
## Summary
事件驱动架构是一种以事件为核心驱动系统行为的架构模式,实现服务间松耦合。
## Definition
Event-Driven ArchitectureEDA是一种软件架构范式组件之间通过事件状态变化或动作进行通信和解耦。
## Core Characteristics
- **异步通信**:事件生产者与消费者基于事件解耦
- **事件驱动**:行为由事件触发,而非直接调用
- **松耦合**:事件生产者不关心消费者实现
- **可扩展性**:易于扩展新事件消费者
## Use Cases
- 实时数据处理
- 微服务异步通信
- 物联网数据采集
- 实时工作流触发
## Related Services
- [[EventBridge]]AWS 事件总线
- [[Amazon SQS]]:消息队列
- [[Amazon SNS]]:发布/订阅通知
- [[Lambda]]:事件目标
## Related Patterns
- [[Message Queue]]:消息队列模式
- [[Pub/Sub]]:发布/订阅模式