Posted by noobizness on March 7, 2010 at 8:21am
Has anyone tried combining Facebook's "Hip Hop" (http://wiki.github.com/facebook/hiphop-php/) with Drupal? its a PHP >> C system that drastically lowers script times. If nobody has yet I would suggest forming a small task force to see if its possible and whether or not part or all of Drupal can be accelerated with HipHop.
Comments
No doubt it can lead to some improvements
The biggest issue with Drupal is database access. Work on caching, address the typical http speedup issues, trim your theme, address browser caching... Then you can think about compiling PHP.
Four Kitchens is on this
Read a blog post from them the day after Hip Hop was announced I believe.
Doubling Throughput
http://www.allfacebook.com/facebooks-servers-nearly-double-in-throughput-2011-03
it seems like it deserves some further scrutiny.
EDIT My Bad didn't wrap the URL in the [[]] which makes perfect sense when you think about it.
The allfacebook link returned
The allfacebook link returned a 404 for me.
2nd Google result worked: http://socialmediaobservatory.com/facebook/facebook%E2%80%99s-servers-ne...
I think it's a great topic for the high performance group http://groups.drupal.org/high-performance but most of us are just busy getting the normal LAMP stack to perform. That said if you are interested you should read:
http://fourkitchens.com/blog/2010/02/03/making-drupal-pressflow-more-mun...
Drupal evangelist.
www.CoderintheRye.com
http://drupal.org/project/dru
http://drupal.org/project/drupal_php_ext
****Me and Drupal :)****
Clickbank IPN - Sell online or create a membership site with the largest affiliate network!
Review Critical - One of my sites
Latest HPHP with D6.22
tested latest hphp with standard d6 installation on a debian squeeze amd64
works well ;)
I found this benchmark:
I found this benchmark: http://php.webtutor.pl/en/2011/06/30/drupal-hh7-project-hiphop-for-php-a... .
Looks promising, but it says that changes had to be made to the core (there are patches there) for Drupal to be compatible. Is there any work going on to get those changes in?
I compiled drupal 6.22 and
I compiled drupal 6.22 and run hiphop, but I got error "HipHop Notice: Tried to invoke ./themes/engines/phptemplate/phptemplate.engine but file not found. in includes/theme.inc on line 155"
has somebody already faced a similar problem?
The biggest performance issue
The biggest performance issue with Drupal is not query execution.. It is unserialize() against bloated variables tables needing to process/hold 20-40MB per session.