Closed
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