Is Facebook really built on PHP? What are the main hidden technologies used?
Let’s consider the case of Facebook, as per Google Ad planner, 570 billion page views / month are served by the social networking giant, Facebook. The website houses the biggest photo database with a user upload rate of 3 billion photos / month. With more than 30,000 servers, Facebook operates on a PHP platform. In order to boost the performance and keep the site running smoothly irrespective of handling billion active users, it is supported with a built-in compiler that helps creating native code on its web servers. The website has a self-optimized Linux network and MySQL for primary key-value persistent storage. However, there are several other customized web applications that hold the SNS site together for the user to enjoy and stay connected.
Few such custom-written web apps include
Memcached: A distributed memory caching system, which acts as a caching layer between the web servers and MySQL servers.
BigPipe: A dynamic web page serving system, that serves each web page in sections called ‘pagelets’. Facebook uses this web system exclusively for optimal performance.
Scribe: A flexible logging system that aids in multitude of purposes internally. It supports the high logging traffic or scale of Facebook.
HipHop for PHP: It helps in converting PHP into C++ code for better and speedy performance.
Hadoop and Hive: It allows in performing calculations of large amount of data. Hive aids in using SQL queries and do easy data analysis for non-programmers
Thrift: It functions like a communicator / connector between different programming languages. An internally developed cross-language framework.
Similarly at Cynere, we can opt for wide array of latest and custom-made web tools/techniques to support the website in the most yielding manner.