r/java • • Apr 27 '23

AWS Lambda now supports Java 17

168 Upvotes

34 comments sorted by

View all comments

6

u/HyzerFlipr Apr 28 '23

Have they fixed the JVM warming time issue for lambdas yet?

23

u/soonnow Apr 28 '23

With SnapStart, Lambda initializes your function when you publish a function version. Lambda takes a Firecracker microVM snapshot of the memory and disk state of the initialized execution environment, encrypts the snapshot, and caches it for low-latency access. When you invoke the function version for the first time, and as the invocations scale up, Lambda resumes new execution environments from the cached snapshot instead of initializing them from scratch, improving startup latency.

Though haven't used it