~/talk

Quarkus and GraalVM: booting Hibernate at supersonic speed, subatomic size

Talkat QCon São Paulo 2019 · 2019-05-06..05-08· [java, web-performance]
slides:none on file

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

  1. 0:00Start
  2. 1:50Native Image
  3. 5:45Static Analysis
  4. 7:18Dynamic Cross Loading
  5. 10:02Reflection
  6. 11:11Static Initialization
  7. 11:28Static Initializer
  8. 15:14Examples from the Hibernate Library
  9. 16:54Adapt Your Code
  10. 17:40The Impact on Hibernate
  11. 18:29Resource Loading
  12. 21:24Hibernate Dependencies
  13. 21:37Postgres Sequel Driver
  14. 22:03Mariadb Driver
  15. 24:31Class Pass Scanning
  16. 30:56Libraries That Are Supported
  17. 33:33How Much Memory Does It Consume
  18. 34:38Startup Time
  19. 45:52Extensions
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.