Introducing Micronaut

Introducing Micronaut

Unconference at JJUG CCC 2019 Spring

979f8815a9d4604d87f54b8394c503bd?s=128

Mitsuyuki Shiiba

May 18, 2019
Tweet

Transcript

  1. Introducing Micronaut 2019-05-18 JJUG CCC 2019 Spring Mitsuyuki Shiiba @bufferings

  2. Micronaut https://micronaut.io/ accessed on May 19th, 2019

  3. Framework for microservices These are matters for microservices: • Startup

    Time • Memory Footprint • Throughput
  4. Micronaut - who developed it? • developed by the creators

    of the Grails framework • inspired by Spring, Spring Boot and Grails • backed by Object Computing, Inc. (OCI)
  5. Micronaut - the way • Compile time DI & AOP

    • Reactive & Non-Blocking Support for HTTP Server & HTTP Client
  6. Micronaut - characteristics • POLYGLOT FRAMEWORK: Java, Groovy, Kotlin •

    GraalVM Support
  7. Micronaut - for me • Good Documents • Easy to

    start with CLI(mn) to generate applications • Easy to understand for those who are used to Spring Boot ◦ Controller ◦ Configuration ◦ Constructor Injection ◦ etc • Improvement speed is so fast
  8. DEMO • Spring PetClinic ◦ https://github.com/spring-projects/spring-petclinic • Micronaut PetClinic ◦

    https://github.com/bufferings/micronaut-petclinic
  9. DEMO - result on my laptop very rough values Spring

    Boot Micronaut Micronaut (Native) Build 10 s 15 s 15 m Startup time 9 s 4 s 600 ms
  10. Rerference • Micronaout を試した JJUG CCC 2018 Spring LT by

    @kencharos • Devoxx UK 2019 - Cloud-native Microservices with Micronaut • Short comparison: Building Graal Native Images with Quarkus, Micronaut and Helidon