Hi Matt,
Yes, Zend is watching :-)
Weâre glad to see Facebook publicly acknowledging PHPâs high productivity, which far surpasses that of Java and .NET. Facebook reports that they now serve 400 billion(!) PHP-based web pages every month.
We will learn what HipHop concepts apply to the broad PHP community (Not just IBM i) and what are specific to Facebook. We believe it is important to continue to fold in new ideas and innovations into the community-based runtime. We have always adapted to changes within the PHP runtime, whether these changes were made by us or by the community and will be glad to continue doing so.
Zend will continue to support PHP and the broad PHP community in multiple ways including leading the Zend Framework project, contributing to multiple PHP projects and driving the Eclipse PDT effort.
I would caution anyone from believing this is a magic bullet of any sort. Please check out what the author of PHP, Rasmus Lerdorf, had to say about the subject:
http://www.readwriteweb.com/archives/rasmus-lerdorf-php-hiphop-facebook.php
Matt, do you have specific issues about performance using the new Zend Server beta or are you just generally concerned?
Please share. Hope this helps!
Regards,
Mike
mike.p@xxxxxxxx Cell: (408)679-1011 Office: (815)722-3454
Zend Server for IBM i Beta avilable at
http://www.zend.com/en/products/server/zend-server-5-new-ibmi
-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of MattLavinder@xxxxxxxxxxxxxxxxxxx
Sent: Monday, February 08, 2010 1:17 PM
To: web400@xxxxxxxxxxxx
Subject: [WEB400] HipHop for PHP
For those who haven't heard, Facebook (believe it or not) announced they
are going to open source a product called HipHip for PHP. Here is part of
the announcement to show why you should care:
<snip>
Today Iâm excited to share the project a small team of amazing people and I
have been working on for the past two years; HipHop for PHP. With HipHop
weâve reduced the CPU usage on our Web servers on average by about fifty
percent, depending on the page. Less CPU means fewer servers, which means
less overhead. This project has had a tremendous impact on Facebook. We
feel the Web at large can benefit from HipHop, so we are releasing it as
open source this evening in hope that it brings a new focus toward scaling
large complex websites with PHP. While HipHop has shown us incredible
results, itâs certainly not complete and you should be comfortable with
beta software before trying it out.
HipHop for PHP isnât technically a compiler itself. Rather it is a source
code transformer. HipHop programmatically transforms your PHP source code
into highly optimized C++ and then uses g++ to compile it. HipHop executes
the source code in a semantically equivalent manner and sacrifices some
rarely used features â such as eval() â in exchange for improved
performance. HipHop includes a code transformer, a reimplementation of
PHPâs runtime system, and a rewrite of many common PHP Extensions to take
advantage of these performance optimizations.
</snip>
While reducing number of servers is irrelevant to us IBM i folks, better
performance certainly is not. I get excited at the idea of PHP running at
native speeds. This is an incredibly interesting idea and probably relevant
to every IBM i shop using PHP. I sure hope Zend is paying attention to
this. I'd love to see some real world examples of how much of an impact
this can actually have on performance. If it is as significant the
announcement says, I expect to see HipHop eventually implemented into a
future release of Zend Server. ;)
Matt
As an Amazon Associate we earn from qualifying purchases.