Haystack-based Facebook’s data storage architecture: store, directory, and cache
Open Access
- 1 September 2025
- journal article
- Published by Institute of Advanced Engineering and Science in International Journal of Advances in Applied Sciences
- Vol. 14 (3) , 671-681
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.Keywords
This publication has 11 references indexed in Scilit:
- Reducing Cross-Cloud/Region Costs with the Auto-Configuring MACARON Cache2024
- Formalization and Analysis of Haystack Architecture from Process Algebra PerspectiveMobile Networks and Applications, 2019
- A review on various optimization techniques of resource provisioning in cloud computingInternational Journal of Electrical and Computer Engineering (IJECE), 2019
- Handbook of Software Engineering2019
- Sorting Through the Safety Data Haystack: Using Machine Learning to Identify Individual Case Safety Reports in Social-Digital MediaDrug Safety, 2018
- New Contributions in Information Systems and Technologies2015
- hatS: A Heterogeneity-Aware Tiered Storage for Hadoop2014
- A Needle in the Haystack - Delay Based User Identification in Cellular NetworksLecture Notes in Computer Science, 2014
- Database and Expert Systems ApplicationsLecture Notes in Computer Science, 2014
- Big Data2014