Moritz Kammerer
Microservices with Micronaut
#1about 3 minutes
Why traditional Java frameworks are slow in the cloud
Slow startup times in frameworks like Spring Boot become a major cost and performance issue when scaling services to zero in the cloud.
#2about 3 minutes
How Micronaut achieves fast startups with compile-time DI
Micronaut moves expensive runtime operations like dependency injection, proxy creation, and AOP to the build phase using an annotation processor.
#3about 5 minutes
Understanding Micronaut's performance and build time tradeoffs
A simple benchmark with empty beans can be misleading; the real performance gains come from avoiding Spring's complex auto-configuration, at the cost of longer compile times.
#4about 5 minutes
A comprehensive overview of Micronaut's features
Micronaut is a full-stack framework providing features for dependency injection, REST APIs, caching, resilience, database access, security, and serverless functions.
#5about 5 minutes
Creating your first Micronaut project and HTTP endpoint
Bootstrap a new application using the Micronaut CLI and create a basic REST endpoint with the `@Controller` and `@Get` annotations.
#6about 4 minutes
Using dependency injection with services and singletons
Structure your application by creating services and using constructor injection with `@Inject`, ensuring implementations are discoverable with `@Singleton`.
#7about 3 minutes
Building a declarative HTTP client to call external APIs
Define a Java interface annotated with `@Client` to have Micronaut automatically generate a type-safe HTTP client implementation at compile time.
#8about 3 minutes
Implementing resilience patterns like caching and fallbacks
Easily add resilience to your services by using the `@Cacheable` annotation for caching and the `@Fallback` annotation for failure recovery.
#9about 4 minutes
Comparing Micronaut and Spring Boot performance benchmarks
A real-world application benchmark shows Micronaut has significantly faster startup times, smaller JAR sizes, and higher request throughput compared to an equivalent Spring Boot application.
#10about 4 minutes
Compiling Micronaut applications to native images with GraalVM
Leverage Micronaut's reflection-free architecture to compile your application into a native executable using GraalVM, achieving startup times under 100 milliseconds.
#11about 4 minutes
Evaluating the pros, cons, and caveats of Micronaut
While Micronaut offers impressive performance, consider its relative maturity and the complexities of debugging native images when deciding if it's right for your project.
#12about 7 minutes
Answering questions on Micronaut and its ecosystem
The speaker answers audience questions regarding OpenJDK compatibility, Spring AOP support, use cases to avoid, comparisons to Quarkus, and market adoption.
Related jobs
Jobs that call for the skills explored in this talk.
Matching moments
09:51 MIN
Java's adaptation for cloud-native and serverless computing
Build ultra-fast In-Memory Database Apps and Microservices with Java
10:09 MIN
Choosing a familiar Java framework for microservices
Microservices: how to get started with Spring Boot and Kubernetes
05:41 MIN
Using Quarkus and GraalVM for fast Java startup
Serverless Java in Action: Cloud Agnostic Design Patterns and Tips
10:20 MIN
Optimizing Java performance for cloud-native applications
Cloud Chaos and Microservices Mayhem
10:00 MIN
Solving Java's serverless challenges with Quarkus
Serverless-Native Java with Quarkus
40:32 MIN
Measuring the performance gains of a Spring native image
Going serverless using the Spring Framework ecosystem
23:41 MIN
Understanding and building GraalVM native images
Bootiful Spring Boot 3
20:01 MIN
Applying WebAssembly to solve serverless performance issues
The Future of Cloud is WebAssembly
Featured Partners
Related Videos
Going serverless using the Spring Framework ecosystem
Timo Salm
High performance Serverless Java on AWS
Vadym Kazulkin
High performance Serverless Java on AWS
Vadym Kazulkin
Build ultra-fast In-Memory Database Apps and Microservices with Java
Markus Kett
2021: Familiar APIs on Kickass Runtimes #slideless
Adam Bien
Single Server, Global Reach: Running a Worldwide Marketplace on Bare Metal in a Cloud-Dominated World
Jens Happe
Our journey with Spring Boot in a microservice architecture
Michael Eder & Philipp Frauenthaler
Serverless-Native Java with Quarkus
Alex Soto
Related Articles
View all articles.gif?w=240&auto=compress,format)

.gif?w=240&auto=compress,format)

From learning to earning
Jobs that call for the skills explored in this talk.

Backend Developer (m/w/d)
BMS Corporate Solutions GmbH
Düsseldorf, Germany
Intermediate
Senior
Java
Hibernate

Java/Kotlin Software Developer (m/w/d) in einem Cloud-Native-Stack
PROSOZ Herten GmbH
Herten, Germany
Junior
Intermediate
Senior
Java
Scrum
Kotlin
Microservices


Senior Full Stack Entwickler:in Java, Spring Boot & React (d/m/w) - Remote
Haufe-Lexware GmbH & Co. KG
Freiburg im Breisgau, Germany
Intermediate
Senior
Java
React
TypeScript
![Java Backend Engineer - (Spring Boot) [gn]](https://wearedevelopers-staging.imgix.net/staging/public/default-job-listing-cover.png?w=400&ar=3.55&fit=crop&crop=entropy&auto=compress,format)

Voll Remote - Senior Java Entwickler / Architekt- Schwerpunkt Spring Boot & Cloud
Optimus Search
Remote
€95K
Senior
DevOps
Docker
Kubernetes
+2

Full Stack Entwickler (Java EE / Spring Boot) - Remote in Deutschland
CroX
€65-110K
Intermediate
GIT
JUnit
MySQL
NoSQL
+9

Java Full Stack Entwickler - Fokus Backend & Microservices
Devhub IT Solutions GmbH
Docker
PostgreSQL
Microservices
Microsoft Office

Senior Developer / Tech Lead - Java (Spring Boot) & JavaScript
Interactivated Solutions Europe
Senior
GIT
NoSQL
Vue.js
TypeScript