jonnify·persistence /echo-persistence/foundations/durability-spectrum

Module 1 · Chapter I — Foundations

The durability spectrum.

Durability is a position on a spectrum, set deliberately per queue. This module builds the spectrum as a tradeoff frontier, extracts the one knob that moves a system along it, and separates the two axes a queue is placed on. It is the foundation every later module stands on — and it is taught by moving the picture, not by reading a machine’s numbers.

The tradeoff frontier. Up is stronger durability, right is more throughput. Tap an engine to read where it sits and why — the position is the lesson; the figure in the readout is an indicative single-core aside.
strict bounded none throughput → (durable records per fsync) durability → Champ + Graft · the goal → Oban Champ K=1k Champ K=10k Memory BullMQ
readout · Tap an engine. The frontier is the best durability available at each throughput; the knob that moves you along it is how many durable records ride each fsync.
§1

What this module is

graft.design.md

The reason a single number teaches little is that it is one machine’s answer to one question. What transfers is the shape above and the knob behind it: throughput tracks how many durable records ride each fsync, so the whole spectrum is one tradeoff, moved by one lever. Memory rides infinitely many records per fsync and loses everything; Oban rides one and loses nothing; Champ rides K, and sliding K walks the Champ point along the frontier in real time.

That reframing is the module’s spine. The far corner the figure marks — strict durability and high throughput — is unreachable for a single engine, which is why Echo Persistence splits the job into two tiers; the goal marker is where the course is headed, measured per-workload when the engines are benchmarked together.

On the numbers. Where a figure appears in this course, it is an indicative single-core sandbox measurement against MinIO, shown to make a relationship concrete — never as a portable benchmark. Read the slope, not the digit.

§2

The three dives

module 1
§3

Build & check

What you build

A one-page placement worksheet: take three queues — a telemetry firehose, an ordinary work queue, and a payments queue — and place each on both axes (loss window and replication), justifying every placement with a sentence. You will reuse it in Dive 1.3’s plane.

Check

Using the frontier figure and Dive 1.2’s slider — not the table — state the one knob in a sentence, and predict, before you move the slider, which direction Champ’s point travels as K grows. Then confirm it.

§4

References & sources