Finding new ways to improve PHP performance isn't a new concept. At run time the Zend Engine turns your PHP source into opcodes which are then run through the Zend Virtual Machine. Open source projects such as APC and eAccelerator cache this output and are used by the majority of PHP powered websites. There's also Zend Server, a commercial product which makes PHP faster via opcode optimization and caching. Instead, we were thinking about transforming PHP source directly into C++ which can then be turned into native machine code. Even compiling PHP isn't a new idea, open source projects like Roadsend and phc compile PHP to C, Quercus compiles PHP to Java, and Phalanger compiles PHP to .Net.
Needless to say, it took longer than that single Hackathon. Eight months later, I had enough code to demonstrate it is indeed possible to run faster with compiled code. We quickly added Iain Proctor and Minghui Yang to the team to speed up the pace of the project. We spent the next ten months finishing up all the coding and the following six months testing on production servers. We are proud to say that at this point, we are serving over 90% of our Web traffic using HipHop, all only six months after deployment.
Tu penses sincèrement que les mecs ont passé un an à développer leur truc et à le mettre en prod sans avoir évalué les solutions déjà existantes ? Vous prenez vraiment tout le monde pour des abrutis ou quoi ?
> Si c'est pour gagner 50%, c'est vraiment pas optimisé... pas plus qu'un cache-op.
Par ce que tu as benchmarké un cache op sur leur prod ? T'as pas l'impression de comparer des choux et des carottes ?
[^] # Re: blitzen
Posté par ckyl . En réponse au journal HipHop For PHP : Facebook php-to-C++ translator. Évalué à 10.
Finding new ways to improve PHP performance isn't a new concept. At run time the Zend Engine turns your PHP source into opcodes which are then run through the Zend Virtual Machine. Open source projects such as APC and eAccelerator cache this output and are used by the majority of PHP powered websites. There's also Zend Server, a commercial product which makes PHP faster via opcode optimization and caching. Instead, we were thinking about transforming PHP source directly into C++ which can then be turned into native machine code. Even compiling PHP isn't a new idea, open source projects like Roadsend and phc compile PHP to C, Quercus compiles PHP to Java, and Phalanger compiles PHP to .Net.
Needless to say, it took longer than that single Hackathon. Eight months later, I had enough code to demonstrate it is indeed possible to run faster with compiled code. We quickly added Iain Proctor and Minghui Yang to the team to speed up the pace of the project. We spent the next ten months finishing up all the coding and the following six months testing on production servers. We are proud to say that at this point, we are serving over 90% of our Web traffic using HipHop, all only six months after deployment.
Tu penses sincèrement que les mecs ont passé un an à développer leur truc et à le mettre en prod sans avoir évalué les solutions déjà existantes ? Vous prenez vraiment tout le monde pour des abrutis ou quoi ?
> Si c'est pour gagner 50%, c'est vraiment pas optimisé... pas plus qu'un cache-op.
Par ce que tu as benchmarké un cache op sur leur prod ? T'as pas l'impression de comparer des choux et des carottes ?