Skip to content
About
Main content
Recurring principle

Fixed cost per operation

Fixed cost per operation implies a natural batch size.

What it is

Every medium has a natural transfer size. Divide the fixed cost by the transfer rate and you find the size at which half of your time is setup. Below it you mostly pay for setup.

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

A fixed cost per operation produces a natural batch size, and the fixed cost moves upward. Every operation has a setup cost F paid no matter how big the operation is. If you handle B records per operation, the . Inside one machine, F was a disk seek, then a system call. Here F is the network round trip, the broker request, the API call. The formula does not change. Only the dominant F changes. Batching is the same mechanism, but it now has a semantic cost too: a batch fails as a unit.

From Data Movement › The epistemic limit

Where it appears

In 20 mechanisms. Each says what the mechanism is about, then how this principle shows up there, in its own words.

Made on the same pages most often.