Sizing and TCO

Appendix G · Glossary

This book rations its vocabulary. The table lists the words this book uses in a technical sense, each row giving the chapter that introduces the word, what it means in this book, and how to say it plainly. The rows are in alphabetical order. Six of the words are statistics words: distribution, sample, percentile, interval, correlation and convergence. Each first appears in the chapter where a model has just raised a question that needs it. ch13 introduces distribution, sample, percentile and interval, and ch14 introduces correlation and convergence. The other words are the book’s working vocabulary: capacity-planning terms and the names of what the book’s models contain. A test in the repository fails any page that uses one of the six before its chapter.

Four kinds of error run through the book, and ch20 sets them side by side in plain words. A measured constant wobbles: measure it again and it moves, and its standard error says by how much. An input nobody measured is unknown: its range is a choice, as for a price or a growth rate. Those two are what an interval is made of, and the model carries both. The world can take a path the model was not run for: a launch that doubles the busy hour, growth that stops. No interval covers that. So the book runs a scenario, a second run of the model with some inputs overridden, instead of widening the inputs.

The model can be the wrong shape: a cost line missing, a ceiling never declared, two quantities multiplied that should have been added. That is structural error. ch13 names it. It shows up in no interval and no scenario, because nothing in the model file knows the piece is missing.

The last column is not a simplification. It is the sentence to use out loud. Where a term has a plain-English equivalent, this book says the plain one first and names the term second, including to a technical audience, where the effect is not condescension but agreement about what is being discussed.

TermIntroduced inWhat it means hereSaid plainly
binding constraintch10the chain that decides the answer, out of several that couldwhichever runs out first
busy hourch04
the stretch of heaviest demand that sizes the fleet; you decide how long that stretch is, from how long your system takes to fail and how long your users will wait for it to recover
peak demand time
ceilingch01
a limit past which a chain of multiplications stops describing anything
where it breaks
conditional modelch01
a model with a measured constant or a ceiling in it, which must keep headroom below each ceiling
every input can be right and the answer still wrong
convergencech14the answer ceasing to move between runsit has settled
correlationch14the tendency of two inputs to move togetherthey move together
definitional modelch01
a model built only from relationships true by definition—accounting identities and physics—and working its arithmetic across its inputs’ ranges shows all the doubt in the terms it has
if its structure is right, only wrong through inputs
distributionch13the bag of values an uncertain quantity could takea range of plausible values
durationch02
a length of time — a horizon, a retention period, the time one request spends in the system
how long
failure domainch11
the set of hosts one fault takes out together; one host is the smallest failure domain; a larger failure domain is worse because more hosts go at once
hosts failing together
flowch02
a rate — requests per second, bytes per second, dollars per year
something that arrives
futuresch04
the possible outcomes a model works out, each one a run of the arithmetic with every uncertain input set to one value picked at random; the book reports the share of them where something happens
all possible outcomes
headroomch01
the margin a design keeps below a ceiling, and the reason for it
the slack you keep
intervalch13the gap between two percentileshow wide the answer is
kneech06
where people say response time starts climbing steeply as a system gets busier; the curve is smooth and has no such point, so what people call the knee is where the climb passed what they would accept; this book declares a margin with a reason instead
where the wait passed what people would accept
measured constantch01
an empirical number belonging to one implementation at one version
a number somebody measured
medianch10
the middle answer: put every outcome in order and take the one in the middle; half the outcomes come in above it
the middle answer
percentilech13
the value that a given share of a distribution’s values fall below
where a share falls below
point estimatech01
the number you get from running the arithmetic once, with one value for every input, usually the middle of its range
what a spreadsheet gives
provenancech02
the record every input in a model file carries of where its number came from and what kind of source it is, whether a fact, vendor claim or assumption
where it came from
regime changech08
a point at which a system stops obeying one rule and starts obeying another; a chain of multiplications cannot express one
the system changed
residence timech05
the time a request spends in the system from arriving to leaving, including any time waiting in a queue
time in queue and service
samplech13one value drawn at random from a distributionone guess
service demandch05
the processor time one request costs, in core-seconds; not how long the request takes
CPU time per request
service timech05how long one request takes when it waits for nothingtime per request
sizing chainch02
the string of multiplications that runs from a workload to a number of machines
how you calculate hosts needed
standard errorch03
how far a measured average would typically move if you repeated the whole measurement; how uncertain a measured constant is in the model; it shrinks slowly as you measure more
how much to trust it
stockch02a level — terabytes held, series alive, requests in flighthow much there is right now
structural errorch13a model that is wrong in shape rather than in its numberssomething is missing
tornadoch04
a chart showing which input moves an answer most; each uncertain input swings from a low to a high end of its range whilst every other input stays at its central value; the bars are sorted longest first, into a funnel
chart of what matters most
transfer factorch23
the share of a benchmark’s advantage that carries over to the customer’s own workload
how much of the benchmark applies to you
unit economicsch17a cost divided by a denominator you can defendcost per something
utilisationch05the fraction of a system that is busyhow busy it is

