$30 off During Our Annual Pro Sale. View Details »
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.9k
從四件事帶你見識見識 事件驅動架構設計 (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
Data Team 實習分享
line_developers_tw
PRO
0
1.5k
Backend Intern之旅
line_developers_tw
PRO
0
3.9k
清大企業參訪- Ben
line_developers_tw
PRO
0
1.2k
LLM 商品規格萃取大冒險- Vila
line_developers_tw
PRO
0
1.1k
Playwright/MCP/AI -Winter
line_developers_tw
PRO
0
1.1k
LINE EC Product Catalog Development- Rei
line_developers_tw
PRO
0
1.1k
LINE 與 AI 機器人技術應用現況
line_developers_tw
PRO
0
16
QA Testing
line_developers_tw
PRO
0
260
jcconf_datadev_prod
line_developers_tw
PRO
0
13
Other Decks in Technology
See All in Technology
生成AI・AIエージェント時代、データサイエンティストは何をする人なのか?そして、今学生であるあなたは何を学ぶべきか?
kuri8ive
2
2k
シンプルを極める。アンチパターンなDB設計の本質
facilo_inc
2
1.6k
原理から解き明かす AIと人間の成長 - Progate BAR
teba_eleven
2
300
世界最速級 memcached 互換サーバー作った
yasukata
0
210
Oracle Database@Google Cloud:サービス概要のご紹介
oracle4engineer
PRO
0
660
プロダクトマネジメントの分業が生む「デリバリーの渋滞」を解消するTPMの越境
recruitengineers
PRO
3
570
Ryzen NPUにおけるAI Engineプログラミング
anjn
0
240
【5分でわかる】セーフィー エンジニア向け会社紹介
safie_recruit
0
38k
Contract One Engineering Unit 紹介資料
sansan33
PRO
0
9.9k
プロダクトマネージャーが押さえておくべき、ソフトウェア資産とAIエージェント投資効果 / pmconf2025
i35_267
2
470
Agents IA : la nouvelle frontière des LLMs (Tech.Rocks Summit 2025)
glaforge
0
440
Introduction to Sansan, inc / Sansan Global Development Center, Inc.
sansan33
PRO
0
2.9k
Featured
See All Featured
4 Signs Your Business is Dying
shpigford
186
22k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
140
34k
YesSQL, Process and Tooling at Scale
rocio
174
15k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.3k
GitHub's CSS Performance
jonrohan
1032
470k
Typedesign – Prime Four
hannesfritz
42
2.9k
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
1
86
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.3k
Documentation Writing (for coders)
carmenintech
76
5.2k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
46
7.8k
A Modern Web Designer's Workflow
chriscoyier
697
190k
How to Think Like a Performance Engineer
csswizardry
28
2.3k
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