~/talk

Micronaut CRaC

Talkat JCON WORLD ONLINE 2023 · on Wednesday, 2023-11-22· at 09:00· Live-Stream 1, Online - Remote· [java, cloud-infrastructure]
links:none on file
slides:none on file

Micronaut adds an integration that uses OpenJDK CRaC to snapshot JVM state and restart from a hot image, packaged via a Gradle/Maven Docker build:crac task that embeds an ASO JDK with CRaC. Adds an order resource API plus a checkpoint simulator for tests, recommends eager singletons and allows Hikari + Micronaut Data JDBC to be checkpointed. Measured startup drops from ~650–700 ms to ~100–150 ms, and a DB-backed app from ~1 s to ~100–200 ms. Linux only, requires CRaC-enabled JDK.

AI-written summary · about

  1. 0:00Introduction to Micronaut CRaC
  2. 3:18What is CRaC and why it matters
  3. 7:13Micronaut framework overview
  4. 15:02Setting up Micronaut CRaC
  5. 18:16Creating and restoring checkpoints
  6. 21:56Demo: Simple Micronaut app
  7. 26:17Demo: Measuring startup time
  8. 27:42Demo: Docker with CRaC
  9. 29:54Demo: Database integration
  10. 33:34Demo: Performance comparison
  11. 34:16Resources and Q&A
~/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.