Session

How to develop, run and optimize Spring Boot 3 application on AWS Lambda

In this talk I will present and compare several options of how to run Spring Boot 3 application on AWS Lambda using the following frameworks or tools:

-AWS Serverless Java Container
-AWS Lambda Web Adapter
-Spring Cloud Function AWS
-Custom Docker Image

I'll also discuss strategies how to optimize 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.

We'll also look 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. Additionally we'll introduce AWS Lambda SnapStart Bug Scanner which is the SpotBugs plugin for helping AWS Lambda customers inspect their Lambda functions against potential bugs unique to AWS Lambda SnapStart environment. 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.

Is Spring Boot native support of CRaC also a potential optimization?

In this talk I will present and compare several options of how to run Spring Boot 3 application on AWS Lambda using the following frameworks or tools:

-AWS Serverless Java Container
-AWS Lambda Web Adapter
-Spring Cloud Function AWS
-Custom Docker Image

I'll also discuss strategies how to optimize 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.

We'll also look 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. Additionally we'll introduce AWS Lambda SnapStart Bug Scanner which is the SpotBugs plugin for helping AWS Lambda customers inspect their Lambda functions against potential bugs unique to AWS Lambda SnapStart environment. 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.

Is Spring Boot native support of CRaC also a potential optimization?

Vadym Kazulkin

Head of Development at ip.labs in Bonn, Germany

Bonn, Germany

Actions

Please note that Sessionize is not responsible for the accuracy or validity of the data provided by speakers. If you suspect this profile to be fake or spam, please let us know.

Jump to top