-
Notifications
You must be signed in to change notification settings - Fork 0
GraalVM Native Image build for faster startup #19
Copy link
Copy link
Open
Labels
Description
Description
Current deployment model packages the application as a fat JAR running on eclipse-temurin:21-jre, this results in:
- slow cold starts (JVM startup + Spring Boot initialization)
- High memory footprint (JRE base image + JVM heap overhead)
Introduce a GraalVM Native Image build using Spring Boot's native compilation support (spring-boot-starter-parent already supports this via native profile).
Risks & Considerations
- LadybugDB uses JNI bindings, it will need proper testing with native image
- Reflection-heavy Spring features may need explicit GraalVM configuration hints
- Build time will increase for native compilation
Reactions are currently unavailable