AlgoViz

Inside a blob store

hard 30 min

How a blob store is built: a gateway, a metadata service that knows where each piece is, data nodes that hold pieces, and background jobs that repair, move and delete.

Where it shows up

The same pattern appears across everyday software.

  • Facebook f4

    A store for warm blobs. The OSDI paper reports lowering the effective replication factor from 3.6 to 2.8 or 2.1 and surviving disk, host, rack and datacentre failures.

  • Azure Storage

    Its engineers published Local Reconstruction Codes: fewer pieces to read for a repair while keeping the space overhead low.

  • HDFS

    Supports erasure coding per directory. Its documentation compares 18 blocks for a three-copy file of six blocks with 9 blocks at 6 + 3.

  • Ceph

    Erasure-coded pools take a profile with k and m and a failure domain, for example a rack. The overhead is (k + m) / k.

  • MinIO

    Splits each object into data and parity shards over a set of drives. A set of 16 drives can use parity from 0 up to half the set.

  • Amazon S3 lifecycle rules

    Move objects to other storage classes by age, expire them, and abort incomplete multipart uploads.