Unit 14 of 15 · about 5 hours · measure

Three ablations, three workload regions and preserved negative results

An extension without ablations is a story; with them it is an attribution. Negative results are the boundary markers that keep the next design honest.

You'll be able to

  • Design three mechanism-isolating ablations that attribute an effect to exactly one mechanism each.
  • Select three workload regions that stress different bottlenecks, and state what each region is for.
  • Preserve one honest neutral or negative result with its setup, and say what it rules out.

Covers

Three mechanism-isolating ablationsThree informative workload regionsNegative or neutral result preservation
1

Read

In this order, only the parts listed

0 of 3 done

  1. Replicated Log and Stream Processor: measurement requirementsReplicated Log and Stream Processor - Final Capstone

    Measurement requirements: append, commit, apply, consume and end-to-end latency distributions, throughput and goodput, replication and queue lag, duplicates, checkpoint cost, failover and recovery as the menu the three regions sample

  2. FoundationDB paper Section 5: reporting with setupFoundationDB: A Distributed Unbundled Transactional Key Value Store (Zhou et al., 2021)

    Section 5 performance evaluation: read for how a systems paper reports setup beside numbers, not for the numbers

    Their cluster figures are not your targets. Copy the reporting discipline (versions, workload, concurrency, runs, spread), not the results.

  3. Chapter 2: latency vocabularyDDIA 2e - Chapters 9, 10 and 14 Review

    Printed pp. 37-42: latency percentiles and response-time distributions for reporting tails honestly

2

Focus on

  • One ablation removes one mechanism. If two change together, the difference is unattributed; run the factorial or say which confound remains.
  • Regions differ in bottleneck, not just in size. Small-fast, large-slow and fault-dominated loads each exist to stress a different path.
  • Ablations run under the same harness and seed discipline as the main result. Different harnesses make differences incomparable.
  • The negative result stays in the report with its setup. A mechanism that loses on latency but wins on availability is a trade-off, not a failure to hide.
Common mistakes · 3
  • Ablating by disabling the whole subsystem. Removing the mechanism under test plus its scaffolding attributes nothing.
  • Picking three regions that all stress throughput. Regions must differ in kind (latency-sensitive, backlog-heavy, fault-dominated), not just in request rate.
  • Rerunning until the negative flips. A neutral result under a fixed plan is evidence; a flipped result after plan changes is a new experiment needing its own plan.
3

Try it yourself

Closed-book, before checking anything

From the capstone measure list, write the three-ablation, three-region plan for your extension on one page: what each ablation removes, which bottleneck each region stresses, and where the negative result will be filed.
4

Quiz yourself

Answer first, then mark it. Missed ones go to Review.

0 got · 0 missed

  1. 1.What makes an ablation mechanism-isolating?Answer

    It changes exactly one mechanism between runs under the same harness, seeds and workload, so the measured difference is attributable to that mechanism.

  2. 2.Name three workload regions in kind, not size.Answer

    For example: latency-sensitive small operations, backlog-heavy large transfers, and fault-dominated partition schedules. Each stresses a different bottleneck.

  3. 3.Your ablation shows the new mechanism is slower everywhere. What do you do?Answer

    Keep it as the preserved negative with its setup, and state what it rules out (for example: no latency win in these regions). It bounds where the mechanism helps.

  4. 4.Why must ablations share the harness and seeds with the main result?Answer

    Otherwise setup differences confound the comparison. Same harness and seeds make the only deliberate difference the ablated mechanism.

You're done when

You execute three mechanism-isolating ablations across three informative workload regions, keep raw histories and setup for each comparison, report uncertainty, and preserve an honest neutral or negative result without changing the plan to hide it.

Only when you can do this without notes.

Leads to

Notes

