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
9
從四件事帶你見識見識 事件驅動架構設計 (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
讓測試不再 BB! 從 BDD 到 CI/CD, 不靠人力也能 MVP
line_developers_tw
PRO
0
17
DB 醬,嗨!哪泥嘎斯基?
line_developers_tw
PRO
0
15
比起獨自升級 我更喜歡 DevOps 文化 <3
line_developers_tw
PRO
0
15
工具人的一生: 開發很多 AI 工具讓我 慵懶過一生
line_developers_tw
PRO
0
9
TODAY 看世界(?) 是我們在看扣啦!
line_developers_tw
PRO
0
19
你想成為什麼樣的開發者?
line_developers_tw
PRO
0
20
研究生的 LINER生活
line_developers_tw
PRO
0
21
#Rookie’s Adventure: A 0 to 1 Dev Journey
line_developers_tw
PRO
0
26
LINE 購物幕後推手
line_developers_tw
PRO
0
850
Other Decks in Technology
See All in Technology
Sansan Engineering Unit 紹介資料
sansan33
PRO
1
2.1k
堅牢な認証基盤の実現 TypeScriptで代数的データ型を活用する
kakehashi
PRO
1
200
Kubernetesで作るAIプラットフォーム
oracle4engineer
PRO
2
250
Data Hubグループ 紹介資料
sansan33
PRO
0
1.8k
技術職じゃない私がVibe Codingで感じた、AGIが身近になる未来
blueb
0
120
Contract One Engineering Unit 紹介資料
sansan33
PRO
0
6.3k
Tensix Core アーキテクチャ解説
tenstorrent_japan
0
340
脅威をモデリングしてMCPのセキュリティ対策を考えよう
flatt_security
4
1.4k
データベースの引越しを Ora2Pg でスマートにやろう
jri_narita
0
200
Web Intelligence and Visual Media Analytics
weblyzard
PRO
1
6.1k
Long journey of Continuous Delivery at Mercari
hisaharu
1
200
Kotlinで学ぶ 代数的データ型
ysknsid25
5
1k
Featured
See All Featured
What’s in a name? Adding method to the madness
productmarketing
PRO
22
3.5k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
47
2.8k
Navigating Team Friction
lara
186
15k
What's in a price? How to price your products and services
michaelherold
245
12k
Bootstrapping a Software Product
garrettdimon
PRO
307
110k
VelocityConf: Rendering Performance Case Studies
addyosmani
329
24k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
10
900
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
6
680
Designing for humans not robots
tammielis
253
25k
Building Better People: How to give real-time feedback that sticks.
wjessup
367
19k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
45
7.3k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
Transcript
從四件事帶你見識見識 事件驅動架構設計 (EDA)
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