I would like to recommend a very useful FaceBook system, for example, to let everyone know about the FaceBook system, and then give a comprehensive introduction to the FaceBook system. I hope it will be useful to everyone.
Friends for Sale is one of the top 10 FaceBook apps on Facebook. Recently, he publicly posted his information. He was from Ruby on Rails. There are 60 members, 3 PVS per month, and the length is 300% RMB per month. The traffic for the previous month was 3 TB, but most of the traffic was for the first quarter.
The architecture is the standard Rails Cluster, the Front end is Nginx, and the Application Server is Mongrel.
They learned programming
- If you develop an APP on Facebook
- Scaling Problem is rolled around to 1 m pv/day)
- Ruby on Rails can scale
- Performance Problem is in DB. You need good DBA Cache, and few databases are needed.
They use
- Ruby on Rails
- CentOS 5
- Memcached
- For MySQL 5.1
- Nginx
- Starling (Distribute Queue Server)
- Dr. Replica Magic Multi-Connections Gem (Read Write different databases)
Use hardware
- 6 4-core App servers with 16 Mongrel instances and 4 GB Memcached for each Server.
- 4 DB servers with 32 GB 4 core servers with 4x15 k scsi raid 10 disks
- Use Master-Slave and Multi-Connection Gem to Write different databases into Read.
- 1 Starling Server
- 1 frontend server
- According to the analysis, Firefox will be Facebook's biggest competitor
- Facebook may become a new mobile advertising platform
- Microsoft developed the WM Facebook application
- Facebook dug Mozilla Firefox R & D executives
- Top 10 worst M & A transactions in: Microsoft's Facebook purchase