{
  "slug": "request-coalescing",
  "term": "Request coalescing (cache)",
  "aliases": [
    "Cache request coalescing"
  ],
  "definition": "Cache request coalescing combines compatible pending requests for the same object behind one in-flight fetch instead of issuing duplicate backend fetches.",
  "note": "In one delayed-hit model, a request for an item that is neither cached nor being fetched becomes a fetch request, and later requests for that item while the fetch is outstanding become pending requests. The model therefore permits only one outstanding fetch per object at a time, and pending requests are released when the object becomes available. This reduces duplicate fetches within that model; it does not make a pending request a resident hit. [latency-pipeline]\n\nBecause pending requests still wait, eviction choices affect latency beyond hit ratio. Across 13 storage traces with latencies drawn from deployments, a policy that also retains bursty items reduced average request latency by 10% relative to the best of 12 alternatives evaluated. [latency-pipeline]\n\nThis is a model choice, not a consequence of the delayed-hit label. Manohar and Williams' 2020 formulation forwards every nonresident request to the backing store; an earlier return can still serve multiple waiting requests. Their intermediate-latency category does not promise duplicate-fetch suppression. [delayed-lower]\n\nGurushankar and colleagues' 2025 finite-state formulation instead distinguishes Miss from DelayedHit and associates each delayed hit with a unique recent Miss. Compare the request, return and admission rules before treating latency results from different models as backend-load results. [delayed-fsm]",
  "related": [
    "delayed-hit",
    "cache-admission",
    "sieve-eviction",
    "tinylfu",
    "cache-stampede",
    "xfetch"
  ],
  "citations": [
    {
      "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"
    },
    {
      "id": "hesela",
      "title": "Hesela: request-coalescing assumptions in the single-object delayed-hit example.",
      "url": "https://hesela.com/analyses/sieve-cache-eviction-traces/#delayed-hits",
      "accessed": "2026-10-20"
    },
    {
      "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": "delayed-fsm",
      "title": "Gurushankar, Singer and Subercaseaux. Latency Guarantees for Caching with Delayed Hits. arXiv:2501.16535v1, 2025, sections 2.1-2.2 and Proposition 2.",
      "url": "https://arxiv.org/html/2501.16535v1",
      "accessed": "2026-11-08"
    },
    {
      "id": "singleflight",
      "title": "Go x/sync/singleflight: Group, Do and Forget documentation.",
      "url": "https://pkg.go.dev/golang.org/x/sync/singleflight",
      "accessed": "2026-11-20"
    }
  ],
  "status": "research",
  "advantages": [],
  "limitations": [
    {
      "text": "The model tracks only request metadata in its fetch and pending buffers and assumes one fetched item serves every pending request for it, so mutable or caller-specific responses need separate treatment.",
      "citationIds": [
        "latency-pipeline"
      ]
    },
    {
      "text": "An in-flight work group suppresses duplicates only within its own key namespace and lifecycle. Independent groups do not create cluster-wide exclusion, and forgetting a key can permit overlapping work.",
      "citationIds": [
        "singleflight"
      ]
    }
  ],
  "supersedes": [],
  "supersededBy": [],
  "firstSeen": null,
  "lastSeen": null,
  "updated": "2026-11-20",
  "provenance": [
    "latency-pipeline re-read 2026-10-23, sections 1 and 2, for fetch and pending requests and the 10% latency result.",
    "A companion analysis with a single-object example is listed but not used in prose.",
    "2026-11-08: compared the forwarding rule in Manohar and Williams section 2.1, the finite-state status distinction in Gurushankar et al. sections 2.1-2.2, and the single-fetch invariant in Keren et al. section 1.1. No new policy benchmark or empirical replication."
  ]
}
