HipHop steals Web serving from Apache at Facebook
- 24 February, 2010 07:10
Despite using the venerable LAMP (Linux Apache MySQL PHP) stack to build one of the busiest sites on the Internet, Facebook is moving its main Web serving infrastructure from Apache to HipHop for PHP, which has its own embedded Web server.
Facebook’s senior open programs manager David Recordon said HipHop for PHP has a simple Web server than can be used as alternative to Apache.
“We’ve generally been using Apache with PHP, but HipHop has its own embedded Web server, which is a really simple Web server built on top of libevent. And so now we have been moving to using that,” Recordon said.
The news comes days after Facebook announced HipHop for PHP, a tool for transforming PHP code into optimised C++ to improve the performance of its PHP application base.
[See this feature article -- Open source helps Facebook achieve massive app scalability and slideshow -- for a more extensive look at how Facebook deploys open source software]
Recordon didn’t give any indication of how many Apache Web servers have been replaced with HipHop for PHP, nor did he elaborate on the motive for the shift, but Facebook is big on speed and performance, so it's likely those factors have something to do with the decision.
According to HipHop for PHP developer Haiping Zhao, Facebook is now serving more than 90 per cent of its Web traffic using HipHop, only six months after deployment.
[See the Facebook developer blog for a technical overview of HipHop for PHP.]
In addition to Apache and HipHop for PHP, Facebook is also using another Web server, dubbed Tornado, for real-time data processing which it released as an open source project in September last year.
Earlier this year, the Apache maintainers considered ending new releases of the older 1.3 series in favour of the current 2.2 series.
Whether HipHop for PHP’s “simple” Web server will be adopted by other popular Internet portals like Facebook remains to be seen, but Apache has a rich ecosystem of extensions and continues to enjoy the top spot in Web server popularity.
Moreover, Apache’s wider use is increasing, according to Netcraft’s February 2010 Web Server Survey. Apache had the biggest change of the month with hostname instances increasing by 1.6 million.
Apache hosts about 113 million domains, or 54.46 per cent of the total domains on the Internet. HipHop for PHP running on thousands of servers at Facebook still has a way to go yet.
Join the CIO Australia group on LinkedIn. The group is open to CIOs, IT Directors, COOs, CTOs and senior IT managers.
The enlightened CIO’s guide to running projects
Why IT projects really fail
Queensland government to provide 200 services online by 2015
Call Centers Suffer From Big Data Overload
CIO 100: Carsales wins top gong for innovation
Securing Virtual Desktop Infrastructure
Today’s enterprises are rapidly adopting desktop virtualisation as a means to reduce operating costs, enable workplace flexibility, increase business agility and bolster their information security and compliance posture. Actually realising these benefits, however, depends upon ensuring the security and availability of the virtual desktop infrastructure. Find out how you can not only preserves the benefits promised by virtual desktops, but how it can maximise them. Click to download!
Best Practices to Make BYOD Simple and Secure
As consumerisation continues to transform IT, organisations are moving quickly to design strategies to allow BYOD in the workplace. This paper provides IT executives with guidance to develop a complete BYOD strategy which gives people optimal freedom of choice while helping IT adapt to consumerisation - at the same time addressing requirements for security, simplicity and cost reduction. Find out how device ownership eases IT burdens in endpoint procurement and management. Click to download!
Efficient Data Management in Three Simple Steps
Gartner reports that Business Intelligence, Mobile Technologies and Cloud Computing rank 1-2-3 as the 2013 Global CIO Technology Priorities. These three trends, labelled the “Perfect Storm” of new technologies, are transforming every link in the IT value chain, promising to deliver more efficient, responsive and dynamic IT operations. But this also means massive shifts in the way IT applications and services are created, deployed and maintained. This whitepaper aims to help you begin the journey to efficient modern data management