How Three Guys Rebuilt the Foundation of Facebook(wired.com)
wired.com
How Three Guys Rebuilt the Foundation of Facebook
http://www.wired.com/wiredenterprise/2013/06/facebook-hhvm-saga/all/
2 comments
I always wondered why they don't do a more traditional web services-style rewrite. Break the site up into a smaller and smaller services first, then start rewriting individual services in Java or C++ or whatever. Pound away at it for a while, and eventually you'll have the whole site rewritten and refactored in a much more maintainable way.
"We do these things not because they are easy, but because they are hard" -John F. Kennedy
They're not going to rewrite all of the PHP code to some other language, but they've effectively got a shim in there in the form of the HHVM. They could introduce new aspects to the language via their VM, giving new ways to solve problems with new code/extensions but without sacrificing backwards compatibility. I will not be surprised if this evolves from Facebook in the next few years. What they produce may never leave Facebook's internal users (beyond what the HHVM exposes in its open source incarnation) but it may end up being a necessary way forward.