~/talk

Nobody Puts Java in a Container

Talkat DevOpsDays Warsaw 2016 · 2016-11-22..11-23· [devops-and-delivery, java]
slides:none on file

Containers expose kernel features not full VMs, so Java defaults can be wrong: JDK7/8 reads host CPU count, so a 4‑CPU container on a 32‑core host still initializes for 32 cores; JDK9 uses CPU affinity/cpuset. Memory is worse: metaspace and native off‑heap aren’t limited by heap flags, and hitting a cgroup memory limit causes the process to be OOM‑killed rather than throwing Java OOME. Practical fixes shown: set explicit JVM flags (heap, GC threads), use cpusets not just cpu‑shares, or generate container startup scripts; full JVM container APIs are still pending.

AI-written summary · about

  1. 0:00Intro
  2. 0:38Dirty Dancing
  3. 1:00Java in Containers
  4. 1:27About Jrg
  5. 2:56Containers
  6. 4:09Container vs VM
  7. 7:02Docker Container
  8. 7:43Containers vs VMs
  9. 9:52Container Isolation
  10. 10:12Isolation guarantees
  11. 11:07Namespaces and Control Groups
  12. 12:53Control Groups
  13. 14:03Process Groups
  14. 14:46Memory Limits
  15. 15:44CPUC Groups
  16. 16:09CPU Priority
  17. 17:31CPU Sets
  18. 18:15namespaces
  19. 19:43Java
  20. 20:30Java Memory
  21. 23:27Containers and Java
  22. 25:45Memory
  23. 27:17Conclusion
  24. 29:50Limitations for different programming languages
  25. 31:21Practical approaches
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.