← All Learning Paths

Runtime Latency Engineer

Drive down tail latency: percentiles, GC pauses, continuous profiling, heap and GC tuning across Node and JVM, and SLO budget tuning.

roleadvanced9 nodes12.33h total

Path overview

This path is generated from the curated resource graph.

  1. Compare "What Actually Causes a Pause" with "Measuring Pauses Before Changing Anything" in "Reducing Garbage Collection Pauses in Services" and state which trade-off you would accept in runtime latency engineer code.

    Completion criteria: Attach a one-page summary that quotes "What Actually Causes a Pause", lists two trade-offs, and links the commit where you applied it.

    Next step: Analyze Tail Latency Outliers Beyond the Averages

    ⏱ 1h

  2. Execute "Analyze Tail Latency Outliers Beyond the Averages" end to end, then repeat the last step with one parameter changed and compare "Build a latency histogram from raw samples, isolate P99+ outliers by dimension, and identify".

    Prerequisites: Reducing Garbage Collection Pauses in Services

    Completion criteria: Show the command for every step of "Analyze Tail Latency Outliers Beyond the Averages" and paste the output proving "Build a latency histogram from raw samples, isolate P99+ outliers by dimension, and identify"; then note the step where "A sorted TSV of latency, instance, and endpoint ready for percentile cuts." appears.

    Next step: Tune Node Heap and GC Settings from Evidence

    ⏱ 0.5h

  3. Run "Collect heap and GC telemetry under load, diagnose the allocation pattern, and apply the" from "Tune Node Heap and GC Settings from Evidence" and confirm the documented result "Event counts print, for example 4,100 scavenges versus 22 major GCs, and the last major".

    Prerequisites: Analyze Tail Latency Outliers Beyond the Averages

    Completion criteria: Run "Tune Node Heap and GC Settings from Evidence" twice — once as written and once with a changed input — and attach both transcripts with the observed difference.

    Next step: Tune JVM G1 Heap Regions

    ⏱ 0.5h

  4. Apply "Tune JVM G1 Heap Regions" to a runtime latency engineer task, checking that "gc.log records pause times, region counts, and evacuation statistics." appears after the "Tune G1 region size and pause goals to reduce GC pause time on a large heap." step.

    Prerequisites: Tune Node Heap and GC Settings from Evidence

    Completion criteria: Run the steps through "Tune G1 region size and pause goals to reduce GC pause time on a large heap.", paste the command output, and mark the line that matches "gc.log records pause times, region counts, and evacuation statistics."; then rerun with one parameter changed.

    Next step: Find the Hot Path in Node with a CPU Flame Graph

    ⏱ 1h

  5. Execute "Find the Hot Path in Node with a CPU Flame Graph" end to end, then repeat the last step with one parameter changed and compare "Profile a CPU-bound Node process under representative load, identify the single widest".

    Prerequisites: Tune JVM G1 Heap Regions

    Completion criteria: Deliver a transcript of "Find the Hot Path in Node with a CPU Flame Graph" with each step's command and observed state, ending at "Profile a CPU-bound Node process under representative load, identify the single widest".

    Next step: GC Pause Tuning Workflow

    ⏱ 0.5h

  6. Follow "GC Pause Tuning Workflow" and record "Reduce GC pause time by fixing allocation patterns before tuning collector flags." at the step where it should appear, using "The pause problem is measured." as the check.

    Prerequisites: Find the Hot Path in Node with a CPU Flame Graph

    Completion criteria: Produce a run log for "GC Pause Tuning Workflow" that ends at "Reduce GC pause time by fixing allocation patterns before tuning collector flags." and mark every step where "The pause problem is measured." was checked.

    Next step: API Latency SLO Tuning Workflow

    ⏱ 1h

  7. Carry out "API Latency SLO Tuning Workflow" on a runtime latency engineer project, pausing at the "Bring API latency within its SLO by decomposing tail percentiles into their expensive" step to verify "Each endpoint class has a percentile SLO with the distribution it came from.".

    Prerequisites: GC Pause Tuning Workflow

    Completion criteria: Deliver a transcript of "API Latency SLO Tuning Workflow" with each step's command and observed state, ending at "Bring API latency within its SLO by decomposing tail percentiles into their expensive".

    Next step: Report Latency Percentiles from Raw Samples

    ⏱ 0.5h

  8. Build "Report Latency Percentiles from Raw Samples" for runtime latency engineer code and verify {p50:50,p95:100,p99:100,mean:55} against both samples.

    Completion criteria: Submit a solution for "Runtime Latency Engineer" that passes both samples ({latencies:[10,20,30,40,50,60,70,80,90,100]} to {p50:50,p95:100,p99:100,mean:55}) and attach the failing case you fixed.

    Next step: Capstone: Runtime Latency Engineer

    ⏱ 0.33h

  9. Ship "Validation revalidate" from "Build an HTTP Cache Layer", then prove it with the project's test suite and an acceptance note.

    Prerequisites: Report Latency Percentiles from Raw Samples

    Completion criteria: Run the project's test command for "Build an HTTP Cache Layer", paste the passing output, and attach the acceptance note for "Validation revalidate" with the test name.

    Next step: Run the capstone's tests, publish the repository, and demo it to a reviewer.

    ⏱ 4h