Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Has anyone used HipHop for PHP?

Tags:

php

hiphop

I was wondering if anyone here has used HipHop? If so what do you think about the technology? Is it real world? What problems have you run into? Should I compile my production application using HipHop?

like image 793
rook Avatar asked Jun 13 '10 18:06

rook


1 Answers

Yes, my team was there at Facebook HQ before release and have messed around with it here and there since. There are a number of things that simply don't work in HipHop.. conditional includes, eval(), and other similar aspects. Remember, that this is more of a way to improve performance via a better deployment method.

If you only have a single server, definitely don't use it. Deploying the compiled app - which can easily hit 1GB - takes your server down for a brief period. If you're using a handful of servers, it probably doesn't make much sense either... a 50% cpu load decrease doesn't save you much.

If you have dozens or even more servers, then it makes lots of sense.

like image 153
CaseySoftware Avatar answered Nov 06 '22 07:11

CaseySoftware