Real World JFR: Experiences building and deploying a continuous profiler at scale
summary
Datadog builds a continuous profiler at scale that snapshots JDK Flight Recorder every minute, compresses with LZ4 and uploads terabytes from hundreds of thousands of JVMs; typical 1–5 MB/min recordings compress to ~2 MB, CPU overhead under ~2% except pathological workloads. An adaptive PID sampler throttles noisy exception and allocation events; work on a JFR allocation sampler and a dedicated stack-trace repository reduces constant-pool blowups and makes continuous profiling feasible in production.
AI-written summary · about
