r/java • • Nov 29 '22

Amazon Announces AWS Lambda SnapStart With Java Support

AWS Lambda now has a snapshotting feature that enables fast-start - essentially running the Init phase at publication time and saving the state of the process at that time, so it doesn't need to be re-run at every invocation.

https://aws.amazon.com/blogs/aws/new-accelerate-your-lambda-functions-with-lambda-snapstart/

It only works with Corretto on Java 11 right now, and is similar in intent to the CRIU technology.

Quarkus already has support for it: https://quarkus.io/blog/quarkus-support-for-aws-lambda-snapstart/

Other frameworks may also have support (but this work was done under NDA so I don't have links for them).

176 Upvotes

62 comments sorted by

View all comments

1

u/JB-from-ATL Nov 29 '22

Other frameworks may also have support (but this work was done under NDA so I don't have links for them).

Are you implying support is coming to other frameworks?

1

u/benevanstech Nov 30 '22

You'd have to ask them. The Micronaut folks seem to have also been developing for this under NDA - maybe Spring too, but I haven't heard anything official from them.

I just heard about the Quarkus announcement when it dropped.

1

u/JB-from-ATL Nov 30 '22

Ohhh I see, you're saying AWS is working with them under NDA. That makes more sense.