{
  "slug": "f4",
  "term": "f4 warm BLOB store",
  "aliases": [
    "Facebook f4",
    "f4 storage"
  ],
  "definition": "f4 is Facebook's historical warm-object storage design combining local Reed-Solomon coding with geographically separated redundancy.",
  "note": "Layout: The 2014 design uses ten data blocks and four parity blocks per stripe. A local cell alone does not cover datacenter loss. [paper]\n\nGeography: Two encoded copies give 2.8 times payload size. Pairing two volumes and storing their corresponding blocks' XOR in a third datacenter gives 2.1. Index files remain separately replicated. [paper]\n\nPlacement: Distinct-rack placement is attempted and violations are repaired by a balancer; a code's erasure budget is not automatically a rack-failure budget. [paper]\n\nPlacement example: In a constructed 14-rack stripe, one colocated pair leaves 220 of 1001 four-rack failure subsets outside the four-block local erasure budget. These are exact pattern counts, not field probabilities or global data loss; surviving BLOBs may remain readable. [placement]\n\nRecovery: The historical backoff path requests matching ranges from thirteen other blocks and decodes after ten responses. It reconstructs the requested byte range, not the whole encoded block; ten responses are not a measured total I/O cost. [paper]\n\nCapacity: Moving from 56 to 42 stored blocks for the same payload saves 25%. The ideal fixed-budget payload gain is one third, but whole-pair rounding changes finite budgets: 56 blocks fit 20 payload blocks in either layout; 168 fit 60 versus 80. These are constructed accounting examples, not measured fleet savings. [accounting]\n\nComparison: HDFS RAID's replicated XOR layout instead gives 2.2. The worked accounting uses a common payload denominator without equating recovery guarantees. [hdfs] [accounting]",
  "status": "unknown",
  "advantages": [],
  "limitations": [],
  "related": [
    "warm-storage",
    "hot-warm-cold",
    "erasure-coding",
    "reed-solomon-code"
  ],
  "supersedes": [],
  "supersededBy": [],
  "firstSeen": null,
  "lastSeen": null,
  "updated": "2026-11-28",
  "citations": [
    {
      "id": "paper",
      "title": "Muralidhar et al. f4: Facebook's Warm BLOB Storage System. OSDI 2014, sections 5.3-5.5 and 6.4, pp. 388-391 and 393-394.",
      "url": "https://www.usenix.org/system/files/conference/osdi14/osdi14-paper-muralidhar.pdf",
      "accessed": "2026-11-28"
    },
    {
      "id": "hdfs",
      "title": "Facebook Engineering. Saving capacity with HDFS RAID. 5 June 2014.",
      "url": "https://engineering.fb.com/2014/06/05/core-infra/saving-capacity-with-hdfs-raid/",
      "accessed": "2026-11-28"
    },
    {
      "id": "accounting",
      "title": "Hesela: composed redundancy accounting, equal-size complete-stripe example.",
      "url": "https://hesela.dev/research/f4-redundancy/results.json",
      "accessed": "2026-11-28"
    },
    {
      "id": "placement",
      "title": "Hesela: exact synthetic rack-placement subset counts and local-recovery limits.",
      "url": "https://hesela.dev/research/f4-redundancy/placement-results.json",
      "accessed": "2026-11-28"
    }
  ],
  "provenance": [
    "Historical source synthesis; current deployment status is unverified. Arithmetic is not an implementation benchmark, availability model or estimate of total fleet storage."
  ]
}
