Under the Hood: Building Graph Search Beta
Jan 15, 2013

Summary
This post details the engineering challenges and solutions behind building Facebook's Graph Search beta. It describes the evolution from basic search systems to a comprehensive social graph search, the decision to build a single, scalable system rather than smaller targeted ones, and the development of a prototype parser. It highlights the infrastructure challenges, including scaling to over a billion users and consolidating three existing search systems into Unicorn. The post also discusses the critical privacy considerations and real-time checking required for complex queries. The future roadmap includes indexing posts and comments, and expanding to mobile and other languages.
More from the Scalability and Large-Scale Systems Engineering trail
- Open-Sourcing Rebalancer: A Generic, High-Performance Library for Solving Assignment Problems
- ZGateway: Learnings from Putting a Proxy in Front of ZippyDB
- MTIA 300: Meta’s First Training Chip with Built-in NICs and Communication-Offloading Engines
- From User Sequences to Scaling Laws: A Multi-Stage Architecture for Meta’s Ads Ranking
- GEM Training: How Meta Doubled the Efficiency of Its LLM-Scale Ads Foundation Model