Facebook says it has developed a virtual machine that can run the PHP Web programming language nine times as fast as PHP natively on large systems.
Facebook says it has been using the HipHop Virtual Machine (HHVM) across all of its servers since earlier this year. The HipHop compiler, devised to translate PHP code into C++, provided Facebook with considerable performance gains for several years, but the company continued to seek other ways to speed the delivery of dynamically created Web pages to its 1 billion users.
Under development for about three years, HHVM works on the same principle as the Java Virtual Machine, and uses a just-in-time (JIT) compiler that converts the human-readable source code into machine-readable byte code when it is needed. The JIT approach enables the virtual machine to "make smarter decisions at runtime," says Facebook's Joel Pobar. He estimates that HHVM is about twice as fast as the previous HipHop, which has been retired within the company.
Facebook has posted the code for HHVM on GitHub to give others an opportunity to use it to accelerate their PHP websites.
From IDG News Service
View Full Article
Abstracts Copyright © 2013 Information Inc., Bethesda, Maryland, USA
No entries found