~/talk

Java in a world of containers

Talkat ContainerDays Hamburg 2018 · 2018-06-18..06-20· [java, web-performance]
slides:none on file

Cold-start benchmark goes from ~156 ms to ~123 ms by creating an 18 MB class data sharing file with java -Xshare:dump (about 30 ms saved), and down to ~101 ms when combined with jaotc ahead‑of‑time compilation. Image size drops from ~568 MB full JDK to ~46 MB using jlink (a Netty profile can be ~16 MB). Musl/Alpine builds use Project Portola and the extreme is substrate vm producing single‑digit‑MB static binaries. JVM now respects cgroup memory/CPU heuristics since JDK8–10.

AI-written summary · about

  1. 0:00Introduction to Java in containers
  2. 3:16Why Java fits containers
  3. 4:41Fast startup techniques
  4. 13:13Class data sharing demo
  5. 14:01Application CDS in Java 10
  6. 15:06AOT compilation for startup
  7. 19:47Building small container images
  8. 22:35Using j-link for modular JVM
  9. 28:07Minimizing JVM and code size
  10. 29:51Substrate VM overview
  11. 30:14Respecting container environment
  12. 34:26Java platform group commitment
~/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.