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
If you have a stable, predictable load and don't update your applications all that often, regular JVM applications are still OK.
If you have a very dynamic environment (and have to pay per usage) with unpredictable loads or peaks and valleys, it can make sense to use native applications as startup time becomes a big factor.
yes but I've found (at least for us) that even with unpredictable loads, unless the surges lasts a few seconds, the regular jvm will do just fine. In our application, it takes a few minutes to reach peak performance (jit + class loading + cache populating from our side).
However, for one shot programs or functions, native pays off really well
-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