Resources · 3 for this unit, 12 more in the section
  • FoundationDB: A Distributed Unbundled Transactional Key Value Store (Zhou et al., 2021)FoundationDB · support

    Read the simulation-testing section (deterministic single-threaded simulation, fault injection, seed replay) as the model for your own scheduler, and the architecture for unbundled transactions.

  • DDIA 2e - Chapters 9, 10 and 14 ReviewMartin Kleppmann and Chris Riccomini · required

    Revisit uncertainty, consistency, consensus and responsible system design while extracting the final contract. Use the book to challenge assumptions and alternatives, not to replace executable evidence.

  • Replicated Log and Stream Processor - Final CapstoneRoadmap-Final · support

    Finish the protocol and invariant specification, deterministic fault campaign, bounded real-code extension, fallback, ablations, workload regions, negative result, operations dossier and independent reproduction package.

Also in this section

  • TLA+ Video CourseLeslie Lamport · primary

    Complete lectures 1 to 10 (lectures 8, 9 and 10 have two parts each) and check the corrections page, while specifying a reduced transaction, workflow or replicated-log model from the capstone. Run TLC after every extension, report the model bounds with every result, and retain the first meaningful counterexample rather than polishing only the final model.

  • TLA+ ExamplesTLA+ Foundation · support

    Check specifications/transaction_commit/ (TCommit.tla, TwoPhase.tla, PaxosCommit.tla with their .cfg files) with TLC alongside the lectures, and read the Paxos specifications for depth. specifications/TwoPhase/ is a hardware handshake, not transaction commit.

  • Cambridge Concurrent and Distributed Systems Notes (Kleppmann) - CRDTs and CollaborationUniversity of Cambridge (Martin Kleppmann) · support

    Use Section 8.1 (operation-based and state-based CRDTs, operational transformation) for the CRDT unit, and work Exercise 21 (prove the operation-based map CRDT converges) and Exercise 22 (its multi-value variant).

  • A Comprehensive Study of Convergent and Commutative Replicated Data Types (Shapiro et al., 2011)INRIA report (Berkeley course copy) · support

    Read Sections 1 to 3 (state-based and operation-based definitions, the semilattice and delivery conditions) and one example type for your implementation, not the whole catalog.

  • Learn TLA+Hillel Wayne · support

    Use the core lessons and the examples as a second explanation when a lecture stalls, and as the PlusCal reference if you write algorithms rather than raw actions.

  • Hypothesis - Stateful TestingHypothesis · required

    Use RuleBasedStateMachine against a reference model for property-based state-machine tests of your extension, keep the failing seeds and shrunk examples, and plant a bug to show the machine detects it.

  • MIT 6.5840 - Verification Lecture and Final ProjectMIT PDOS · required

    Study the Spring 2026 verification lecture and IronFleet reading, then use the final-project guidance to frame a bounded real-system extension, evaluation and report. Course grading and staff review are unavailable to self-study, so use the roadmap defense rubric.

  • Jepsen - Consistency Models and AnalysesJepsen · required

    Use the framework's generator, client, nemesis and checker roles to design the campaign, Knossos for single-register linearizability and Elle for transactional anomalies on recorded histories, and the public analyses for fault models. A simplified local checker must declare its object, model and completeness limits.

  • Elle: Inferring Isolation Anomalies from Experimental Observations (Kingsbury and Alvaro)arXiv · required

    Read how Elle infers version orders from list-append and register histories and detects cycles for G0 to G2. It needs complete histories, and a clean run is not a proof of serializability.

  • How Amazon Web Services Uses Formal Methods (Newcombe et al., 2015)Amazon Science · support

    Read it for why industrial teams specify designs in TLA+ and which bugs model checking found that testing missed. Its effort figures are anecdotes, not benchmarks.

  • HLD Handbook - CRDTs, Multi-Region and Architecture Trade-offsHLD Handbook · support

    Read the CRDT, multi-region, distributed SQL and relevant case-study chapters only after the formal core passes. Use its design prompts to prepare the final comparison and defense.

  • CMU 15-721 - Selected Advanced Database Systems UnitsCarnegie Mellon Database Group · depth

    Select at most one lecture group that informs your extension: #02 and #03 (data formats and encoding), #08 (scheduling and coordination) or #17 to #22 (system analyses such as BigQuery, Databricks, Snowflake, DuckDB and Redshift), with their papers. The course project needs a group, cloud credits and staff sign-off, so there is no runnable self-study project.