Linux Today: Linux News On Internet Time.
Search Linux Today
Linux News Sections:  Developer -  High Performance -  Infrastructure -  IT Management -  Security -  Storage -
Linux Today Navigation
LT Home
Contribute
Contribute
Link to Us
Linux Jobs


More on LinuxToday


6 PHP Performance Tips for Producing Highly Optimized Code

Jul 14, 2011, 13:00 (0 Talkback[s])

"PHP is responsible for powering an extraordinarily large segment of the Web, driving significant parts of many of the world's most trafficked websites, among them Facebook and Yahoo. Facebook's reliance on PHP is so great that they've even gone so far as to create HipHop for PHP, a utility that converts PHP code into highly optimized C++, resulting in the ability of the Facebook API tier to double its performance while reducing CPU usage.

"While HipHop may seem a rather esoteric solution to the performance problem, a method lies within the perceived madness; maintaining the website logic using PHP code allows Facebook to maintain a code base which remains accessible to a larger number of developers, with the added bonus of being able to deploy blazing fast C++ code."

Complete Story

Related Stories: