-
Notifications
You must be signed in to change notification settings - Fork 109
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Node.js 18.x
. Longer cold starts than prior versions (16, 14, 12)
#83
Comments
v18
. Longer cold starts than prior versions (16, 14, ...)18.x
. Longer cold starts than prior versions (16, 14, 12)
Hi @jtuliani is there a ticket we can follow to track the progress of this issue? |
Thank you @o-alexandrov for filing this issue to track cold start performance improvements in the Lambda Node.js 18 runtime. We have identified several potential performance optimizations which we are evaluating and testing. We will provide updates via this issue once they are rolled out. |
Hi @jtuliani any update please? |
While everyone is pinged, it's good to note that cold starts in node.js 18 AWS-managed runtimes have been greatly reduced. That's more than 20% decrease, which is huge, thank you @jtuliani and the rest of AWS. |
Thank you for noticing @o-alexandrov :) Yes, we have deployed updates to the AWS Lambda Node.js18 runtime which bring the cold start times close to the performance with Node.js 16. We are continuing to investigate further optimizations. To reduce the risk of backward compatibility issues, any further optimizations will be focused on Node 20 rather than being back-ported to existing runtimes. Therefore, closing this item. |
Based on @jtuliani comment from Nov 2022, AWS is aware of the longer cold starts:
And then again from @jtuliani on Feb 9, 2023:
@maxday
created a Cold Start dashboard:Using
@maxday
's dashboard, you could quickly verify the cold starts issue has not been resolved.As mentioned by
@ffxsam
in this comment, the issue might be related to the sloweraws-sdk v3
described in this article.The text was updated successfully, but these errors were encountered: