[英]Aurora Serverless with API Gateway and Lambda is timing out
I'm building a new project with totally serverless environment in AWS我正在 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 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
Is it possible to make any improvement to avoid such time out?是否可以进行任何改进以避免这种超时? Anyone has experienced this already?
有人已经经历过吗?
Aurora Serverless V2 can easily scale from few to thousands of transactions in less than a second. Aurora Serverless V2 可以在不到一秒的时间内轻松地从几个事务扩展到数千个事务。
If you are using Aurora Serverless V1, we can set a minimum ACU to 1 and Don't pause compute capacity after consecutive minutes of inactivity
(there is some cost)如果您使用的是 Aurora Serverless V1,我们可以将最小 ACU 设置为 1,并且
Don't pause compute capacity after consecutive minutes of inactivity
(有一些成本)
Lambda cold starts can be avoided with provisioned concurrency . Lambda 冷启动可以通过预置并发来避免。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.