Library / Papers

Facebook’s photo storage

This paper describes Haystack, an object storage system optimized for Facebook’s Photos application. Facebook currently stores over 260 billion images, which translates to over 20 petabytes of data.

By USENIX · USENIX · Added 2026-10-12

Read the paper

All content belongs to USENIX. We only link to it and give credit. Report a problem

Study path: How big storage systems are builtFrom spreading keys over servers to a database built for the cloud.

0 of 7 finished
  1. 1Consistent Hashing and Random Trees (paper)
  2. 2CAP Twelve Years Later: How the Rules Have Changed
  3. 3Amazon Dynamo: Highly Available Key-Value Store
  4. 4Bigtable: A Distributed Storage System for Structured Data (paper)
  5. 5Cassandra: A Decentralized Structured Storage System (paper)
  6. 6Amazon Aurora: Design Considerations for High Throughput Cloud-Native Relational Databases (paper)
  7. 7Facebook’s photo storage

Learn this paper

About 37 min left. Your work is saved as you go.

What you are about to study

USENIX wrote this paper. Read the abstract and headings first. You should know the basics: caching, queues and replication.

Ideas you will meet

Distributed Systems
Consensus, time, failure and the fundamentals of scale-out.

Go deeper on this

A path through videos, articles, other case studies and code on the same ideas as Facebook’s photo storage.

  1. Warm upGet the vocabulary first.

  2. WatchHow others solve the same problem, on video.

    Videos belong to their creators and play from YouTube. More on YouTube (opens in a new tab)

  3. ReadEngineers explain it in their own words.

  4. See it in another companyThe same ideas, a different system.

  5. Read the codeSee how it looks when it is real.

Keep learning

Loading community…