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
清大企業參訪- Ben
line_developers_tw
PRO
0
0
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
Other Decks in Technology
See All in Technology
GraphRAG グラフDBを使ったLLM生成(自作漫画DBを用いた具体例を用いて)
seaturt1e
1
150
プロファイルとAIエージェントによる効率的なデバッグ / Effective debugging with profiler and AI assistant
ymotongpoo
1
150
dbtとAIエージェントを組み合わせて見えたデータ調査の新しい形
10xinc
0
150
ハノーファーメッセ2025で見た生成AI活用ユースケース.pdf
hamadakoji
1
470
Azureコストと向き合った、4年半のリアル / Four and a half years of dealing with Azure costs
aeonpeople
1
300
ストレージエンジニアの仕事と、近年の計算機について / 第58回 情報科学若手の会
pfn
PRO
3
840
AWS DMS で SQL Server を移行してみた/aws-dms-sql-server-migration
emiki
0
240
初めてのDatabricks Apps開発
taka_aki
1
400
AI-Readyを目指した非構造化データのメダリオンアーキテクチャ
r_miura
1
320
知覚とデザイン
rinchoku
1
580
[2025年10月版] Databricks Data + AI Boot Camp
databricksjapan
1
260
20251027_findyさん_音声エージェントLT
almondo_event
2
430
Featured
See All Featured
Imperfection Machines: The Place of Print at Facebook
scottboms
269
13k
Building a Modern Day E-commerce SEO Strategy
aleyda
44
7.8k
4 Signs Your Business is Dying
shpigford
185
22k
Building a Scalable Design System with Sketch
lauravandoore
463
33k
Agile that works and the tools we love
rasmusluckow
331
21k
How To Stay Up To Date on Web Technology
chriscoyier
791
250k
The Art of Programming - Codeland 2020
erikaheidi
56
14k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
30
2.9k
[RailsConf 2023] Rails as a piece of cake
palkan
57
5.9k
Context Engineering - Making Every Token Count
addyosmani
8
300
Designing for humans not robots
tammielis
254
26k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
48
9.7k
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