5 ms·
Facebook HipHop serves 70% more traffic on same hardware
- ChuckMcM 16y agoThree comments: 1) The Register is to 'news' as the New York Post is to the New York Times, which is to say its amusing at times and sometimes a good lead into something that is actually important, but rarely the definitive source for any story. 2) The entrepreneurial take away is that Web 2.0 has been racing ahead of hardware, its been able to do that because computers got better faster and iterating has proven more valuable that polishing. There are opportunities to be found by taking a good long look at where the technologies used can benefit from abstraction/compilation love. Remember that in 2005 putting together a 8,000 'node' cluster was really on the fringe, today that is 500 boxes with a dual Core i7 motherboard in them. 3) In case you haven't noticed this reads like a Facebook Fanboi insulting a Google Fanboi. Apparently it was modestly successful in this regard if you measure success by vitriol in the comments on the article.
- duskwuff 16y agoArticle is factually incorrect; MediaWiki doesn't run on HipHop yet. They're currently discussing adding support on their dev list.
- deleted 16y ago[deleted]
- postfuturist 16y agoWhat could this sentence possibly mean? "His crew can build a more than 1GB in about 15 minutes (after stripping out debug information)" 1GB binary? 1GB of PHP? 1GB of C++ output? None of these sound like a good idea.
- ojilles 16y agoI think it's the output. Also, the timing is relevant as the project documentation keeps talking about distributed compiling etc. I think that's how the sentence was meant: we can compile 1GB in 15 minutes (speed).
- wmf 16y agoStop playing telephone and just read the original: http://www.facebook.com/notes/facebook-engineering/hiphop-for-php-more-optimizations-for-efficient-servers/10150121348198920 http://www.facebook.com/notes/facebook-engineering/hiphop-fo...
- rbarooah 16y ago"Unlike Google, you see, Facebook has been known to promptly open-source some of the most important pieces of its back-end infrastructure."
- eliben 16y agoVery useful projects like Protocol Buffers & Gtest (unit-testing framework) come to mind..
- clistctrl 16y agoThis irked me, Google has contributed quite a bit to the open source world.
- rodion_89 16y ago"No one is using BigTable or the Second Coming of the Google File System. Except for Google." I've never read anything from theregister before, but is this really what to expect?
- acdha 16y agoYes, they're a self-described IT tabloid. It can be entertaining but usually falls short.
- cjoh 16y agoAnd the link is to Caffeine-- Google's new indexing system. It seems really crazy. Like saying: "Facebook's servers are running blazingly fast PHP code and they're not even using Android, Google's operating system for cheap hardware."
- defen 16y agoIs this actually inaccurate though? Google has released tons of open source software, but which of them are important pieces of its back-end infrastructure? Hadoop and all its sub-projects are inspired by Google papers but aren't based on Google code, as far as I know. The projects that come to mind are Sawzall (of dubious usefulness to people outside Google), gold linker, possibly Go language (but I don't know to what extent that's used within Google), and what else? Probably a lot of contributions to open-source that it uses, like the Linux kernel, but I'm after whole projects created by Google. Python doesn't count because it was already open source before they acquired GvR. Compare to Facebook, which has open-sourced Cassandra, Hive, HipHop, Thrift, Tornado, and others which I may be forgetting. Seems to me that Facebook is way ahead. Edit: just remembered a Protocol Buffers, that's a good one to put under Google's column.
- deleted 16y ago[deleted]
- bartl 16y agoSo they dropped some rarely used functionality from PHP,... like serialization. Excuse me, "rarely used"?? Drupal strongly depends on serialization, to store data structures in the database (or, as they call it, "the cache"). You cannot effectively run Drupal without serialization. So "The likes of Drupal, MediaWiki, and WordPress are now using HipHop." sounds like it cannot be true.
- mgkimsal 16y agoI think they're referring to how APC serializes data structures internally, not the serialize() function. I might be wrong, but that's how I read it. edit: https://github.com/facebook/hiphop-php/wiki/Unimplemented-Functions https://github.com/facebook/hiphop-php/wiki/Unimplemented-Fu... That's a list of unimplemented functions - unserialize_callback_func is unimplemented, but that's it wrt serialization functions.
- rll 16y agoExcept APC doesn't actually serialize anything except for objects. Arrays and scalar types are directly memcpy'ed in and out of the APC user cache. But this author is extremely confused. I think he may have confused APC with Memcache here. They have done some work on the PHP Memcache extension to remove the need to serialize making it behave more like APC.
- TheBranca18 16y agoI think Facebook is worried more about scale, hence HipHop. Drupal doesn't scale well at all and shouldn't be used as an example of what's best practice. Otherwise we'd see tons of products having function chains longer than a tapeworm.
- mithra 16y agoPHP, the COBOL of the 21st century.
- cmurdock 16y agoNo, Java is the COBOL of the 21st century. There's not a whole lot of business logic being done with PHP. There's a ton done with Java, though.
- mithra 16y agoYea but at the end of the century no one will ask with the same incredulity why we wrote anything in Java as why we wrote anything in PHP.
- throwaway2485 16y agoIf you're going to inflame language wars why hide behind throwaway accounts?
- mithra 16y agoHaven't felt the need to comment till now. Language wars help pass the time when you need a distraction :).
- angusgr 16y agoOriginal FB blog post, which has more facts less fanboi trolling: http://news.ycombinator.com/item?id=2390751 http://news.ycombinator.com/item?id=2390751
- famousactress 16y agoThe idea is that you can still code with high-level PHP, but then get the performance of C++ I love this quote, because C++ was built with the exact same abstraction in mind.