|
|
|
|
|
by sudhirj
2767 days ago
|
|
Most code start time problems on Lambda I've seen are VPC related - public network Lambdas start in milliseconds, with the main lag being the userspace code startup time. Starting a Lambda inside a VPC involves attaching a high security network adapter individually to each running process, which is likely what takes so long. I assume AWS is working on that, though, they've claimed some speedups unofficially. If your security model allows, try running your Lambdas off-VPC. |
|
Our normal cold starts are in the 1-2 second range, and the app initialization comes after. Too high for an API facing users :/