简体   繁体   English

具有 API 网关和 Lambda 的 Aurora Serverless 超时

[英]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.

相关问题 AWS Aurora 无服务器 mysql、Cognito、Lambda、API 网关、CloudFormation 启动器 - AWS Aurora serverless mysql, Cognito, Lambda, API gateway, CloudFormation starter 具有Lambda集成的无服务器部署API网关 - Serverless Deployment API Gateway with Lambda Integration 将 AWS Lambda 与 Aurora Serverless 相结合 - Combine AWS Lambda with Aurora Serverless AWS Lambda 无服务器中的 Mongo db 连接超时 - Mongo db connection timing out in AWS Lambda serverless AWS - 使用 NAT 网关(由 Lambda 访问)的私有子网中的 EC2 代理到无服务器 Aurora 的 Internet 访问 - AWS - Internet Access for an EC2 Proxy to Serverless Aurora in a Private Subnet with NAT Gateway (Accessed by Lambda) Aurora 无服务器连接超时 - Aurora serverless connection timed out 使用无服务器向同一个网关API添加新的lambda函数? - Using serverless to add new lambda functions to same Gateway API? 将无服务器API网关URL作为同一堆栈中Lambda函数的参数传递 - Passing serverless API Gateway URL as a parameter for a Lambda function in the same stack Terraform 无服务器应用程序与 AWS Lambda 和 API 网关未知令牌? - Terraform Serverless Applications with AWS Lambda and API Gateway unknown token? 使用 API 网关和无服务器框架在 AWS Lambda 上超过了速率 - Rate Exceeded on AWS Lambda Using API Gateway and serverless framework
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM