Capacity, Economics and Engine Extension

The final stage turns mechanisms into engineering judgment. You must reconstruct an unfamiliar engine, change one real path and defend its benefit, cost, failure behavior and losing regimes under governed benchmarks.

Section 9 of 9 · 13 units · about 60 hours

0/13

By the end you can Deliver a tested real-engine contribution with a reference fallback, three workload regions, three mechanism ablations, one honest neutral or negative result, fault evidence, a capacity and cost decision, and independent reproduction with measured, simulated and inferred claims separated.

Units

Build it

Mini project · about 14 to 18 hours

Measured engine contribution with capacity decision

Map a fitting engine from frontend to telemetry, ship one bounded contribution behind a versioned fallback, and prove its boundary across baselines, ablations and regions. The capacity and cost decision plus reproduction package carry directly to the capstone.

  1. 1Write a decision record with owner and reversal in reports/, bind manifests to workload and engine revisions with frozen tuning and final traces, and reconcile offered against completed work with quality and SLO goodput plus attempt-cost and optional energy ledgers. Keep digests and sweep tables.
  2. 2Run paired replay trials with matched arrivals and cache policy in harness/, regenerate percentiles and goodput from raw traces with whole-pair resampling, and derive a three-scenario capacity and cost plan with growth and failure reserve. Keep raw traces and plan tables.
  3. 3Map frontend, scheduler, cache, runner, sampling, streaming, worker and telemetry owners in engine/ against pinned source, and replay request states, logical-to-physical KV and cancellation with late and duplicate events on CPU. Keep maps and oracle checks.
  4. 4Predeclare a hypothesis with winning and losing regimes and a falsifier, ship one bounded patch in engine/ with path-activation evidence, and protect it with an independent oracle plus randomized, integration and regression tests including exercised fallback and rollback against seeded defects. Keep hypothesis and suite.
  5. 5Compare off, on and strong alternatives with matched tuning and contracts across three ablations and three predeclared regions using frozen final traces, pairing raw trials. Keep the full table with a preserved neutral or negative row.
  6. 6Explain the endpoint shift with changed critical-path and queue evidence, update the three-scenario capacity and cost decision with a reversal condition, and package independent reproduction with a defense against alternatives, growth, distribution change and failure plus optional second-family evidence. Keep the report and package.
What you hand in
  • Decision, manifests, traces and capacity tables in manifests/, workload/, harness/ and reports/.
  • Engine maps, bounded patch with fallback, oracle suite and ablation tables with a negative row.
  • Residual report, updated capacity decision and independent reproduction package with defense.
How to check it
  • Self-grade with the rubric below
How it's graded

Manifests and goodput

Pass: Decision and manifests bind revisions, tuning stays separate from final, and reconciliation plus cost ledgers balance with own checks.

Great: A changed stop rule alters workload identity, and growth and failure sweeps label fleet assumptions.

Contribution protection

Pass: Maps locate every owner, the oracle suite fails seeded defects, and fallback with rollback preserves contracts.

Great: Path activation is proven on ordinary requests, and incompatible state is drained before reuse.

Comparison and defense

Pass: Matched baselines with three ablations across three regions keep raw trials and a negative row.

Great: Residuals name the new bottleneck, capacity is repriced, and reproduction regenerates the decision.

Resources