[心得] 實務經驗分享-AWS Lambda & RDS 整合探討
這是個互動式的系列教學影片,每個主題將會分成兩部分:
1. 第一部分會跟大家呈現實務上遇到的問題,讓大家一起討論並思考可行的解決方案。
2. 第二部分會跟大家分享當初我選擇的解決方案,可能不是最佳解,但相信也能促進大
家不同面向的思考!
這次要來探討的架構圖:
https://imgur.com/yxL4w38

之前工作上為了處理批次作業,且想要盡量減少server維運成本,而有了這次的架構。
但實作之後,發現了一些當初沒有預想到的問題。
我還滿珍惜這些實務上的經驗,就是遇到這些意外狀況,
讓我有機會去思考多種解決方案,這樣的過程都非常有趣。
這次想透過這樣的互動形式,讓大家一起討論看看如果是你/妳會建議怎麼解決!
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 101.12.45.7 (臺灣)
※ 文章網址: https://www.ptt.cc/bbs/Soft_Job/M.1581941716.A.BB9.html
推
02/17 22:28,
6年前
, 1F
02/17 22:28, 1F
推
02/18 00:45,
6年前
, 2F
02/18 00:45, 2F
→
02/18 00:45,
6年前
, 3F
02/18 00:45, 3F
推
02/18 05:40,
6年前
, 4F
02/18 05:40, 4F
→
02/18 05:41,
6年前
, 5F
02/18 05:41, 5F
→
02/18 05:41,
6年前
, 6F
02/18 05:41, 6F
→
02/18 09:54,
6年前
, 7F
02/18 09:54, 7F
推
02/18 11:06,
6年前
, 8F
02/18 11:06, 8F
推
02/18 11:08,
6年前
, 9F
02/18 11:08, 9F
推
02/18 11:30,
6年前
, 10F
02/18 11:30, 10F
好提議,RDS Proxy看來真的是針對這類架構的官方方案之一
"A surge of connections or a large number of open connections could strain
your database server, leading to slower queries and limited application
scalability. By pooling and sharing already established database connections,
RDS Proxy allows you to efficiently scale to many more connections from your
serverless application."
documentation:
https://aws.amazon.com/tw/rds/proxy/ (still in preview 2020.02.19)
a clear overview of this solution:
https://imgur.com/9iyXZzC

→
02/18 12:47,
6年前
, 11F
02/18 12:47, 11F
→
02/18 12:54,
6年前
, 12F
02/18 12:54, 12F
→
02/18 12:58,
6年前
, 13F
02/18 12:58, 13F
推
02/18 14:01,
6年前
, 14F
02/18 14:01, 14F
→
02/18 14:30,
6年前
, 15F
02/18 14:30, 15F
→
02/18 14:31,
6年前
, 16F
02/18 14:31, 16F
→
02/18 14:32,
6年前
, 17F
02/18 14:32, 17F
→
02/18 14:34,
6年前
, 18F
02/18 14:34, 18F
推
02/18 14:37,
6年前
, 19F
02/18 14:37, 19F
推
02/18 14:39,
6年前
, 20F
02/18 14:39, 20F
→
02/18 14:42,
6年前
, 21F
02/18 14:42, 21F
→
02/18 15:04,
6年前
, 22F
02/18 15:04, 22F
→
02/18 15:11,
6年前
, 23F
02/18 15:11, 23F
→
02/18 15:26,
6年前
, 24F
02/18 15:26, 24F
→
02/18 16:30,
6年前
, 25F
02/18 16:30, 25F
→
02/18 16:33,
6年前
, 26F
02/18 16:33, 26F
推
02/18 16:36,
6年前
, 27F
02/18 16:36, 27F
→
02/18 16:37,
6年前
, 28F
02/18 16:37, 28F
※ 編輯: uopsdod (101.12.45.7 臺灣), 02/19/2020 00:41:15
→
02/19 10:18,
6年前
, 29F
02/19 10:18, 29F
→
02/19 10:18,
6年前
, 30F
02/19 10:18, 30F
→
02/19 10:18,
6年前
, 31F
02/19 10:18, 31F
→
02/19 10:18,
6年前
, 32F
02/19 10:18, 32F
推
02/19 20:26,
6年前
, 33F
02/19 20:26, 33F
→
02/19 20:26,
6年前
, 34F
02/19 20:26, 34F
→
02/19 20:26,
6年前
, 35F
02/19 20:26, 35F
→
02/19 21:26,
6年前
, 36F
02/19 21:26, 36F
討論串 (同標題文章)
以下文章回應了本文:
完整討論串 (本文為第 1 之 4 篇):
Soft_Job 近期熱門文章
PTT職涯區 即時熱門文章