How MySpace Generates Enough Load To Test Itself 65
An anonymous reader points out this article about "...how a big site like MySpace uses thousands of cloud computing cores to do performance testing on its live site. There are some really great numbers in there from the performance tests, like generating 16GB/second of bandwidth and 77,000 hits/second during testing (not including the live traffic on the site at the time)."
Wait, what? (Score:1, Insightful)
The real news here is that people still use myspace. -_-
Re:Wait, what? (Score:5, Funny)
That's why they have to simulate a bunch of fake people using myspace to do load testing.
To be fair, they're more intelligent than the real people using myspace.
Re: (Score:2)
Agreed.
Is there ANYONE on here that still uses Myspace?
Re: (Score:1)
Re: (Score:1)
Re:Wait, what? (Score:4, Informative)
Some artists still use it to announce their next concerts
Re: (Score:1)
I am in no way affiliated with eventful.com, just to throw that out there so no one gets confused.
Re: (Score:2, Interesting)
Re: (Score:2, Informative)
Re: (Score:2)
(77000 hits/second) / 1 million users = 4.6 hits/minute per user (That's a little bit higher than the figures from my experience, but still well within reason)...
Re:Wait, what? (Score:4, Informative)
They were adding 77k hits/sec to their live traffic, not testing against 77k hits/sec.
I.e., if 4 mil live users were hitting MySpace during the test, MySpace's servers were actually feeling the impact of 5 mil.
Re: (Score:2)
Two things become apparent here. First is the assumption that x 1 (or in otherwords x + 77k > peakload). Why this assumption? Now, I assumed that they were doing capacity tests (they could be doing functionality tests, but I got the impression from the summary and TFA that it was capacity testing
Re: (Score:2)
This is testing just one part of the site (streaming video in NZ no less!), so you can't make wild generalizations based on those numbers if you expect any accuracy at all. You're not even going to get a 'rough' estimation.
For example, viewmorepics.myspace.com might do X req/s duting peak and home.myspace.com, www.myspace.com or music.myspace.com might do something wildly different because they have completely different traffic patterns.
Re: (Score:2)
From my viewpoint, which is likely more amateur armchair as it were, it just sounded like they were testing the extra load, not so much peak usage. And even then they were having to shuffle load around.
One could question the logic of trying to stress test your live servers when you're the size of MySpace as well.
Of course it could have been a third thing they were trying to accomplish as TFA was pretty weak.
Re: (Score:2)
They wanted to supplement the live traffic with test traffic to get an idea of the overall performance impact of the new launch on the entire infrastructure.
So the 77k hits per second wasn't their expected peak load, but their expected delta in peak load after opening online streaming in... (looks up) New Zealand. 77k hits per second for streaming in New Zealand doesn't sound that far off.
Re: (Score:2)
According to TFA - the 'test' users were in addition to the normal users, simulating the additional load of the new services. So actual load on the production servers was something well north of 77khits/sec.
Re:Wait, what? (Score:5, Funny)
I'm pretty sure this test was just for nostalgic purposes:
MySpace Admin #1: Remember when we used to have millions of hits per hour?
MySpace Admin #2: Yeah... those were the days. I was, like, a rockstar to my friends.
MySpace Admin #1: Yeah, my friends thought I had the coolest job in the world, working for MySpace.
MySpace Admin #1 and #2: *sigh*
MySpace Admin #2:...hey - I know! We could pay some company to run a load test, it'll be just like the good ol' days!
MySpace Admin #1: Yeah!!
Re: (Score:1)
Re: (Score:2)
The funny part is that I read the summary and the article, then came and read your comment and it was the first time I realized they were talking about MySpace and not Facebook.
Funny that they are one and the same to me now.
Re: (Score:2)
Letting laymen edit HTML always worked out for the best.
Although the Myspace Worm [namb.la] has to be one of the most hilarious things I've ever read.
Re: (Score:1)
MySpace still exists?
They use to mask the reality (Score:1, Funny)
That the site only has one actual visitor anymore.
Re: (Score:1, Funny)
Re:What's a MySpace? (Score:4, Funny)
It's the area you allow between yourself and fellow hominids, and varies from location to location. In Japan, "My Space" is sparse, in rural America it's pretty large (but so are the hominids). It also varies from hominid to hominid; you need a lot of My Space for the fat stinky guy, as little as possible for the hot chick. More info here ;) [wikipedia.org]
Re: (Score:2)
Thank you. Much clearer now.
Re:What's a MySpace? (Score:4, Funny)
Anyone know?
It's what Facebook was called in 2006.
Misleading title (Score:2)
16GB/second is not the same as 16 gigabits per sec (Score:2, Insightful)
Re: (Score:1)
unlike your mom.... (Score:2, Funny)
who generates enough loa....
oh geeze. nevermind.
They did it (Score:5, Informative)
by outsourcing to This Company. In additon, This Company used Stuff to do Things. After initial tests, This Company did Other Things. This Company is a leader in stuff, especially utilizing their software This Stuff. Try This Stuff Today!
Re: (Score:2)
Captain Grebnedlog [imdb.com]? Is that you?
16 Gigabits/Second (Score:3, Informative)
Re: (Score:1, Informative)
I'm sorry.. WHAT!?
16Gbit/second isn't much. It's hardly more than we handled at my previous company. A relatively small national hosting company in northern europe.
Not for testing, mind you, but 16Gbit/sec is not a lot of bandwidth. You can easily handle it with say, ~50 boxes. Considering the million of requests myspace, not even amazon, gets per second, plus all the computation they have to do in the background, it hardly seems like a .. big deal.
We're talking about 800 machines, with 3.2Kcores or so.
Re: (Score:1)
Gotta be prepared (Score:5, Funny)
MySpace is wise to do this kind of testing and load balancing. You never know when a twelfth person might attempt to connect to the site, throwing their carefully laid plans into total chaos.
Re: (Score:2)
MySpace is wise to do this kind of testing and load balancing. You never know when a person might attempt to connect to the site, throwing their carefully laid plans into total chaos.
FTFY
A better solution - slashdot duel (Score:2)
Pretty stupid. They could "crowdsource" by simply challenging slashdot to a duel. We'll turn your servers into smoking rubble facespace BRING IT!
Re: (Score:2)
It's 2010, not 1998.
Re: (Score:2)
We're almost off the axis, boys, keep it up!
Re: (Score:2)
Point taken. But it only takes one person to control a botnet.
Add revenue (Score:5, Interesting)
I wonder how much add revenue they generated from all those impressions?
does testing on production increase your page views?
Re: (Score:2)
does testing on production increase your page views?
"Oops, our 2009 Quarter Four revenues look a bit down ... time for some good ole fashioned load testing (ifyaknowwhatImean)."
Sure would explain how it's still hanging around.
while the article is biased, most of it is true (Score:4, Insightful)
MySpace does performance testing? (Score:2)
MySpace Planning Meeting (Score:5, Funny)
MySpace Exec: So do it.
MySpace Engineer: Well, we can't.
MySpace Exec: Am I missing something here? You just got done showing how stupid our users are. So just simulate them.
MySpace Engineer: Look, sir, with all due respect, we can put lol-bots up to post crap it's just that we have no way of mimicking that amount of garbage.
MySpace Exec: Well how much is it?
MySpace Engineer: Let me remind you, our previous slides showed you the magic of the MySpace machine--millions of users putting garbage in with the result being unadulterated horse shit flying out of the site. But to load test we need a lot of garbage. Several billion metric tonnes of garbage. Otherwise we just wouldn't produce the same amount of browser destroying horse shit we produce at peak loads.
MySpace Exec: Have you spoken with the City of New York?
MySpace Engineer: Sir, twenty five New York Cities wouldn't produce the amount of garbage we need.
MySpace Exec: Holy shit.
MySpace Engineer: Yes, this indeed requires a shitstack of biblical proportions.
MySpace Exec: What're we gonna do?
MySpace Engineer: Well, to solve this problem we turned to the motherload of bullshit. The one thing that everyone keeps endlessly spewing garbage about.
MySpace Exec: The Cloud!
MySpace Engineer: Bingo.
If you want a REAL load test (Score:2)
Just post a story here on slashdot that there is free porn.
Digital Contraception (Score:2)