New child was born and it is a beautiful creature in all senses. In first, it was written by smart people who presented Grails and Spring Boot to the world. These two guys are dominating in a Java Corporate world among web apps frameworks. However, new Micronaut framework has taken all positive sides of both and ditched negative ones.
- First one, it is a quick start. If Grails needed to initialize context and literally call place all beans in it. Micronaut is starting with lightning speed and loading beans on demand at a run time.
- It is really light-weight. This is extremely handy when we talk about Microservices architecture, because boxes should start almost instantly in order to keep system on the fly.
- It has embedded tools for communicating apps with each other. All that means you can have single config point where you set up your connection properties for robust fail-proof architecture.
- It could be in three flavors: Java Groovy or Kotlin. On a top it could be mixed. For example, if you use Java but decided to use Spock for Integration tests then all you need is just to add dependencies for Groovy and you’re good to go.
- It has Jaegger support out of the box. This is particularly handy when you have to debug processes which spread across several dozens of instances.
- It is fast. I mean it. Single m4.xlarge node is sending and receiving over 2.5k per second requests along with writing 100mb/min to s3 and using only 65% CPU and 1.5GB ram for JVM.
Indeed if you’d like to use it as a stand alone web-app framework it’ll not be a best candidate. However, it was not designed to be.