Micronaut AOT: Optimizing Your Applications for the JIT and GraalVM
summary
Micronaut AOT is an extension to the Micronaut framework that precomputes at packaging time information normally discovered at runtime, improving startup and runtime performance for both JVM JIT and GraalVM native images. It converts resources like YAML configuration into Java configuration and optimizes class loading (e.g., service loader) to avoid runtime parsing and reflection. The talk demonstrates using Micronaut AOT to make traditional Micronaut microservices and GraalVM native binaries start extremely fast (examples target sub-10ms startup).
AI-written summary · about
chapters (27)
- 0:00Start
- 0:15Introduction of Cédric
- 1:19Introduction to Micronaut
- 3:28Dependency Management
- 4:24GraalVM
- 5:23GraalVM in Native Mode
- 6:03Getting to the Heart of the Matter
- 6:23Generating an Application
- 7:28Adding a Feature
- 8:10Generating a Project
- 9:38Creating a Class to Send Quotes
- 10:14Creating an API to Fetch Quotes
- 11:39Implementing the API
- 15:16Starting the Application
- 16:25Testing the Application
- 22:01Configuring Micronaut AOT
- 24:44What Micronaut AOT Notation is For
- 26:29Comparison with GraalVM
- 27:37How Does It Work?
- 29:26Default Optimizations
- 32:38Code Generator
- 33:45Optimizing the Runtime
- 35:49Optimizing Startup
- 36:26Optimizing Profiling
- 37:08Optimizing Image Size
- 37:46Optimizing APIs
- 42:11Q&A
related talks
32mUnleash the power of your applications with Micronaut and GraalVM
48mMicronaut Deep Dive
22mspeaks with
57mIntroduction to Micronaut 2.0
47mIntroduction to Micronaut Lightweight Microservices with Ahead of Time Compilation
46mUnleash the power of your applications with Micronaut and GraalVM
55mUnleash the power of your applications with Micronaut and GraalVM
45mIntruduction to Micronaut 2.0
