Java and Containers Make it Awesome
summary
Shows concrete wins: a jlink-generated JRE drops image size to ~97 MB versus ~200 MB for Java 8; an OpenJ9 shared class cache cuts startup about 40–50% (example: 4s → 2s). Checkpoint/restore with CRIU reduces a Spring app cold-start from ~14s to ~4s by restoring memory images. Recommends Java 11, avoid fixed -Xmx and use -XX:MaxRAMPercentage=80 so heap follows container limits. Includes Dockerfile patterns for layer caching, non-root users, and copying SCC/JRE into the runtime image.
AI-written summary · about
chapters (13)
- 0:00Start
- 1:45Adopt Open Jdk
- 11:42Clone the Repository within the Docker Image
- 18:38Share Class Cache
- 20:13The Runtime Phase
- 26:10Build Phase
- 26:27Startup and Scaling
- 27:50Checkpoint Restart and User Space
- 38:48How Do I Set those Limits
- 40:05Vertical Part Autoscaler
- 42:58Idle Awareness
- 44:43Debug Ability
- 46:36Java Core
related talks
48mJava in Containers - Part Deux
46mJava in a World of Containers
31mFast and Distroless Java in Containers: the Recipe!
47mLegal JVM Doping in Your Containers
45mJVMs in Containers, Towards a Perfect Symbiosis!
25mCommit to Excellence - Java in Containers
46mJava in Container - Best Practicies for containerized Java Apps
35mJava in a world of containers
