Loading…
Attending this event?
Get your ticket and additional info and support at jcon.one
Back To Schedule
Tuesday, November 21 • 12:00pm - 12:45pm
πŸ‡¬πŸ‡§ Thawing Java on AWS Lambda: Reducing cold start times from 11 seconds to 1

Log in to save this to your schedule, view media, leave feedback and see who's attending!

Java has never been a perfect fit for Function as a Service platforms such as AWS Lambda or Azure Functions. While both platforms have official support for Java, Java functions unfortunately suffer from significantly longer cold start times than many other runtimes.

In this talk I will show a simple Spring Cloud Java function running on AWS Lambda with fairly horrible cold start times of around 11 seconds and then show how we can fix this by using GraalVM Native Image to perform most of the work during compile time. The end result is cold start times of less than a second, making Java a viable, though not without drawbacks, choice for FaaS platforms that support custom runtimes.

I will also compare this solution to Amazon's Lambda SnapStart to discuss the differences between the two solutions.

Speakers
avatar for Daniel Raniz Raneland

Daniel Raniz Raneland

Raniz is a programmer, architect, speaker and coach at factor10, helping companies achieve software excellence with a business focus. As a problem solver at heart, he jumps at complicated problems and believes that as much as possible should be automated, reproducible and stored as... Read More →


Tuesday November 21, 2023 12:00pm - 12:45pm CET
Room 2
Feedback form isn't open yet.