Java is for many years 1 of the most popular programming languages, but it utilized to have hard times in the Serverless community. Java is known for its advanced cold start times and advanced memory footprint, comparing to another programming languages like Node.js and Python. In this talk I'll look at the general best practices and techniques we can usage to decrease memory consumption, cold start times for Java Serverless improvement on AWS including GraalVM (Native Image) and AWS own offering SnapStart based on Firecracker microVM snapshot and reconstruct and CRaC (Coordinated reconstruct at Checkpoint) project. I'll besides supply quite a few benchmarking on Lambda functions trying out various deployment package sizes, memory settings, Java compilation options and HTTP (a)synchronous clients and measurement their impact on cold and warm start times.
GeeCON 2024: Vadym Kazulkin - advanced performance Serverless Java on AWS
Java is for many years 1 of the most popular programming languages, but it utilized to have hard times in the Serverless community. Java is known for its advanced cold start times and advanced memory footprint, comparing to another programming languages like Node.js and Python. In this talk I'll look at the general best practices and techniques we can usage to decrease memory consumption, cold start times for Java Serverless improvement on AWS including GraalVM (Native Image) and AWS own offering SnapStart based on Firecracker microVM snapshot and reconstruct and CRaC (Coordinated reconstruct at Checkpoint) project. I'll besides supply quite a few benchmarking on Lambda functions trying out various deployment package sizes, memory settings, Java compilation options and HTTP (a)synchronous clients and measurement their impact on cold and warm start times.








