
What we’re about
Java & JVM in Vienna, Austria: An in-person meetup for local enthusiasts.
Our monthly meetup (except for July and August) in Vienna provides a platform to discuss various Java-related topics such as frameworks and best practices. The meetup is aimed at beginners, intermediates, and professionals alike.
Please note that our meetings are in-person only and primarily intended for individuals living in or near Vienna.
We meet at the Vienna University of Technology in the heart of the city. If you have something interesting to share that is not widely known, please feel free to reach out to one of the organizers.
Java & JVM in Wien, Österreich: Ein persönliches Meetup für lokale Enthusiasten.
Unser monatliches Meetup (ausgenommen Juli und August) in Wien bietet eine Plattform, um über verschiedene Java-bezogene Themen wie Frameworks und bewährte Methoden zu diskutieren.
Das Meetup richtet sich an Anfänger, Fortgeschrittene und Profis gleichermaßen.
Bitte beachtet, dass unsere Treffen ausschließlich "in-person" stattfinden und hauptsächlich für Personen gedacht sind, die in Wien oder der näheren Umgebung leben.
Wir treffen uns an der Technischen Universität Wien im Herzen der Stadt.
Wenn ihr etwas Interessantes zu teilen habt, das noch nicht allgemein bekannt ist, zögert nicht, einen der Organisatoren zu kontaktieren.
Sponsors
See allUpcoming events (1)
See all- High Performance Spring Boot 3 on AWS LambdaTU Wien, Freihaus HS1, Vienna
Joint meetup with AWS Vienna Meetup !
Agenda
18:00 doors open
18:20 welcome
18:30 High performance Serverless Java on AWS - Vadym Kazulkin
19:30 Break
19:55 Raffle
20:00 How to develop, run and optimize Spring Boot 3 application on AWS Lambda - Vadym Kazulkin
21:15 Networking nearbyHigh performance Serverless Java on AWS
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. We'll also look into the SnapStart priming techniques which help us increase the Lambda performance and explore how AWS Lambda Profiler for Java can help us identify this potential. We'll also explore the impact of the SnapStart snapshot tiered low-latency cache on the cold start times.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
How to develop, run and optimize Spring Boot 3 application on AWS Lambda
In this talk I will present and compare several options of how to run Spring Boot 3 application on AWS Lambda using the following framework or tools:- AWS Serverless Java Container
- AWS Lambda Web Adapter
- Spring Cloud Function
- Custom Docker Image.
I'll also discuss strategies how to optimize cold start of such Lambda function with AWS Custom Lambda Runtime based on GraalVM Native Image and AWS own offering SnapStart based on Firecracker microVM snapshot and restore and CRaC (Coordinated Restore at Checkpoint) runtime hooks. Moreover I'll present various (SnapStart) priming techniques to reduce the cold start even further and explain the benefits of the snapshot tiered cache. Is Spring Boot native support of CRaC also a potential optimization? I'll also discuss optimization strategies for the warm start/execution time of the Lambda function.