Serverless Java Web Applications on AWS Lambda with Micronaut, Quarkus and Spring Boot
In this talk, I will present and compare several approaches of how to develop, run and optimize Java web applications on AWS Lambda using Micronaut, Quarkus and Spring Boot frameworks.
I'll also discuss strategies how to reduce the cold start of such Lambda function with AWS Custom Lambda Runtime based on GraalVM Native Image and AWS own offering SnapStart based on Firecracker microVM snapshot and restore and CRaC (Coordinated Restore at Checkpoint) runtime hooks.
I'll into the SnapStart priming techniques which help us increase the Lambda performance and explore how AWS Lambda Profiler for Java can help us identify this potential. We'll also explore the impact of the SnapStart snapshot tiered low-latency cache on the cold start times.
I'll also discuss various optimization strategies to improve the performance (the cold and warm start time) of the Lambda function.