簡體   English   中英

具有 API 網關和 Lambda 的 Aurora Serverless 超時

[英]Aurora Serverless with API Gateway and Lambda is timing out

我正在 AWS 中構建一個完全無服務器環境的新項目

I picked up API Gateway + Lambda + Aurora Serverless inside a VPC but Aurora cold start plus Lambda cold start is greater than API Gateway timeout of 29 secods

是否可以進行任何改進以避免這種超時? 有人已經經歷過嗎?

Aurora Serverless V2 可以在不到一秒的時間內輕松地從幾個事務擴展到數千個事務。

如果您使用的是 Aurora Serverless V1,我們可以將最小 ACU 設置為 1,並且Don't pause compute capacity after consecutive minutes of inactivity (有一些成本)

Lambda 冷啟動可以通過預置並發來避免。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM