Quarkus and GraalVM: booting Hibernate at supersonic speed, subatomic size
summary
Quarkus combines GraalVM native-image and build-time analysis to shrink and preinit a Java app so it boots in milliseconds and uses tiny RSS, but it requires adapting libraries and registering reflective access. Demo compiles Hibernate, JDBC drivers and app enhancements into a native binary that boots in 6 ms (another example ~14 ms) and runs with about 13 MB RSS (Quarkus on HotSpot ~74 MB), while the native build is heavy (recorded ~12m38s) yet produces a working, fast executable.
AI-written summary · about
chapters (19)
- 0:00Start
- 1:50Native Image
- 5:45Static Analysis
- 7:18Dynamic Cross Loading
- 10:02Reflection
- 11:11Static Initialization
- 11:28Static Initializer
- 15:14Examples from the Hibernate Library
- 16:54Adapt Your Code
- 17:40The Impact on Hibernate
- 18:29Resource Loading
- 21:24Hibernate Dependencies
- 21:37Postgres Sequel Driver
- 22:03Mariadb Driver
- 24:31Class Pass Scanning
- 30:56Libraries That Are Supported
- 33:33How Much Memory Does It Consume
- 34:38Startup Time
- 45:52Extensions
related talks
52mQuarkus Supersonic Subatomic Java
01h 00mQuarkus from inside
54mQuarkus: Java development turned into delight
44mQuarkus: Supersonic Subatomic Java
48mSupersonic, Subatomic Java with Quarkus
42mWill my library or framework work on Quarkus (and GraalVM)?
42mKeynote: Subatomic Java Microservices with Quarkus
51mQuarkus why, how and what
