Why it matters

GC dominates p99 in HBase. Understanding options shapes latency.

Advertisement

The architecture

G1GC: default in Java 17+. Good throughput, some pauses.

ZGC: sub-ms pauses, more CPU.

GC choicesG1GCstandard, some pausesZGCsub-ms pausesShenandoahsimilar to ZGCFor latency-critical: ZGC/Shenandoah. For throughput: G1 tuned
GC options for HBase.
Advertisement

How it works end to end

G1 tuning: pause target, region size, concurrent gc threads.

ZGC: available Java 11+; production Java 15+. Reduces pauses at CPU cost.

Shenandoah: similar goals as ZGC. Red Hat backed.