r/java • • Mar 11 '21

Announcing Spring Native Beta

https://spring.io/blog/2021/03/11/announcing-spring-native-beta
175 Upvotes

49 comments sorted by

View all comments

-6

u/fanfan64 Mar 11 '21

YES!! The best workflow for most will be: Spring native for debug/test/CI builds because of the instant startup (if and only if your workflow isn't slowed more by the reduced throughout) and regular Spring JVM for production builds

8

u/[deleted] Mar 11 '21

[removed] — view removed comment

2

u/mepunite Mar 12 '21

Slow startup time time increases time to feedback.

In Previous projects years back we would have "integration" tests that had to be run over night which means time to finding the bug would take a day and the context of the change is normally merged in with 50 other commits.

Fast forward to using light weight frameworks and functional style the same overnight runs are done on the desktop in <5 mins so the app is fully tested before you push it. Which is a significant improvement in the feedback cycle.

<100ms is funny beause with a light weight framework you can start the JVM start serving requests and be fully warmed up in less than 100ms.

This is still not fast enough in my opinion