World Congress 2025

High performance Serverless Java on AWS

July 10, 2025 14:50 – 15:20 · 30 min Stage 4
performance aws cloud serverless java

What this session covers

Java is for many years one of the most popular programming languages, but it used to have hard times in the Serverless community. Java is known for its high cold start times and high memory footprint, comparing to other programming languages like Node.js and Python. In this talk I’ll look at the general best practices and techniques we can use to decrease memory consumption and cold start times for Java Serverless applications on AWS Lambda including 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 also provide Lambda functions performance (cold and warm start times) benchmarking for:

-Deployment package sizes 
-Lambda memory settings
-Java compilation options
-Managing Lambda dependencies with Lambda layers 
-Choice of garbage collection algorithm
-Choice of hardware architecture x86 vs arm64 
-HTTP (a)synchronous clients 

Related talks at this congress

Open session

World Congress 2025

July 11, 2025 · 14:20–14:50

Stage 10

CRaCing Java Snapshots

Pasha Finkelshteyn

Developer Advocate, BellSoft

Pasha Finkelshteyn
Open session

World Congress 2025

July 10, 2025 · 10:10–10:40

Stage 7

30 powerful AWS hacks in just 30 minutes: Boost your developer productivity

Modood Alvi

AWS Solutions Architect

MA
Open session

World Congress 2025

July 11, 2025 · 13:40–14:10

Stage 10

Trash Talk - Exploring the memory management in the JVM

Gerrit Grunwald

Senior Developer Advocate at Azul Systems

Gerrit Grunwald
Open session

World Congress 2025

July 10, 2025 · 10:10–10:40

Stage 6 - Red Hat

Developer Joy with Quarkus

Daniel Oh

Senior Principal Developer Advocate

Daniel Oh
All sessions at this congress