{
  "slug": "piggybacking-code",
  "term": "Piggybacking code",
  "aliases": [
    "Piggyback codes",
    "Piggybacking framework"
  ],
  "definition": "A piggybacking code couples code instances by adding functions of earlier messages to later instances while preserving the base code's recovery sets.",
  "note": "Recover each earlier message before removing its contribution from the next instance. With an MDS base code, any k of n nodes still recover all messages; invertible within-node transformations preserve this property. Repair savings require additional design. [framework]\n\nHesela's GF(3) example stores (a0,b0), (a1,b1), and (a0+a1,b0+b1+g(a0,a1)). Four functions, including a nonlinear product, preserve all 81 messages for every two-node survivor pair: 972 round trips. This is an original recovery example, not an efficient repair construction. [model]\n\nChanging the last node to (a0+a1+b0,b0+b1+a0) creates an unsafe cycle. Losing node 0 leaves 27 observations for 81 messages. Inputs (0,0,0,0) and (1,0,2,0) collide. This does not say every cyclic construction fails. [model]\n\nA repair promise for some selected d helpers is weaker than one for any d helpers. Hulett and Wootters' six-node, two-symbol GF(7) example repairs each node with four downloaded symbols from a selected set. Their bounds assume scalar MDS base codes and linear repair without symbol extension. [limits]\n\nFor that fixed code, 223,050 helper-subspace checks establish a minimum of four symbols for 6 of 30 failure/helper-set pairs and five for the other 24. The search includes unused and two-symbol helpers, with matching repair witnesses. This is noninteractive GF(7)-linear repair without symbol extension. All 20 three-node subsets still recover the data; losing cheap repair is not data loss. [minimum]",
  "status": "research",
  "advantages": [],
  "limitations": [],
  "related": [
    "hitchhiker",
    "subpacketization",
    "maximum-distance-separable-code",
    "repair-read-amplification",
    "optimal-access-repair"
  ],
  "supersedes": [],
  "supersededBy": [],
  "firstSeen": null,
  "lastSeen": null,
  "updated": "2026-11-22",
  "citations": [
    {
      "id": "framework",
      "title": "Rashmi, Shah and Ramchandran. A Piggybacking Design Framework for Read-and Download-efficient Distributed Storage Codes, section II and Appendix.",
      "url": "https://www.cs.cmu.edu/~nihars/publications/Piggybacking.pdf",
      "accessed": "2026-11-22"
    },
    {
      "id": "limits",
      "title": "Hulett and Wootters. Limitations on the Achievable Repair Bandwidth of Piggybacking Codes with Low Substriping (2017), arXiv:1707.02337v1, sections 3, 5 and 6.",
      "url": "https://arxiv.org/abs/1707.02337v1",
      "accessed": "2026-11-22"
    },
    {
      "id": "model",
      "title": "Hesela: exhaustive GF(3) recovery checks and a cyclic-coupling collision.",
      "url": "https://hesela.dev/research/piggybacking/model.test.js",
      "accessed": "2026-11-22"
    },
    {
      "id": "reading",
      "title": "Hesela: local repair, Hitchhiker read plans and physical-read boundaries.",
      "url": "https://hesela.com/analyses/lrc-repair-costs-locality/#hitchhiker-read-plans",
      "accessed": "2026-11-22"
    },
    {
      "id": "helper-results",
      "title": "Hesela: exhaustive four-helper GF(7) search for Figure 4, with per-set counts and repair witnesses.",
      "url": "https://hesela.dev/research/piggybacking/helpers-results.json",
      "accessed": "2026-11-22"
    },
    {
      "id": "helper-code",
      "title": "Hesela: executable helper-set search and GF(7) generator.",
      "url": "https://hesela.dev/research/piggybacking/helpers.js",
      "accessed": "2026-11-22"
    },
    {
      "id": "helper-tests",
      "title": "Hesela: dual-certificate, MDS, exhaustive-search and input-validation tests.",
      "url": "https://hesela.dev/research/piggybacking/helpers.test.js",
      "accessed": "2026-11-22"
    },
    {
      "id": "minimum",
      "title": "Hesela: exact helper-set minima, all 223,050 subspaces and matching four- or five-symbol witnesses.",
      "url": "https://hesela.dev/research/piggybacking/minimum-results.json",
      "accessed": "2026-11-22"
    },
    {
      "id": "minimum-method",
      "title": "Hesela: method, per-node result table and reproduction instructions for fixed-code repair minima.",
      "url": "https://hesela.dev/research/piggybacking/MINIMUM.md",
      "accessed": "2026-11-22"
    },
    {
      "id": "minimum-code",
      "title": "Hesela: standalone exhaustive GF(7) lower-bound search and constructive upper-bound certificates.",
      "url": "https://hesela.dev/research/piggybacking/minimum.py",
      "accessed": "2026-11-22"
    },
    {
      "id": "minimum-tests",
      "title": "Hesela: certificate inventory, MDS recovery and negative-control tests.",
      "url": "https://hesela.dev/research/piggybacking/test_minimum.py",
      "accessed": "2026-11-22"
    }
  ],
  "provenance": [
    "Primary mathematical sources reviewed beyond their abstracts. This record describes a construction framework, not a default HDFS policy.",
    "The independently authored finite model is exhaustively enumerated, without sampled data or estimated uncertainty. It checks recovery, not latency, bandwidth savings, disk reads or field reliability.",
    "Run node --test model.test.js beside model.js; both files are available under /research/piggybacking/. The code introduces no third-party dependencies.",
    "The Figure 4 matrices and all six published dual certificates are verified on a field basis. The additional exhaustive search covers this fixed code and four helpers each returning one GF(7)-linear symbol; nonlinear repair and symbol extension are excluded.",
    "Run python3 -B minimum.py --check beside minimum-results.json to recompute the full minimum inventory. test_minimum.py checks witnesses and invalid inputs, not the exhaustive lower bound. No packages or private repository are needed."
  ]
}
