Skip to content
About
Main content
Trade-off

Latency vs. throughput

Where you meet it: batching, group commit, micro-batch.

What it is

When the fixed cost is large, the sensible move is to batch: pay the setup once and spread it over more bytes. Think of an elevator: it is wasteful to go up with one parcel, so you wait until you have a full trolley. But batching means the first item waits for the last item. This is the latency versus throughput trade-off. It is not a separate law; it is a consequence of non-zero fixed cost. If setup were free, batching would give nothing.

From Physical Substrate & Performance Laws › The dial and the fixed cost

Latency to the first row rises by one batch.

From Execution Engine Runtime › Operators and handoffs

Sneakernet (physical disk shipping, such as AWS Snowball) belongs on this list, seriously. Compare bandwidth × time with a truck. Worked example: moving 1 PB (1,000 TB) over a sustained 1 Gb/s link takes 10¹⁵ B × 8 / 10⁹ b/s = 8 × 10⁶ s ≈ 93 days. Past a few hundred terabytes, the truck wins on throughput by about an order of magnitude, while its latency is measured in days. It is the purest example of the latency-versus-throughput trade-off: the two ends are so far apart that they use different vehicles.

From Data Movement › CDC, replication, files

Where it appears

In 10 mechanisms. Each says what the mechanism is about, then how this trade-off shows up there, in its own words.

Made on the same pages most often.