f4 warm BLOB store
f4 is Facebook's historical warm-object storage design combining local Reed-Solomon coding with geographically separated redundancy.
Layout: The 2014 design uses ten data blocks and four parity blocks per stripe. A local cell alone does not cover datacenter loss. [1]
Geography: 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. [1]
Placement: Distinct-rack placement is attempted and violations are repaired by a balancer; a code's erasure budget is not automatically a rack-failure budget. [1]
Placement 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. [4]
Recovery: 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. [1]
Capacity: 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. [3]
Comparison: HDFS RAID's replicated XOR layout instead gives 2.2. The worked accounting uses a common payload denominator without equating recovery guarantees. [2] [3]
Relations
- related
- Warm storage tier, Hot, warm, and cold storage tiers, Erasure coding, Reed–Solomon codes (storage)
Citations
- 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.
- Facebook Engineering. Saving capacity with HDFS RAID. 5 June 2014.
- Hesela: composed redundancy accounting, equal-size complete-stripe example.
- Hesela: exact synthetic rack-placement subset counts and local-recovery limits.
Sources & caveats
- Historical source synthesis; current deployment status is unverified. Arithmetic is not an implementation benchmark, availability model or estimate of total fleet storage.