Why My "Lightning Fast" Spring Boot Native App Took 9 Seconds to Boot on Fly.io
java
dev.to
Why My "Lightning Fast" Spring Boot Native App Took 9 Seconds to Boot on Fly.io We’ve all heard the promise of GraalVM and Spring Boot Native: sub-second cold starts! Instant scaling! A fraction of the memory! So, I spent the time configuring my Spring Boot 4 app to compile into a native image. Locally, inside a Docker container, it booted in a highly respectable 1.7 seconds. Feeling triumphant, I deployed it to Fly.io, expecting instantaneous "scale-to-zero" magic. I checked the log