You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After 5 minutes of inactivity on the endpoint, it takes at least 5s to warm up, once warm, requests take milliseconds as expected. It never stays warm though.
Expected behavior
The endpoint should always be warm and take ms to respond.
Current behavior
After a period of inactivity on the endpoint, the endpoint takes 5s+ to warm up again.
Steps to reproduce
See example above
Context (Environment)
Affected feature
The text was updated successfully, but these errors were encountered:
Spent a good hour speaking with AWS Support who walked me through some debugging and potential causes for the slow "cold start". It had nothing to do with the lambda instance, but the code. Will create another issue for this as it doesn't seem right that it takes a few seconds to initialise aws.sdk.DynamoDB.DocumentClient();
Creating
ProvisionedConcurrencyConfig
for API Gateway does not work as expected. Followed this blog: https://www.pulumi.com/blog/aws-lambda-provisioned-concurrency-no-cold-starts/Granted, it's for pure lamba functions, but would expect this to work the same?
After 5 minutes of inactivity on the endpoint, it takes at least 5s to warm up, once warm, requests take milliseconds as expected. It never stays warm though.
Expected behavior
The endpoint should always be warm and take ms to respond.
Current behavior
After a period of inactivity on the endpoint, the endpoint takes 5s+ to warm up again.
Steps to reproduce
Context (Environment)
Affected feature
The text was updated successfully, but these errors were encountered: