Performance and Capacity Engineering

After this course you can measure performance without fooling yourself, find the bottleneck, prove a fix, and plan capacity for next year.

0/24 CHAPTERS5 MODULES
LAB STACK

The Observability demo app's services run natively, with k6 for load, py-spy and perf for profiling, and hyperfine for benchmarks. Several chapters embed the Performance path's simulations.

SHOW UP TO

BEFORE YOU START

This course assumes you can already do the following. Each line says where ATLAS teaches it.

MODULE 1

Foundations

BEGINNER 0/5 WRITTEN

What performance means, measuring it properly, honest benchmarks and CPU flame graphs. You finish by finding the slow endpoint and proving the fix.

  1. 01 What performance means: latency, throughput, utilisationCOMING
  2. 02 Measuring properly: percentiles and coordinated omissionCOMING
  3. 03 Benchmarking without lying to yourselfCOMING
  4. 04 Profiling 101: CPU flame graphsCOMING
  5. 05 Project: find the slow endpoint and prove the fixCOMING
MODULE 2

Practice

WORKING 0/7 WRITTEN

Load testing, queueing theory, memory, the database as the bottleneck, caching and contention. You finish with a load-test plan and a performance budget for the demo app.

  1. 06 Load testing with k6: open and closed modelsCOMING
  2. 07 Queueing theory for engineers: Little's law, utilisation and the kneeCOMING
  3. 08 Memory: allocation, GC pauses and leaksCOMING
  4. 09 When the database is the bottleneckCOMING
  5. 10 Caching as a performance toolCOMING
  6. 11 Concurrency and contentionCOMING
  7. 12 Project: a load-test plan and performance budget for the demo appCOMING
MODULE 3

Depth

SENIOR 0/6 WRITTEN

Systematic analysis with the USE method, off-CPU and lock profiling, tail latency, the CPU itself, and regressions caught in CI. You finish by halving the demo app's p99.

  1. 13 The USE method and systematic analysisCOMING
  2. 14 Off-CPU and lock profilingCOMING
  3. 15 Tail latency: hedging, timeouts and fan-outCOMING
  4. 16 The CPU: caches, branch prediction, SIMDCOMING
  5. 17 Catching performance regressions in CICOMING
  6. 18 Project: halve the demo app's p99COMING
MODULE 4

Capacity

STAFF 0/4 WRITTEN

Capacity: planning and forecasting, the Universal Scalability Law, cost against performance, and performance as culture.

  1. 19 Capacity planning and forecastingCOMING
  2. 20 The Universal Scalability LawCOMING
  3. 21 Cost and performance: right-sizing and efficiency programmesCOMING
  4. 22 Performance as culture: budgets, SLOs, ownershipCOMING
MODULE 5

Frontier and judgment

PRINCIPAL 0/2 WRITTEN

The classic results and what they still predict, and what not to optimise.

  1. 23 The classic results: Amdahl, Little, USL, "The Tail at Scale"COMING
  2. 24 What not to optimiseCOMING