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.7k
從四件事帶你見識見識 事件驅動架構設計 (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
清大企業參訪- Ben
line_developers_tw
PRO
0
800
LLM 商品規格萃取大冒險- Vila
line_developers_tw
PRO
0
930
Playwright/MCP/AI -Winter
line_developers_tw
PRO
0
940
LINE EC Product Catalog Development- Rei
line_developers_tw
PRO
0
930
LINE 與 AI 機器人技術應用現況
line_developers_tw
PRO
0
8
QA Testing
line_developers_tw
PRO
0
260
jcconf_datadev_prod
line_developers_tw
PRO
0
9
jcconf_SPM_prod
line_developers_tw
PRO
0
7
jcconf_LINEPay_prod
line_developers_tw
PRO
0
7
Other Decks in Technology
See All in Technology
個人から巡るAI疲れと組織としてできること - AI疲れをふっとばせ。エンジニアのAI疲れ治療法 ショートセッション -
kikuchikakeru
4
1.6k
プロダクト負債と歩む持続可能なサービスを育てるための挑戦
sansantech
PRO
0
230
AIを前提に、業務を”再構築”せよ IVRyの9ヶ月にわたる挑戦と未来の働き方 (BTCONJP2025)
yueda256
1
780
Redux → Recoil → Zustand → useSyncExternalStore: 状態管理の10年とReact本来の姿
zozotech
PRO
18
8.7k
[CV勉強会@関東 ICCV2025] WoTE: End-to-End Driving with Online Trajectory Evaluation via BEV World Model
shinkyoto
0
280
ステートレスなLLMでステートフルなAI agentを作る - YAPC::Fukuoka 2025
gfx
8
1.4k
現地速報!Microsoft Ignite 2025 M365 Copilotアップデートレポート
kasada
1
1.3k
レガシーで硬直したテーブル設計から変更容易で柔軟なテーブル設計にする
red_frasco
1
150
今、MySQLのバックアップを作り直すとしたら何がどう良いのかを考える旅
yoku0825
2
460
なぜブラウザで帳票を生成したいのか どのようにブラウザで帳票を生成するのか
yagisanreports
0
140
レビュー負債を解消する ― CodeRabbitが支えるAI駆動開発
moongift
PRO
0
430
Javaコミュニティの歩き方 ~参加から貢献まで、すべて教えます~
tabatad
0
130
Featured
See All Featured
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
15k
Rails Girls Zürich Keynote
gr2m
95
14k
How to train your dragon (web standard)
notwaldorf
97
6.4k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.3k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
118
20k
What's in a price? How to price your products and services
michaelherold
246
12k
Music & Morning Musume
bryan
46
7k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.6k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
253
22k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.3k
The World Runs on Bad Software
bkeepers
PRO
72
12k
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