{
  "slug": "hedged-request",
  "term": "Hedged request",
  "aliases": [
    "hedged read",
    "request hedging"
  ],
  "definition": "A hedged request is a redundant copy dispatched after an initial request remains unfinished for a chosen delay, allowing an eligible response to complete the operation.",
  "note": "A client sends a primary request, delays a secondary copy and cancels outstanding copies after an eligible result. A threshold at the request class's 95th percentile gives about 5% extra requests if that latency distribution remains representative and at most one copy is added. This is a request-count budget, not a 5% bound on CPU time, bytes or device work. [dean]\n\nIn a benchmark that read 1,000 keys stored across 100 servers, a hedge sent after a 10 ms delay reduced the 99.9th-percentile latency for retrieving all values from 1,800 ms to 74 ms while sending 2% more requests. The technique works when slowness comes from interference rather than from the request itself. [dean]\n\nFull duplication has a different load budget from delayed hedging. The one-third baseline-utilization crossover in Vulimiri et al. assumes two immediate, uncancelled copies, Poisson arrivals, independent exponential service times and negligible client overhead. The paragraph preceding Theorem 1 approximates the coupled queues as independent. The duplicated utilization is twice the baseline; this is not a universal hedging limit. [vulimiri]\n\nAn exact arithmetic companion compares baseline and duplicated load without claiming measured latency or simulating queues. [hesela-load]\n\nThe S&X model separates shared job size from per-copy server slowdown. Copies keep the same size, so independent slowdowns do not imply independent runtimes. Its RIQ policy replicates only onto idle servers; this is a model distinction, not a storage performance guarantee. [gardner]",
  "related": [
    "tied-request",
    "adaptive-replica-selection",
    "tail-latency",
    "linearizability",
    "tail-hour",
    "linnos",
    "load-aware-hedging"
  ],
  "citations": [
    {
      "id": "dean",
      "title": "Dean and Barroso. The Tail at Scale. CACM 56(2), 2013, pp. 77-78. DOI: 10.1145/2408776.2408794.",
      "url": "https://www.barroso.org/publications/TheTailAtScale.pdf",
      "accessed": "2026-10-23"
    },
    {
      "id": "hesela",
      "title": "Hesela. Hedged reads: replica dependence and cancellation work, with exact synthetic examples.",
      "url": "https://hesela.com/analyses/storage-tail-slowdowns-raid-fanout/#hedged-reads",
      "accessed": "2026-10-17"
    },
    {
      "id": "vulimiri",
      "title": "Vulimiri et al. Low Latency via Redundancy. CoNEXT 2013, p. 285, independence-approximation paragraph and Theorem 1; DOI: 10.1145/2535372.2535392.",
      "url": "https://conferences.sigcomm.org/co-next/2013/program/p283.pdf",
      "accessed": "2026-11-05"
    },
    {
      "id": "hesela-load",
      "title": "Hesela: exact load accounting for the independent-queue approximation",
      "url": "https://hesela.com/analyses/storage-tail-slowdowns-raid-fanout/#redundancy-load",
      "accessed": "2026-11-04"
    },
    {
      "id": "gardner",
      "title": "Gardner et al. A Better Model for Job Redundancy: Decoupling Server Slowdown and Job Size. Author manuscript, sections 3-5.",
      "url": "https://www.cs.cmu.edu/~harchol/Papers/TON17.pdf",
      "accessed": "2026-11-05"
    }
  ],
  "status": "research",
  "advantages": [
    {
      "text": "Hedges can be marked as lower priority than primary requests, which reduces their overhead further.",
      "citationIds": [
        "dean"
      ]
    }
  ],
  "limitations": [
    {
      "text": "A delay set at a high percentile only helps the small fraction of requests that exceed it.",
      "citationIds": [
        "dean"
      ]
    },
    {
      "text": "More aggressive hedging needs fast cancellation, otherwise several servers execute the same request unnecessarily.",
      "citationIds": [
        "dean"
      ]
    }
  ],
  "supersedes": [],
  "supersededBy": [],
  "firstSeen": null,
  "lastSeen": null,
  "updated": "2026-11-13",
  "provenance": [
    "dean is the CACM 2013 article, read on pages 77-78 for the hedged-request description, the 95th-percentile deferral and the benchmark figures.",
    "Latency values, percentages and threshold loads are quoted from the sources and were not recomputed.",
    "2026-11-04: checked conference paper section 2.1, independence-approximation paragraph and Theorem 1 against arXiv:1306.3707v1; scoped the threshold to baseline load and the independence approximation. No new system measurement.",
    "2026-11-05: corrected the conference-paper locator: independence is in the main text on p. 285; footnote 1 on p. 286 instead defines regularly varying distributions.",
    "2026-11-13: distinguished the percentile-triggered extra-request fraction from resource work; no new benchmark or universal load threshold."
  ]
}