Source — bench/outline.py and bench/tables.py

What the repository calls things

Every stamped result declares a target: what was asked to get the number. The four targets are corpus, rig, estate and model. You meet them in ch03, in the table of measured constants, which has a Target column. The words also appear where a chapter names the evidence a number would need, such as a rig measurement that has not been taken. The table below is generated from the code that stamps results, so it says what the code says.

TargetWhat it means
corpus
a deterministic measurement over a declared corpus with a named codec; reproducible anywhere, re-derived by CI, and never a rate or a duration
rig
a throughput or latency figure measured natively on the declared reference machine, and refused anywhere else
estate
an observation of a real deployment over a stated window; reproducible by nobody, checkable by nobody, and therefore held to the strictest disclosure rules in the book
model
computed from a model file in this repository. No machine and no body of data was involved, so it is evidence about what the book’s own models say and about nothing else — and its fingerprint covers the whole DSL core, so the claim moves when the method does

Source — bench/stamp.py

Three of those targets are measurements — something outside this repository was asked a question. A model result is not; it is a computation from the book’s own models, evidence about what those models say and nothing else. A model result’s fingerprint covers the whole DSL core (the code that reads, checks, evaluates and samples a model file), so every such figure moves when the method does. Keeping model apart from the other three keeps two things separate: a measurement of something outside the book, and a computation about the book’s own models.

The node kinds (input, derived, measured, ceiling) and the provenance kinds (fact, vendor_claim, assumption) are in Appendix A, where the fields they carry are quoted alongside them.

Terms this book does not use

None of these is an oversight. Each one has something the book says instead:

Confidence interval. This book reports 90% intervals: the gap between the fifth and the ninety-fifth percentile of the answers the model produced. A 90% interval is a statement about the model, not about the world. The statistical term confidence interval means something different: a statement about an estimation procedure repeated over many experiments. Borrowing that name would import a guarantee this method does not offer. A prediction interval is a claim about where a future observation will fall; that would need a track record, and the book’s models do not have one. The Over allowed and Over limit columns in a ceiling table report the share of the model’s futures that ended on the wrong side of a declared line (reported as a share, never as a range), and they are none of those three.

Expected value. The mean. Outputs from chains of multiplication in a sizing model are often skewed, with a long tail on the high side. That tail pulls the mean above the median, so the mean sits above most of the futures and describes few of them. The output tables in this book report the point estimate and the 90% interval. When one number has to be handed over, ch21 makes choosing it a decision said out loud: the median, a high percentile, or a round number above the median.

Best case and worst case. Percentiles, named. A “worst case” is whatever the person saying it last thought of; the ninety-fifth percentile is a specific claim about a specific model that you can disagree with.

Contingency. Headroom, with a stated reason and a ceiling it is measured against (ch11). A contingency is a number added at the end to feel safer; headroom is a margin below a limit that has a name and a consequence.

Risk, unqualified. Used here only where a ceiling gives it something to mean: how often, across the sampled futures, a design is asked to do something it cannot. That number has a row in a table and a sentence in plain English attached to it.

Overhead, unqualified. Every overhead in both reference models is a named node with a unit and a provenance, because “about twenty per cent overhead” is four different quantities depending on who is saying it.

Estimate. A point estimate wherever the book can say so, which names what it is: one number from one pass through the model with every input at its central value. Not confusing that with the answer is what the whole book is about.

Where each term is introduced

The table’s second column, Introduced in, links each term to the chapter that introduces it. To read the terms in the book’s order, follow the chapter labels in that column. You could read only those sections, which is quicker than reading the whole book. But you lose something: in the chapter, each term arrives because a model has just produced a number you cannot yet defend, and a term is easier to remember with that number beside it.

By Chris Snow, in collaboration with Claude (Anthropic) · Prose and figures: CC BY-NC 4.0 · Code and models: Apache 2.0