Performance Engineering
Studies in this cluster, in series order. Each one keeps its own URL.
Performance
Profiling, flame graphs, latency budgets, and load tests you can defend in interviews.
Performance Engineering
6 studies- 1.Performance Engineering — Profiling, Flame Graphs, Latency Budgets & Hot PathsMeasure→hot-path→fix→re-measure loop; latency vs throughput vs capacity; when to profile CPU vs memory vs wait/IO.
- 2.CPU & Wall-Clock Profiling — Sampling vs InstrumentationSampling vs instrumentation; on-CPU vs wall-clock; GIL/event-loop traps that make “CPU” misleading.
- 3.Flame Graphs & Stack Collapse — Reading Hot PathsWidth = sample share, not one slow call; how to read plateaus and avoid common misreads.
- 4.Memory Profiling — Allocations, Leaks & GC PressureAllocation rate vs retained heap; leaks vs caches; GC pressure on p99.
- 5.Latency Budgets & Critical Path — Where the p99 LivesBudget each hop; find the critical path; fan-out p99 ≈ max of children; averages lie.
- 6.Microbenchmarks vs Load Tests — Lies, Variance & CapacityDCE/warmup/noise lies in microbench; open vs closed load; coordinated omission; capacity vs regression.