News for hackers. Stuff that matters.
Re:Did the Microsoft Stack Kill MySpace? by gcr on Friday March 25, 2011 @02:22PM (#2369648)
Facebook didn't do it with "crusty old PHP;" rather, they had to re-build their stack completely from scratch to keep up. See HipHop, their homegrown PHP-to-C compiler https://github.com/facebook/hiphop-php/wiki/ and Cassandra, their own custom database system http://cassandra.apache.org/

If they stuck with crusty old PHP, I have no doubt they would never be able to manage the load.

Re:Did the Microsoft Stack Kill MySpace? by samt on Friday March 25, 2011 @02:33PM (#2369700)
No kidding. They're using php as a template language to call thrift services. That's hardly "using php" in the sense that most people would think of it.
Re:Did the Microsoft Stack Kill MySpace? by benologist on Friday March 25, 2011 @06:41PM (#2370653)
Back when MySpace actually mattered I don't think they had HipHop, Cassandra etc.
Re:Did the Microsoft Stack Kill MySpace? by nikcub on Friday March 25, 2011 @07:38PM (#2370815)
HipHop went live on FB last year. It didn't even go live everywhere at once.

For some reason ppl think Mark created it on the 3rd day

Re:Did the Microsoft Stack Kill MySpace? by gcr on Saturday March 26, 2011 @02:59PM (#2372863)
It would be interesting to see how much load HipHop alleviated. I assumed it helped, but how much?
Re:Did the Microsoft Stack Kill MySpace? by nikcub on Saturday March 26, 2011 @09:37PM (#2373819)
apparently it allowed them to not buy 70% of new servers at a time when they were growing crazy
Re:Did the Microsoft Stack Kill MySpace? by antidaily on Friday March 25, 2011 @02:55PM (#2369798)
Could anything "off-the-shelf" have managed that load?
Re:Did the Microsoft Stack Kill MySpace? by Kafka on Friday March 25, 2011 @08:03PM (#2370876)
It depends on how many servers you are willing to run. When you have 500 million users, and a decent amount of them, accesses your site multiple times a day, CPU cycles per request starts to count.
Re:Did the Microsoft Stack Kill MySpace? by ssharp on Friday March 25, 2011 @02:57PM (#2369802)
Are there any websites that face similar load problems to Facebook's that are addressing it with an unmodified stack?
Re:Did the Microsoft Stack Kill MySpace? by rorrr on Saturday March 26, 2011 @02:00AM (#2371470)
I'm pretty sure Facebook's bottleneck is the database, not the framework.