{
  "slug": "fork-early-cancel",
  "term": "Fork-early-cancel",
  "aliases": [
    "cancel-on-start redundancy"
  ],
  "definition": "Fork-early-cancel is a redundancy model that cancels excess tasks once k tasks have started service, rather than waiting for k completions.",
  "note": "The retained tasks must still finish. The model assumes immediate cancellation and selects k tasks uniformly at random if too many start simultaneously; in the (3, 2) system, the third task is cancelled once 2 tasks have started service. This differs from a concrete tied-request protocol with message delay. [joshi]\n\nFor the (n, 1) case, cancelling every other copy as soon as 1 task reaches the head of its queue makes job latency equal in distribution to an M/G/n queue, and the expected computing cost equals the expected service time of 1 task. [joshi]",
  "related": [
    "k-of-n-completion",
    "tied-request",
    "hedged-request",
    "tail-latency"
  ],
  "citations": [
    {
      "id": "joshi",
      "title": "Joshi, Soljanin and Wornell. Efficient Redundancy Techniques for Latency Reduction in Cloud Systems (2017), sections 2 and 5.2; DOI 10.1145/3055281.",
      "url": "https://www.pdl.cmu.edu/PDL-FTP/associated/a12-joshi.pdf",
      "accessed": "2026-10-23"
    },
    {
      "id": "example",
      "title": "Hesela: fixed service starts and cancellation accounting",
      "url": "https://hesela.com/analyses/storage-tail-slowdowns-raid-fanout/#cancel-on-start",
      "accessed": "2026-10-20"
    }
  ],
  "status": "research",
  "advantages": [
    {
      "text": "Early cancellation saves computing cost and is the better choice when the service-time tail is log-concave, as with a shifted exponential.",
      "citationIds": [
        "joshi"
      ]
    }
  ],
  "limitations": [
    {
      "text": "With log-convex service times, such as a hyperexponential mixture, early cancellation loses the diversity of retained copies and gave higher latency at both low and high load in a (4, 1) example.",
      "citationIds": [
        "joshi"
      ]
    }
  ],
  "supersedes": [],
  "supersededBy": [],
  "firstSeen": null,
  "lastSeen": null,
  "updated": "2026-10-23",
  "provenance": [
    "joshi re-read 2026-10-23, sections 2 and 5.2, for the (3, 2) model, Theorem 2 and the (4, 1) examples.",
    "A companion analysis with a fixed-schedule counterexample is listed but not used in prose."
  ]
}
