News for hackers. Stuff that matters.
Re:Did the Microsoft Stack Kill MySpace? by benologist on Friday March 25, 2011 @01:41PM (#2369475)
No, Facebook did. And they did it with crusty old PHP which pretty much proves the platform isn't going to make or break your business.

Finding good talent that's experienced with huge scale sites is not going to be easy regardless of language. It's not like MySpace could have been RoR and suddenly everything would have been simple, at their prime they were doing a ridiculous amount of traffic that only a handful of sites ever had experienced. There were probably 0 people experienced with PHP at Facebook's level, they all had to learn as they go and what they learned was they picked the wrong language so they created HipHop, a hack to overcome PHP and probably hundreds of others that help them scale better.

Re:Did the Microsoft Stack Kill MySpace? by enjo on Friday March 25, 2011 @02:21PM (#2369642)
I agree with the first part, but have to quibble with the statement "there were probably 0 people experienced with PHP at Facebook's level."

I suppose that's true in absolute terms (nobody is at Facebooks level). However, there are definitely an army of really high traffic sites out there written in PHP, many of which predate Facebook. Problems of scale aren't exclusive to Facebook by any stretch.

It seems to me that Facebooks choice of PHP, in that context, was a big advantage. They've undoubtedly been able to draw on the experience that others have had at scale on very similar stacks. That might not have been as true for MySpace.

That said, MySpace had a whole host of internal issues. I briefly worked for a sister site at Fox Interactive Media and had at least some insight into what was going on over there. I'm sure someone will write a book about it one day:)

Re:Did the Microsoft Stack Kill MySpace? by erikpukinskis on Friday March 25, 2011 @07:09PM (#2370729)
Wasn't Yahoo written largely in PHP?
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.
Re:Did the Microsoft Stack Kill MySpace? by dexen on Friday March 25, 2011 @02:33PM (#2369694)
It's not the platform itself, but the developers that know the platform inside-out. For some platforms, the best money can get you is still not good enough for an ambitious project spanning world, and having to undergo massive changes almost in realtime. Why? Because certain platforms don't attract top-notch developers.

It's not that easy to get top talent if you stick to MSFT platforms.

From linked article:

> Silicon Valley has lots of talent like him. Think about the technology he knows. Hint, it isn’t Microsoft.

http://scobleizer.com/2011/03/24/myspaces-death-spiral-due-t...

Re:Did the Microsoft Stack Kill MySpace? by simonw on Friday March 25, 2011 @11:52PM (#2371300)
"It's not the platform itself, but the developers that know the platform inside-out."

That's the number one benefit of an open source stack: it's possible to know the stack inside out. If it's closed source, there's an eventual point at which you're dealing with a black box.

Re:Did the Microsoft Stack Kill MySpace? by DaRKoN_ on Saturday March 26, 2011 @01:54AM (#2371463)
There is nothing black box about the MS stack. The .net bcl might be closed source but you can still step into and read the source. It's available under the MS-RSL license. Which allows you:

"use of the software within your company as a reference, in read only form, for the sole purposes of debugging your products, maintaining your products, or enhancing the interoperability of your products with the software"

See: http://referencesource.microsoft.com/

Re:Did the Microsoft Stack Kill MySpace? by dasil003 on Friday March 25, 2011 @03:56PM (#2370060)
> And they did it with crusty old PHP

PHP is actually a good templating language and a passable rapid-prototyping language. The fact is that it's more important to stay agile when you're growing exponentially then to pick some optimal technology.

PHP's simplicity makes it one of the best choices to be able to incrementally build a robust and scalable back-end underneath it as you go. ColdFusion and .NET I imagine to be some of the worst (though I have no experience with either, so maybe I don't know what the fuck I'm talking about).

Re:Did the Microsoft Stack Kill MySpace? by rmason on Friday March 25, 2011 @05:11PM (#2370382)
Sorry but I cannot resist. Don't comment on things you know nothing about.

Ever heard of JBOSS? Did you know they have an open source CFML project called Railo? Or that Chris Schalk, developer advocate, from Google called what another open source cfml distro called Open Blue Dragon was doing on the GAE as "awesome". He said it was the easiest way to get running on the GAE.

The best developers can do amazing things in a number of different languages.