Closed tschaffter closed 2 years ago
Already ticket 300!
At outset, Spring Boot is still leading in many aspects with the support of vast experience it acquired in handling Microservices over the years. But Micronaut( Young chap) is promising and promising enough to give tough competition to Spring Boot.
Source: Spring Boot vs Micronaut — The battle unleashed
Instead of using reflection at runtime, which is expensive, both frameworks (Micronaut and Quarkus) generate extra classes at build time. This also allows us to avoid classpath scanning at startup time. In short, the idea is about making as much code as possible available at build time.
Micronaut is a good alternative to Spring Boot. Migrating from the latter to the former is pretty straightforward. One just needs to be aware of the gap between the conventions of the two stacks.
Source: From Spring Boot to Micronaut
Micronaut is still in an emerging state and is proving its mettle. It is just a matter of time before it gains the huge recognition it deserves. And with GraalVM, it is an absolute beast!!!
Source: Issues with Spring, how Micronaut solves it, and latter’s support for GraalVM
Pinned repos (see stars and forks):
Pinned repos (see stars and forks):
Source: https://trends.google.com/trends/explore?geo=US&q=micronaut,spring%20boot,quarkus
Micronaut core has 3.8 thousand stars on GitHub and more than 200 contributors. Micronaut is being used in production at Alibaba, Target, Minecraft, Boeing, and many other organizations.
MvnRepository Rank:
The two main advantages of Micronaut over Spring is improved performance - apps start faster and have lower memory footprint - thanks to AOT compilation and native integration with cloud services such as service discovery, Eureka, load balancing, serverless functions that can be deployed to the AWS Lambda and any FaaS system that supports running functions as containers. The main drawbacks are its much smaller community, the lack of examples and the lack of management and monitoring tools.
The reasons I will continue to use Spring to develop microservices are:
Microservice framework suggested by @jaeddy