I work for facebook and I worked on the deployment of these large hiphop binaries of our code base. We considered multiple options - binary diffs, multicast, etc. The problem with multicast is that it's hard to configure and maintain in our complex cross region datacenter setup that has to travel through other peering networks.
We ended up with a torrent deployment system that scales beautifully.
For those who don't know, Hyves is the largest social networking site in the Netherlands, although in recent times they're facing fierce competition from Facebook. It's ironic that Facebook is indirectly helping them with HipHop.
That's the beauty of open source. Let the best implementation win, not the competitor with the most marketing money. I have had this conversation with older business-type people who don't quite understand why we might want to make certain aspects of our code available, they just see it as enabling competition but everytime a competitor has come along it just energizes us to innovate harder and over the years I can look back and see that some of our best work was done in the months after a new potential competitor appeared.
he Willem, you still work there? First time I see Hyves on first page at HN. I didn't even know they were writing a blog on product development. How's it working? Are you writing articles alone, or are several guys writing on what they are working on? Very good idea in any case.
Anyways, good luck with the fight against Facebook ;-)
BTW, if you don't recognize me, I was the only frenchman working there at the time...
I'm wondering, if several engineers spent months porting their php code to hiphop, wouldn't they be better off just rewriting critical parts of their code base to c++?
If HipHop supports 99% of PHP 5.3, then it took them months to change 1% of their code. Changing any more than that would have obviously taken longer, especially to a whole other language.
"This year the Phalanger guys released Phalanger 3.0 which now runs on Mono (previously they required the C++/CLI compiler to run). Phalanger's performance is impressive as it is just as fast as the newly announced Facebook HipHop VM for PHP. The major difference being that Phalanger is a complete PHP implementation and the HipHopVM is still not a complete implementation." - Miguel de Icaza
Wtf does it mean to be a complete PHP implementation? As far as I know, there's no standard specification for the whole language, there's not even an EBNF grammar. There's no ISO or ANSI effort to standardize it either.
Complexity is the root of all evil. There's been some publications [1] that compare revenue per employee which sometimes is interesting. For technologists, it might actually be interesting to see LOC per User. Hyves seems to run at 1/3rd of a line per user; is that high or low? Any published stats like that?
Facebook used to be pretty unknown here in the Netherlands, but is growing in popularity, with Hyves losing. They were acquired last year by a newspaper and media conglomerate Telegraaf.
[+] [-] ck2|14 years ago|reply
I remember reading that on paper it seems it should be faster but in reality not so much.
Ah okay, hiphop IS faster:
http://php.webtutor.pl/en/2011/05/17/drupal-hiphop-for-php-v...
http://huichen.org/en/2010/06/wordpress-3-benchmark/ Maybe multicast could be used on the intranet for distribution - but 500mb monolithic binaries sounds kinda insane.[+] [-] patangay|14 years ago|reply
We ended up with a torrent deployment system that scales beautifully.
[+] [-] FooBarWidget|14 years ago|reply
[+] [-] marquis|14 years ago|reply
[+] [-] willemst|14 years ago|reply
[+] [-] toumhi|14 years ago|reply
Anyways, good luck with the fight against Facebook ;-)
BTW, if you don't recognize me, I was the only frenchman working there at the time...
[+] [-] patrickgzill|14 years ago|reply
[+] [-] z92|14 years ago|reply
[+] [-] jarjar500|14 years ago|reply
[+] [-] jurre|14 years ago|reply
[+] [-] j_col|14 years ago|reply
[+] [-] omouse|14 years ago|reply
[+] [-] j_s|14 years ago|reply
---
http://tirania.org/blog/archive/2011/Dec-21.html
"This year the Phalanger guys released Phalanger 3.0 which now runs on Mono (previously they required the C++/CLI compiler to run). Phalanger's performance is impressive as it is just as fast as the newly announced Facebook HipHop VM for PHP. The major difference being that Phalanger is a complete PHP implementation and the HipHopVM is still not a complete implementation." - Miguel de Icaza
Phalanger http://phalanger.codeplex.com/ http://www.php-compiler.net/
[+] [-] omouse|14 years ago|reply
[+] [-] radagaisus|14 years ago|reply
[+] [-] ojilles|14 years ago|reply
[1]: http://37signals.com/svn/posts/2283-ranking-tech-companies-b...
[+] [-] joelhaasnoot|14 years ago|reply
Facebook used to be pretty unknown here in the Netherlands, but is growing in popularity, with Hyves losing. They were acquired last year by a newspaper and media conglomerate Telegraaf.
[+] [-] iso8859-1|14 years ago|reply
[+] [-] j_col|14 years ago|reply