Skip to content
About
Main content
Recurring principle

Randomization replaces coordination

Randomization can replace coordination.

What it is

Randomization law. Where a structure or system needs a global invariant, a random choice with good concentration properties gives the same expected behaviour with no coordinator. It is paid for in worst-case guarantees, and in a tail that only appears under adversarial or skewed input.

From Core Data Structures › Tries and skip lists

Work stealing is provably good. Randomized work stealing achieves time about T₁/p + O(T∞): the work-span bound within a constant factor, with no central coordinator and no global information. In many places across the platform randomization replaces coordination, and the evidence is empirical. Here there is a theorem. This is the principle randomization instead of coordination at its strongest.

From Execution Engine Runtime › Stealing and speculation

Retry storms. If every client uses the same backoff, the herd stays together and fails together. Jitter is not optional in backoff. Why, and why full jitter wins, is in Retry with exponential backoff and jitter.

From Data Movement › Rate limiting and pacing

Where it appears

In 8 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.