Skip to content
About
Main content
Method

Measurement & Experimental Method

What would have to be true for this number to mean what I think it means?

Who this mechanism is for: a developer who has run a benchmark, read a vendor comparison, or looked at a dashboard, and who wants to know when such a number can be trusted. You do not need any statistics or database background. Every technical term is explained the first time it appears, and again in the glossary at the end. This mechanism is about method, not about one product: it applies to databases, web services, , compilers and cloud bills alike.

The story we will follow

Ingrid is a platform engineer at Bellwether Tickets, a company that sells concert and sports tickets. Bellwether's hardest moment is the Saturday 10:00 on-sale: a famous band releases 80,000 seats, and for a few minutes the site receives more traffic than in the rest of the week. The key component is the seat-hold service. When a fan clicks a seat, the service stores a "hold" (a reservation that lasts five minutes) in a storage engine, and later confirms it or releases it.

In eight weeks there is another big on-sale. Mateus, the engineering manager, must decide whether to replace the current storage engine ("Engine A", tuned in-house) with a vendor product called Tessera DB. He wants one answer: "Is it faster, yes or no?" Yuki owns the analytics lake and the latency dashboards. Chidi, the Tessera sales engineer, will appear later with slides. Everyone brings numbers. Ingrid's job is to find out which numbers can be believed.

Ingrid will meet a problem at the start of each article. Each one looks like a bug: a result that changes from day to day, a test that says "stable" while production fails, a dashboard that looks healthy while customers complain. Each one is really a rule of method. At the end of each article we go back to Ingrid and solve her problem.

This is the main idea of this mechanism:

How this mechanism is organized

After that: a summary, hands-on labs, interview questions and a glossary.

One request: do not skip the small calculations. This mechanism uses many short worked examples (for example, "a 100-way is slow 63% of the time"). The arithmetic is the real content.

What do I do, and what does each option cost?

Can I see it myself?

Can I reason about it under questioning?

Trade-offs

The tensions this mechanism takes a position on. Each recurs across mechanisms.

Recurring principles

Ideas this mechanism meets that keep coming back, mechanism after mechanism.

Show all 11 principles