~/talk

Java Performance on Kubernetes

links:none on file
slides:none on file

Most JVMs on Kubernetes with 1–2 CPUs and ≤1 GB memory default to serial GC and 256 MB max-heap, which surprises teams and causes out‑of‑memory and latency issues; New Relic survey shows most pods use 1–2 cores and ~1 GB. Demo compares Spring Boot, Quarkus, Micronaut, Vert.x and a minimal JVM: Vert.x starts in ~490 ms, Spring ~3–10 s, larger CPU cuts startup time. Recommendations: set heap to ~75% of container, prefer Parallel GC, give pods 2 CPUs/4 GB, set CPU requests but avoid hard CPU limits.

AI-written summary · about

  1. 0:00Introduction
  2. 1:31JVM resource considerations
  3. 3:29JVM ergonomics and GC
  4. 7:35Configuration pitfalls
  5. 9:01Thread pool impacts
  6. 13:37Netty and non-blocking I/O
  7. 15:37Startup time and stability
  8. 18:12Framework performance demo
  9. 25:41Cluster design strategies
  10. 28:58Recommended configurations
  11. 30:46Requests versus limits
  12. 33:56Q&A and concluding remarks
~/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.