-
Notifications
You must be signed in to change notification settings - Fork 118
Closed
Labels
area/documentationImprovements or additions to documentation.Improvements or additions to documentation.
Description
Expected behavior
Have consistent invocation duration even when lambda execution requires cold start
Actual behavior
When cold starting lambda function invocation takes more than 2s and the actual cold start only 200ms
After cold start, invocation runs lower than 30ms for a dynamo operation.
Xray cloud watch link
Steps to reproduce
Use Lambda integrated with API Gateway and perform any operation on dynamo from lambda function
If possible, minimal yet complete reproducer code (or URL to code)
https://github.com/yuriferretti/lambda-test
SwiftAWSLambdaRuntime version/commit hash
Swift & OS version (output of swift --version && uname -a
)
swift 5.2
pokryfka
Metadata
Metadata
Assignees
Labels
area/documentationImprovements or additions to documentation.Improvements or additions to documentation.