{
  "slug": "delayed-hit",
  "term": "Delayed cache hit",
  "aliases": [
    "Delayed hit"
  ],
  "definition": "A delayed cache hit is a request for a nonresident object that waits for an earlier fetch of that object to complete.",
  "note": "Delayed hits measure waiting, not saved backend fetches; coalescing is a separate rule. [delayed-lower] [latency-pipeline]\n\nWith a fetch latency of 10 timesteps, a miss at T = 3 is served at T = 13; requests for the same object at T = 5 and T = 11 join that fetch and still wait 8 and 2 timesteps. A count based on hit rate alone would score both later requests as hits. [delayed-paper]\n\nWhen delayed hits are modeled, a latency-optimal offline schedule reduced average latency by up to 45% relative to the hit-rate-optimal offline algorithm, and online heuristics that weigh aggregate delay improved latency by up to 40%. [delayed-paper]\n\nA resident hit can suppress a demand fetch that would have helped later requests after eviction, so gaining a resident hit need not reduce total latency. This non-antimonotonicity differs from a capacity anomaly. [delayed-lower]\n\nA constructed one-slot example with 18 prescribed requests and a fixed 10 ms fetch delay has ten resident hits and 45 ms total waiting, or eleven resident hits and 60 ms waiting, depending on first-fill admission. Both schedules issue three backend fetches. These are explicit schedule calculations, not hardware observations or general advice to bypass hits. [hesela]\n\nThe 2020 model forwards every nonresident request, then a return serves all queued requests for that item. Requests precede retrievals; latency from 1 through Z - 1 defines a delayed hit, without implying coalescing. [delayed-lower]\n\nThe 2026 model permits one outstanding fetch per object; later requests wait without refetching. [latency-pipeline]\n\nHesela instead coalesces fetches and completes them before equal-time requests; in-flight buffers do not consume the resident slot. This is not a replay of the 2020 model. [hesela]",
  "related": [
    "request-coalescing",
    "sieve-eviction",
    "miss-ratio-curve",
    "lru-replacement",
    "farthest-in-future-replacement"
  ],
  "citations": [
    {
      "id": "delayed-paper",
      "title": "Atre et al. Caching with Delayed Hits. SIGCOMM 2020, sections 1 to 3. DOI 10.1145/3387514.3405883.",
      "url": "https://www.cs.cmu.edu/~weinaw/pdf/delayed-hits.pdf",
      "accessed": "2026-10-23"
    },
    {
      "id": "hesela",
      "title": "Hesela: single-object waiting and a one-slot admission/timing comparison, with event ledgers and executable checks.",
      "url": "https://hesela.com/analyses/sieve-cache-eviction-traces/#delayed-hits",
      "accessed": "2026-11-06"
    },
    {
      "id": "delayed-lower",
      "title": "Peter Manohar and Jalani Williams. Lower Bounds for Caching with Delayed Hits. arXiv:2006.00376v1, 2020; sections 1.1, 2 and 4.",
      "url": "https://arxiv.org/pdf/2006.00376v1",
      "accessed": "2026-11-08"
    },
    {
      "id": "latency-pipeline",
      "title": "Keren, Einziger and Scalosub. Latency-Aware Caching with Delayed Hits: From Bursty Traffic to Pipeline Architectures. NSDI 2026, section 1.1, pp. 2390-2391.",
      "url": "https://www.usenix.org/system/files/nsdi26-keren.pdf",
      "accessed": "2026-11-08"
    }
  ],
  "status": "research",
  "advantages": [
    {
      "text": "Counting delayed hits separately explains the gap between the true hit rate and the miss rate in a request-latency distribution.",
      "citationIds": [
        "delayed-paper"
      ]
    }
  ],
  "limitations": [
    {
      "text": "The latency-minimizing policy depends on the ratio of fetch latency to request spacing; in one small example it changed between ratios of 1, 5, 17 and 22.",
      "citationIds": [
        "delayed-paper"
      ]
    }
  ],
  "supersedes": [],
  "supersededBy": [],
  "firstSeen": null,
  "lastSeen": null,
  "updated": "2026-11-08",
  "provenance": [
    "delayed-paper re-read 2026-10-23, sections 1 to 3, for the 10-timestep example, the 45% and 40% figures and the ratio example.",
    "A companion analysis with a constructed four-read example is listed but not used in prose.",
    "2026-11-06: reviewed Manohar and Williams sections 1.1, 2 and 4; companion arithmetic uses explicitly coalesced fetches and completion-before-arrival timing, not an exact replay of their discrete model.",
    "2026-11-08: corrected the definition's mandatory fetch-suppression claim against Manohar and Williams section 2.1 and Keren et al. section 1.1. Source comparison only; existing timing examples and their conventions are unchanged."
  ]
}
