Hacker News new | ask | show | jobs
by marginalia_nu 1070 days ago
No man spring boot is hideously slow as well compared to vanilla java. It's pretty fast compared to many other things, but that's just because vanilla java is extremely fast.

You often see like 15-30 second start times for springboot apps, which is hilarious and 13-28 seconds longer than it has any business taking.

2 comments

startup time?

Any java performance test is generally done against a warmed up VM - which would be representative of the 99.99% of the time the app is running. With or without spring boot.

Startup time matters too. There's no reason you should have 2003 start times in a 2023 application.

A java application should be able to start in seconds. An inability to do so is the surefire litmus test for pulling in too many dependencies.

Have you tried Spring native?
I've tried and worked with most of what the Spring ecosystem has on offer, and I'm not particularly impressed. It seems to codify all the practices that makes for mediocre software.