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
09:51 MIN
Java's adaptation for cloud-native and serverless computing
Build ultra-fast In-Memory Database Apps and Microservices with Java
41:30 MIN
Choosing between SnapStart and GraalVM
High performance Serverless Java on AWS
10:00 MIN
Solving Java's serverless challenges with Quarkus
Serverless-Native Java with Quarkus
05:33 MIN
Deconstructing the AWS Lambda cold start lifecycle
High performance Serverless Java on AWS
20:01 MIN
Applying WebAssembly to solve serverless performance issues
The Future of Cloud is WebAssembly
11:38 MIN
Reducing cold starts with AWS SnapStart
High performance Serverless Java on AWS
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
Serverless Architectures with Spring Cloud Functions and Knative
Ingo Weichsel
Like Spring, but Faster: The new Java Jedi
Eric Deandrea
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.


Senior Backend Engineer Java/Spring
iov42
Vienna, Austria
Senior
Java
Spring
Ethereum
PostgreSQL
Blockchain
+3



Senior Software Engineer (Java, AWS ECS, DynamoDB, Lambda, Terraform, Docker)
ScriptRunner
Senior
DevOps
Docker
Terraform
Microservices
Amazon DynamoDB
+1

Senior Software Engineer (Java, AWS ECS, DynamoDB, Lambda, Terraform, Docker)
ScriptRunner
Senior
DevOps
Docker
Terraform
Microservices
Amazon DynamoDB
+1

Senior Software Engineer (Java, AWS ECS, DynamoDB, Lambda, Terraform, Docker)
ScriptRunner
Senior
DevOps
Docker
Terraform
Microservices
Amazon DynamoDB
+1

Senior Software Engineer (Java, AWS ECS, DynamoDB, Lambda, Terraform, Docker)
ScriptRunner
Senior
DevOps
Docker
Terraform
Microservices
Amazon DynamoDB
+1

Senior Software Engineer (Java, AWS ECS, DynamoDB, Lambda, Terraform, Docker)
ScriptRunner
Senior
DevOps
Docker
Terraform
Microservices
Amazon DynamoDB
+1