Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
從四件事帶你見識見識 事件驅動架構設計 (EDA)
Search
LINE Developers Taiwan
PRO
June 18, 2025
Technology
0
1.4k
從四件事帶你見識見識 事件驅動架構設計 (EDA)
Speaker: Justin Kuo
Event: LINE TECH FRESH 畢業分享會 2025
LINE Developers Taiwan
PRO
June 18, 2025
Tweet
Share
More Decks by LINE Developers Taiwan
See All by LINE Developers Taiwan
LLM 商品規格萃取大冒險- Vila
line_developers_tw
PRO
0
9
Playwright/MCP/AI -Winter
line_developers_tw
PRO
0
9
LINE EC Product Catalog Development- Rei
line_developers_tw
PRO
0
9
LINE 與 AI 機器人技術應用現況
line_developers_tw
PRO
0
6
QA Testing
line_developers_tw
PRO
0
3
jcconf_datadev_prod
line_developers_tw
PRO
0
7
jcconf_SPM_prod
line_developers_tw
PRO
0
4
jcconf_LINEPay_prod
line_developers_tw
PRO
0
4
Live Activities in LINE
line_developers_tw
PRO
0
14
Other Decks in Technology
See All in Technology
Dylib Hijacking on macOS: Dead or Alive?
patrickwardle
0
470
NLPコロキウム20251022_超効率化への挑戦: LLM 1bit量子化のロードマップ
yumaichikawa
3
450
Implementing and Evaluating a High-Level Language with WasmGC and the Wasm Component Model: Scala’s Case
tanishiking
0
180
HonoとJSXを使って管理画面をサクッと型安全に作ろう
diggymo
0
180
JSConf JPのwebsiteをGatsbyからNext.jsに移行した話 - Next.jsの多言語静的サイトと課題
leko
2
180
OTEPsで知るOpenTelemetryの未来 / Observability Conference Tokyo 2025
arthur1
0
240
デザインとエンジニアリングの架け橋を目指す OPTiMのデザインシステム「nucleus」の軌跡と広げ方
optim
0
110
コンパウンド組織のCRE #cre_meetup
layerx
PRO
1
270
Observability — Extending Into Incident Response
nari_ex
1
280
AIエージェント入門 〜基礎からMCP・A2Aまで〜
shukob
1
180
webpack依存からの脱却!快適フロントエンド開発をViteで実現する #vuefes
bengo4com
3
3.3k
20251027_マルチエージェントとは
almondo_event
1
410
Featured
See All Featured
Why You Should Never Use an ORM
jnunemaker
PRO
59
9.6k
Facilitating Awesome Meetings
lara
57
6.6k
Art, The Web, and Tiny UX
lynnandtonic
303
21k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
23
1.5k
4 Signs Your Business is Dying
shpigford
185
22k
Java REST API Framework Comparison - PWX 2021
mraible
34
8.9k
Fireside Chat
paigeccino
41
3.7k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
55
3k
For a Future-Friendly Web
brad_frost
180
10k
KATA
mclloyd
PRO
32
15k
Product Roadmaps are Hard
iamctodd
PRO
55
11k
[RailsConf 2023] Rails as a piece of cake
palkan
57
5.9k
Transcript
None
Justin Kuo Education • CSIE @NTUT Experience • 2025 |
TECH FRESH @LINE Taiwan • 2024 | R&D Intern @iForensics TECH FRESH @ LINE
01 02 03 事件驅動程式 事件驅動架構 Request/Response CONTENT 04 總結
None
SECTION 01 Request/Response 在 Event-Driven 之前
Request/Response 3 apples 事情並不單純…
Request/Response 3 apples ˙ ˙ ˙ 容易阻塞
Request/Response 3 apples 依賴性高
Request/Response 不易擴充 從來不覺得賣蘋果開心過
Request/Response 容易阻塞 依賴性高 不易擴充
訂單系統 I want three apples. I want three apples. ✘
不依賴 「顧客」(服務) 依賴「訂單」(事件)
SECTION 02 事件驅動程式 從前端來了解事件驅動
Hello World
EVENT FUNCTION
EVENT FUNCTION
SECTION 03 事件驅動架構 進入微服務的世界
EVENT FUNCTION Order Order Order 商品服務 資料服務 通知服務 訂單服務
EVENT FUNCTION Order Order Order 商品服務 資料服務 通知服務 訂單服務
Producer Consumer Message Broker
Message Broker • 訊息代理 aka 郵局 • 負責接收、暫存、發送資訊的服務 • 常見工具:
• Apache Kafka • RabbitMQ
Producer Consumer Message Broker
Order Order Order Producer Consumer Message Broker
Order Order Order Producer Consumer Message Broker
Order Order Order Producer Consumer Message Broker 依賴性低 擴充性高
Producer Consumer Message Broker 依賴性低 擴充性高
Producer Consumer Message Broker 依賴性低 擴充性高
SECTION 04 總結
Request/Response • 容易阻塞 • 依賴性高 • 可擴充性低 • 較單純 3
apples
Event-Driven Architecture • 不易阻塞 • 依賴性低 • 可擴充性高 • 較複雜
延伸閱讀 • 讀寫分離 (CQRS) • 領域驅動開發 (DDD) • Event Sourcing
• Change Data Capture • …
None