Journal / Conference2025

Haystack-based Facebook’s data storage architecture: store, directory, and cache

Authors

Tole Sutikno, Ahmad Heryanto, Laksana Talenta Ahmad

Published in

International Journal of Advances in Applied Sciences

Abstract

Haystack is Facebook's unique way of managing large amounts of user-generated content like photos. The architecture prioritizes performance, reliability, and scalability to overcome network-attached storage system bottlenecks. Haystack speeds data access and ensures data integrity during hardware failures by using physical and logical volumes. This study examines the architecture of Facebook's Haystack data storage system and its effects on scalability and efficiency in handling large photo data. According to the study, the store, directory, and cache functions work together to reduce input/output (I/O) operations and improve metadata processing, which traditional network-attached storage systems cannot do. Haystack manages massive photo data storage and retrieval, solving network-attached storage (NAS) limitations. It balances throughput and latency by minimizing disk operations and optimizing metadata processing. Each store, directory, and cache contribute to this ecosystem. The Haystack architecture reduces disk operations and metadata processing bottlenecks with distributed caching. A cache allows instant access to frequently requested images and balances read and write operations across the system. We should study advanced storage system architectures based on Facebook's Haystack architecture. This could involve investigating faster metadata processing algorithms, using artificial intelligence (AI) to improve fault detection and repair systems, and assessing the economic impact of distributed caches.

Author Team

1

Tole Sutikno

2

Ahmad Heryanto

Universitas Sriwijaya

3

Laksana Talenta Ahmad

Cite

Tole Sutikno, Ahmad Heryanto, Laksana Talenta Ahmad (2025). Haystack-based Facebook’s data storage architecture: store, directory, and cache. International Journal of Advances in Applied Sciences.
Logo Unsri

Computer Networks, Security, and Distributed Systems Research Group. Faculty of Computer Science, Sriwijaya University.

Contact

Address

Diploma Building, Faculty of Computer Science, Sriwijaya University, Jl. Srijaya Negara, Bukit Besar, Ilir Barat I, Palembang, South Sumatra, 30128

Affiliations

Diktisaintek Berdampak
Kemdikbud
Unsri
IEEE
ACM

Visitors

Flag Counter

© 2026 COMNETS Research Group. All Rights Reserved.