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."