Facts An IT Developer Should Know About Facebook

fb11

India is a huge country and sometimes it’s difficult to maintain contact with each and every person but You know in today’s world the lines I wrote earlier may seem absurd because today we have Social networking, today we have Facebook. Today, it’s not only India that the Facebook has changed but the whole world uses this social networking site to connect with their friends, family, relatives and acquaintance. In this blog, I going to discuss the evolution of the technology of the most popular networking site in the history of Internet i.e. Facebook.

In February 2004 Mark Zuckerberg launches Facebook. In late 2003, he started work on Facebook using a programming language called PHP, a dynamically typed language that let you build and rebuild sites with extreme speed. Zuckerberg and his rapidly growing company continued to build their site with PHP for years.

PHP is conducive to rapid development, but it lacks the performance of lower-level languages and some more modern alternatives. So to improve the scalability of its PHP-based infrastructure, Facebook builds a special transpiler called Hip-hop by the end of 2009 which converts PHP into heavily optimized C++ code and then can be compiled into an efficient native binary. By the end of 2009, the technology used in Facebook is PHP as the front end and C, C++ and Java as the backend. The web backend services and the frontend services communicate using Apache Thrift.

From the starting of 2010 Facebook still uses PHP with the compiler HipHop for boosting performance. Facebook uses Linux but has optimized it for its own purposes (especially in terms of network throughput). Facebook uses MySQL, but primarily as a key-value persistent storage. A high-performance retrieval system and a highly scalable object store, Haystack is used for handling a number of photos constantly uploaded on the Facebook. To handle logging at the scale of Facebook Scribe is used (which is far from trivial). Hadoop is used to perform the calculations on the Facebook and the task of using SQL Queries against Hadoop is done by Hive. Both Hadoop and Hive are open source system.

But as a PHP site grows, the need for computer servers to run the thing was far more than with other languages, and it became difficult to manage all the code and keep it free from bugs.

So, in 2014, Facebook solved the server problem by running all its PHP code on a new software creation called HHVM, short for Hip Hop Virtual Machine. As PHP is the dynamically typed language, the new version of PHP, Hack is introduced runs on HHVM machine which allow the coder to use both dynamic and static typing known as gradual typing. Over the last year, they have migrated their entire PHP codebase to Hack. JavaScript, J2EE, Jquery is also used to make the Facebook more interactive and attractive for the user.

for more info: cpd-india

Batches: Regular & Weekends for Working Profession

For FREE DEMO CLASS CALL – 011-65164822 / 91- 8860352748

CPD Technologies Block C 9/8, Sector -7, Rohini, Delhi-110085, India Landmark: Near Rohini East Metro Station, Opposite Metro Pillar No-397

Website:- www.cpd-india.com

Email:- support@cpd-india.com

Your email address will not be published. Required fields are marked *

Contact CPD Technologies






    [recaptcha]