aws / aws-lambda-java-libs

Official mirror for interface definitions and helper classes for Java code running on the AWS Lambda platform.

Home Page:https://aws.amazon.com/lambda/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SnapStart Support

softprops opened this issue · comments

https://aws.amazon.com/blogs/compute/reducing-java-cold-starts-on-aws-lambda-functions-with-snapstart/

Is it possible to add this new lambda feature to the lambda runtime api client?

Hi @softprops,

Could you give more detail regarding what you would like to see added?

I believe SnapStart is only supported for java11 managed runtime

That’s my understanding as well based on what I’ve read so far. I’ve recently upgraded to java 17 (thanks @msailes for the awesome java 17 layer project). I’m loving java 17 and would like to not have to give that up and have to down grade just to get this lambda snapstart benefit.

the docs mentioned it’s implemented in the runtime so I’m presuming that means in the client that handles the lambda runtime api requests.

Does the official java11 lambda runtime use the same runtime api client as the one in this project? If so I may get this for free and I can close out this issue.

Did I misread something, or there's no answer to the original question...? @softprops @msailes or is this addressed somewhere else?

There is no change required in this project for SnapStart.

Awesome! to clarify, should I expect snapstart should work out of the box for those using a provided runtime using this projects client as a handler executor and corretto as the jvm?

SnapStart is only available for Java 11.

SnapStart is only available for Java 11.

@msailes Is there any timeline for when the official Java 17 runtime with the SnapStart support might be available
(like next quarter or end of the year, or later)?

We are continuing to work on Java 17 support, but don't currently have a timeline we can share.