← All parts of this equation

Equation 4 · Part 7 · Ten Failure Modes That Define Production Tool-Protocol Integrations

subtraction

E[duplicates]  ≈  n⋅p⋅(1−i).\mathbb{E}[\text{duplicates}] \;\approx\; n \cdot p \cdot (1 - i).
subtraction

What this part means

Subtract the following term or group from the preceding one. A leading minus marks a negative quantity.

Its job in the formula

Subtract the following term or group from the preceding one. A leading minus marks a negative quantity.

The passage around this formula

The shape of the exposure is simple enough to write down. Let n be the number of side-effecting tool calls in a session, p the probability that any one call’s response is lost after the server has already executed it, and i the fraction of those calls actually covered by a working, executor-enforced idempotency key. Then the expected count of uncontrolled duplicate side effects across the session is approximately E[duplicates]  ≈  n⋅p⋅(1−i)\mathbb{E}[\text{duplicates}] \;\approx\; n \cdot p \cdot (1 - i). The only term a protocol upgrade could move is i ; n and p are properties of the workload and the network. Today, for most deployments, i is close to zero, because nothing in the base protocol gives a server a caller-supplied key to deduplicate against.

Read this part in the article →

Learn the underlying idea

Addition combines quantities; subtraction measures the signed difference between them. Parentheses show what is combined before the rest of the expression is evaluated.

Open the illustrated addition and subtraction in an equation guide →

Sources cited in the article section

These citations provide research context; check each source for the exact claim it supports.