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.
Matching moments
00:36 MIN
Understanding Java's challenges in serverless environments
High performance Serverless Java on AWS
04:15 MIN
Why traditional Java was too slow for serverless
Serverless Java in Action: Cloud Agnostic Design Patterns and Tips
10:00 MIN
Solving Java's serverless challenges with Quarkus
Serverless-Native Java with Quarkus
20:01 MIN
Applying WebAssembly to solve serverless performance issues
The Future of Cloud is WebAssembly
10:20 MIN
Optimizing Java performance for cloud-native applications
Cloud Chaos and Microservices Mayhem
07:13 MIN
Identifying the key challenges of serverless functions
Fun with PaaS – How to use Cloud Foundry and its uniqueness in creative ways
06:38 MIN
Identifying the key challenges of serverless functions
The Future of Cloud is WebAssembly
20:02 MIN
Applying WebAssembly to solve serverless performance issues
Fun with PaaS – How to use Cloud Foundry and its uniqueness in creative ways
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.

Staff Software Engineer Java Kotlin AWS
Client Server
Charing Cross, United Kingdom
Remote
€95-110K
API
Java
React
+5

Backend Developer (Java / AWS Lambda / MySQL)
Johnsons 1871
Wigan, United Kingdom
Remote
Junior
Java
.NET
REST
MySQL
+2

Java & Quarkus Architect
Paradigma Digital
Boiro, Spain
Java
Azure
Kafka
Agile Methodologies
Continuous Integration
+1

Java & Quarkus Architect
Paradigma Digital
Municipality of Valencia, Spain
Java
Azure
Kafka
Agile Methodologies
Continuous Integration
+1

Tech Lead AWS Serverless Developer, Madrid
Plexus
Municipality of Madrid, Spain
Java
Python
Amazon DynamoDB
Amazon Web Services (AWS)

Java & Quarkus Architect
Paradigma Digital
Municipality of Madrid, Spain
Java
Azure
Kafka
Agile Methodologies
Continuous Integration
+1

Java Developer - AWS
Infoplus Technologies UK Limited
Municipality of Vitoria-Gasteiz, Spain
Java
Spring
Terraform
TypeScript
AWS Lambda
+3

Senior Java Developer (AWS)
Test Yantra Software Solutions Private Limited
Bournemouth, United Kingdom
€80K
Senior
Java
NoSQL
Docker
MongoDB
+4

Java Developer (AWS) - remote
Sanoma Learning
Municipality of Valencia, Spain
Remote
Senior
Java
JUnit
Scrum
DevOps
+4