Vadym Kazulkin
High performance Serverless Java on AWS
#1about 4 minutes
Why Java struggles with serverless adoption on AWS
Java's popularity as a language has not translated to serverless due to significant cold start times and a high memory footprint compared to Node.js or Python.
#2about 2 minutes
Understanding the Lambda execution model and cold starts
A cold start involves creating a new microVM, downloading code, and running static initializers, whereas a warm start only executes the handler method on a reused environment.
#3about 3 minutes
Benchmarking a standard Java Lambda's performance
Initial performance tests of a simple Java Lambda function show fast warm starts but unacceptable cold start latencies of over three seconds.
#4about 3 minutes
Introducing AWS SnapStart for faster Java cold starts
AWS SnapStart improves cold start times by taking a snapshot of an initialized microVM during deployment and quickly restoring it for new invocations.
#5about 3 minutes
Optimizing SnapStart performance with priming techniques
Priming uses CRaC hooks like `beforeCheckpoint` to pre-initialize expensive components such as HTTP clients and JSON serializers so they are included in the snapshot.
#6about 3 minutes
Measuring the impact of SnapStart and priming
Activating SnapStart with priming reduces cold starts from over three seconds to one second, with further improvements to 700ms as the tiered cache warms up.
#7about 3 minutes
Using the Lambda profiler for advanced priming
The AWS Lambda profiler can reveal internal SDK initialization processes, like event serialization, which can be primed to further reduce cold start times.
#8about 2 minutes
Exploring GraalVM Native Image as an alternative
GraalVM's Native Image compiler creates a small, self-contained executable that achieves even faster cold starts and warm starts compared to standard JVM execution.
#9about 3 minutes
Comparing the trade-offs of SnapStart vs GraalVM
While GraalVM offers the best performance, SnapStart is a fully managed solution that avoids the CI/CD complexity and dynamic invocation challenges of native image compilation.
Related jobs
Jobs that call for the skills explored in this talk.
Picnic Technologies B.V.
Amsterdam, Netherlands
Senior
Java
Amazon Web Services (AWS)
+1
Matching moments
02:33 MIN
Why you might not need JavaScript for everything
WeAreDevelopers LIVE – You Don’t Need JavaScript, Modern CSS and More
08:07 MIN
Exploring modern JavaScript performance and new CSS features
WeAreDevelopers LIVE – AI, Freelancing, Keeping Up with Tech and More
02:49 MIN
Using AI to overcome challenges in systems programming
AI in the Open and in Browsers - Tarek Ziadé
06:47 MIN
Solving date and time issues with the Temporal API
WeAreDevelopers LIVE – You Don’t Need JavaScript, Modern CSS and More
03:55 MIN
The hardware requirements for running LLMs locally
AI in the Open and in Browsers - Tarek Ziadé
01:06 MIN
Malware campaigns, cloud latency, and government IT theft
Fake or News: Self-Driving Cars on Subscription, Crypto Attacks Rising and Working While You Sleep - Théodore Lefèvre
03:16 MIN
Improving the developer feedback loop with specialized tools
Developer Time Is Valuable - Use the Right Tools - Kilian Valkhof
11:10 MIN
The only frontend stack that truly matters
WeAreDevelopers LIVE – Frontend Inspirations, Web Standards and more
Featured Partners
Related Videos
High performance Serverless Java on AWS
Vadym Kazulkin
Serverless Java in Action: Cloud Agnostic Design Patterns and Tips
Kevin Dubois & Daniel Oh
Serverless-Native Java with Quarkus
Alex Soto
2021: Familiar APIs on Kickass Runtimes #slideless
Adam Bien
Microservices with Micronaut
Moritz Kammerer
Going serverless using the Spring Framework ecosystem
Timo Salm
Like Spring, but Faster: The new Java Jedi
Eric Deandrea
Serverless Architectures with Spring Cloud Functions and Knative
Ingo Weichsel
Related Articles
View all articles


.gif?w=240&auto=compress,format)
From learning to earning
Jobs that call for the skills explored in this talk.







Client Server
Kingston upon Hull, United Kingdom
Remote
£100K
API
Java
Scrum
+7

