{
  "slug": "afraid",
  "term": "AFRAID",
  "aliases": [
    "Frequently Redundant Array of Independent Disks"
  ],
  "definition": "AFRAID is a research disk-array design that defers parity updates, trading temporary loss of redundancy for lower foreground write latency.",
  "note": "A nonvolatile bit marks each stripe needing parity reconstruction. Rewriting that stripe does not add another mark; rebuilding reads its data and replaces parity before clearing the mark. A write can expose older, unchanged data in the same stripe to loss. [paper]\n\nA persistent dirty mark identifies work, not missing contents. Parity logging instead retains XOR update records in fault-tolerant storage and applies outstanding records before reconstruction. [logging] An exact XOR example shows why that difference matters. [example]\n\nThe 1996 evaluation combines trace-driven simulation with failure models. Its availability comparison uses mean time to data loss, not an uptime percentage; support-hardware assumptions affect the result, and external power failures are excluded. It is not a current-array reliability guarantee. [paper]",
  "status": "research",
  "advantages": [],
  "limitations": [],
  "related": [
    "raid-5",
    "parity-logging",
    "raid-write-hole",
    "write-intent-bitmap",
    "mean-time-to-data-loss"
  ],
  "supersedes": [],
  "supersededBy": [],
  "firstSeen": null,
  "lastSeen": null,
  "updated": "2026-12-02",
  "citations": [
    {
      "id": "paper",
      "title": "Savage and Wilkes. AFRAID: A Frequently Redundant Array of Independent Disks. USENIX 1996, sections 1.1, 3 and 4.",
      "url": "https://www.usenix.org/legacy/publications/library/proceedings/sd96/full_papers/wilkes.pdf",
      "accessed": "2026-12-02"
    },
    {
      "id": "logging",
      "title": "Stodolsky, Gibson and Holland. Parity Logging. ISCA 1993, section 2 and its fault-tolerant-buffer footnote.",
      "url": "https://www.pdl.cmu.edu/PDL-FTP/ParityLogging/ISCA93.pdf",
      "accessed": "2026-12-02"
    },
    {
      "id": "example",
      "title": "Hesela: stale parity, dirty marks and recoverable update records (worked XOR example).",
      "url": "https://hesela.dev/research/afraid/README.md",
      "accessed": "2026-12-02"
    }
  ],
  "provenance": [
    "Source review plus a deterministic algebraic example, not a replication of the paper's simulator or a fault-injection experiment."
  ]
}
