3 ms·
I can believe that Quarkus uses a lot less memory than Spring! But not simply using Graal. JIT infrastructure, class metadata, etc are real, of course, but th
by twic 6y ago
I can believe that Quarkus uses a lot less memory than Spring!
But not simply using Graal.
JIT infrastructure, class metadata, etc are real, of course, but they are a small fraction of total memory use in every app i have ever worked on. Okay, you get a small saving by using Graal, so my original comment is not quite right. But it's not going to make the difference between an app needing 256 MB and 238 MB.
- jacques_chester 6y agoThere are two aspects, as I understand it: Graal's native image and Quarkus's compile-time evaluation of annotations. Each is responsible for different aspects of space and time saving. The comparable compile-time effort in Spring is being explored in the spring-init project[0] and I believe will be a core feature in Spring Boot 3 / Spring Framework 6, along with Graal support. [0] https://github.com/spring-projects-experimental/spring-init https://github.com/spring-projects-experimental/spring-init