Facebook Architecture
Aditya Agarwal
Director of Engineering
11/22/2008
1
Architecture Overview
2
PHP, MySQL, Memcache
Agenda
3
Thrift, Scribe, Tools
4
News Feed Architecture
At a Glance
The Social Graph
The Social GraphThe Social Graph
The Social Graph
120M+ active users
50B+ PVs per month
50B+ PVs per month
10B+ Photos
1B+ connections
50K+ Platform Apps
400K+ App Developers
General Design Principles
▪ Use open source where possible
▪ Explore making optimizations where needed
▪ Unix Philosophy
▪ Keep individual components simple yet performant
▪ Combine as necessary
▪ Concentrate on clean interface points
▪ Build everything for scale
▪ Try to minimize failure points
▪ Simplicity, Simplicity, Simplicity!