Thawing Java on AWS Lambda - Daniel Raniz Raneland, Factor10 | Craft Conference 2022

preview_player
Показать описание
This talk was recorded at Craft Conference 2022. Daniel Raniz Raneland from Factor10 spoke about Reducing Cold Start Times From Eleven Seconds to One. 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 replacing Spring Cloud with Micronaut and use 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.

The event was organized by Crafthub.

You can watch the rest of the conference talks on our channel.

Рекомендации по теме