~/talk

Tuning Java's G1 Garbage Collector for Realtime Services

Talkat SREcon19 Asia/Pacific · on Thursday, 2019-06-13· at 17:00· Track 3: Room 334–336· [java]
links:none on file
slides:none on file

G1 is tuned for MQTT by forcing frequent tenured cleanup: G1OldCSetRegionThresholdPercent=50%, InitiatingHeapOccupancyPercent=0%, G1MixedGCLiveThresholdPercent=90% and reducing mixed GC target from 8 to 4 so mixed GCs prune tenured regions aggressively instead of waiting for 65% occupancy. This prevents full GCs, bends tenured usage to active connections, and yields >10% server footprint reduction and about 10x p99/p95/p90 latency improvement when measured with long canaries and realistic pause targets.

AI-written summary · about

  1. 0:00Intro
  2. 0:44Scaling
  3. 6:56Collection Life Cycle
  4. 10:00What does tenured mean
  5. 11:01False dichotomies
  6. 12:06Problem solving
  7. 14:29Tuning options
  8. 19:13QA
~/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.