{
  "slug": "coordinated-omission",
  "term": "Coordinated omission",
  "aliases": [],
  "definition": "Coordinated omission is a measurement bias in which a workload generator or sampler misses observations because its activity depends on the slow responses being measured.",
  "note": "A correct histogram of issued requests need not describe independent arrivals; synthetic correction must state its expected-interval assumption.\n\nA generator that sends a request on a connection only after the previous response arrives measures each request from its actual send time. During a slow period it issues fewer requests, so the slow period contributes few samples and most high-latency artifacts are left out. [wrk2]\n\nOne remedy keeps a constant request schedule and measures latency from the time each request should have been sent. In a quiet run with a worst case of 11 ms, the 99th percentile measured this way was about 2 times the uncorrected value. A single 1.4 s pause of the server made the corrected 99th percentile about 200 times larger. [wrk2]\n\nAnother remedy corrects the histogram afterwards. Suppose samples are taken every 10 ms, 10,000 samples read 1 ms over 100 s, and then a 100 s pause yields one 100 s sample. The raw histogram puts about 99.99% of results at 1 ms or below, while filling in values every 10 ms during the pause puts only about 50% there. [hdr]\n\nFor a 10 ms expected interval, 11 ms adds no entry; 20 ms adds one at 10 ms in HdrHistogram 2.2.2. Use recording-time or post-recording correction, not both. [hdr-expansion]\n\nIn a deterministic FIFO example, 190 closed-loop requests become 199 histogram entries after 10 ms correction: p99 is 91 ms, versus 83 ms for 200 independent arrivals. Added entries are not additional observed requests or independent measurements. [hesela-latency] Post-recording uses bin upper endpoints. [hdr-iterator]",
  "related": [
    "open-loop-load",
    "closed-loop-load",
    "latency-storage",
    "backpressure",
    "admission-control"
  ],
  "citations": [
    {
      "id": "wrk2",
      "title": "Gil Tene, wrk2: scheduled-arrival latency and coordinated omission; maintainer documentation, not an SSD benchmark.",
      "url": "https://github.com/giltene/wrk2",
      "accessed": "2026-10-22"
    },
    {
      "id": "hdr",
      "title": "HdrHistogram maintainers: corrected versus raw value recording and expected sampling intervals.",
      "url": "https://github.com/HdrHistogram/HdrHistogram#corrected-vs-raw-value-recording-calls",
      "accessed": "2026-10-22"
    },
    {
      "id": "hesela-latency",
      "title": "Hesela: synthetic arrival cohorts, timing boundaries and percentile pooling",
      "url": "https://hesela.com/analyses/storage-latency-coordinated-omission/",
      "accessed": "2026-10-11"
    },
    {
      "id": "hesela-model",
      "title": "Hesela synthetic timing records: model parameters, full request cohorts and SHA-256 provenance",
      "url": "https://hesela.dev/research/latency-measurement.json",
      "accessed": "2026-10-11"
    },
    {
      "id": "hdr-expansion",
      "title": "HdrHistogram 2.2.2 pinned AbstractHistogram source: recording expansion and exclusive correction APIs.",
      "url": "https://github.com/HdrHistogram/HdrHistogram/blob/3ae7ae18d81887484974011c1c7a2bdc9178ab09/src/main/java/org/HdrHistogram/AbstractHistogram.java#L441-L772",
      "accessed": "2026-10-26"
    },
    {
      "id": "hdr-iterator",
      "title": "HdrHistogram 2.2.2 pinned iterator: occupied-bin upper endpoints used by post-recording correction.",
      "url": "https://github.com/HdrHistogram/HdrHistogram/blob/3ae7ae18d81887484974011c1c7a2bdc9178ab09/src/main/java/org/HdrHistogram/AbstractHistogramIterator.java#L69-L127",
      "accessed": "2026-10-26"
    }
  ],
  "status": "unknown",
  "advantages": [
    {
      "text": "Measuring from the intended send time keeps stalls in the latency distribution without changing the server under test.",
      "citationIds": [
        "wrk2"
      ]
    }
  ],
  "limitations": [
    {
      "text": "Fully asynchronous generation that ignores previous responses avoids the bias only for non-blocking protocols or one request per connection.",
      "citationIds": [
        "wrk2"
      ]
    },
    {
      "text": "Synthetic correction depends on the expected interval and must not be applied twice for the same omission; entry counts do not establish issued-request counts.",
      "citationIds": [
        "hdr-expansion",
        "hesela-latency"
      ]
    },
    {
      "text": "In HdrHistogram 2.2.2, post-recording correction expands occupied-bin upper endpoints, not recovered raw observations. Quantization can therefore change the expansion relative to recording-time correction; preserve the correction stage and histogram precision.",
      "citationIds": [
        "hdr-expansion",
        "hdr-iterator"
      ]
    }
  ],
  "supersedes": [],
  "supersededBy": [],
  "firstSeen": null,
  "lastSeen": null,
  "updated": "2026-11-20",
  "provenance": [
    "wrk2 is the maintainer documentation of a constant-throughput load generator by Gil Tene, reread on the access date in its section on the latency measurement technique.",
    "hdr is the maintainer documentation of a histogram library, reread in its section on corrected versus raw value recording.",
    "11 ms, 2 times, 1.4 s and 200 times come from wrk2. 10 ms, 10,000 samples, 1 ms, 100 s, 99.99% and 50% come from hdr.",
    "Both are maintainer documents, not peer-reviewed studies and not storage benchmarks.",
    "The 2026-10-26 supplement checks a pinned Java recording method against 5228 exact lists. The 190/199/200 entries and 91/83 ms comparison uses Hesela's existing deterministic model, not hardware or a reproduction of NSDI 2006.",
    "The correction-order caveat is inferred from addWhileCorrectingForCoordinatedOmission and AbstractHistogramIterator.getValueIteratedTo at the same pinned commit. It is a source review, not an executed post-recording histogram comparison."
  ]
}
