Upgrade to Pro — share decks privately, control downloads, hide ads and more …

The Rise of the Micro...What? An introduction t...

The Rise of the Micro...What? An introduction to Micronaut

A low memory footprint and designed for microservices (not so) new framework

Avatar for Daniel Castillo

Daniel Castillo

October 22, 2019
Tweet

More Decks by Daniel Castillo

Other Decks in Programming

Transcript

  1. Agenda • History & Challenges • Features • Demo •

    Next steps • Resources • Questions
  2. History & Challenges • Serverless and the next generation of

    Microservices • Containers and Java requires a special memory management • Reduction in resources consumption • Usage of a “deprecated” stack (Netflix MS Stack)
  3. History & Challenges • Mostly all the dependencies are calculated

    in runtime! • WAY TOO MUCH MEMORY !!! • And don’t get me started talking on the size of the classpath!!! • A fatter classpath, a slower start up time! 5
  4. 6

  5. Features • Dependency Injection & IoC (JSR 330) • Minimal

    usage of reflection • Reduce memory footprint • CLI Integration • Polyglot (Java, Kotlin & Groovy) • GraalVM Support
  6. Features • HTTP Declarative Client • Unit & Integration Tests

    made easy! • Minimal use of proxies • Spring compatible (Yes, you can use Spring libraries!) • AOT Repositories (Micronaut Data)
  7. Next Steps • Cloud Native Integration • Modules (gRPC, Kafka,

    Consul, Flyway, etc) • AWS Lambdas • Micronaut Data
  8. Resources • Gitter community: https://gitter.im/micronautfw • Documentation: https://micronaut.io/documentation.html • Guides:

    https://guides.micronaut.io/ • Repository (Core): https://github.com/micronaut-projects/micronaut-core • Repository (Examples): https://github.com/micronaut-projects/micronaut-examples