Handling Flash Crowds From Your Garage 74
slashdotmsiriv writes "This paper from Microsoft Research describes the issues and tradeoffs a typical garage innovator encounters when building low-cost, scalable Internet services. The paper is a more formal analysis of the problems encountered and solutions employed a few months back when Animoto, with its new Facebook app, had to scale by a factor of 10 in 3 days. In addition, the article offers an overview of the current state of utility computing (S3, EC2, etc.) and of the most common strategies for building scalable Internet services."
Not Flash Mobs? (Score:5, Funny)
Re: (Score:3, Funny)
Re: (Score:2, Funny)
Re:Not Flash Mobs? (Score:5, Funny)
Question: So how DO you handle flash crowds?
MS Answer: We don't. We'll force them to install Silverlight.
Where are the pix? (Score:3, Funny)
Since I can't see any pix in the area near the bottom called "Figure: DNS servers fail over very quickly when an upstream server fails" - does that mean that the flash crowd called "SLASHDOT" has taken down this part of the article called "Handling Flash Crowds..." ?
I mean sheesh! They even mention slashdot!
Re: (Score:2)
Surely nothing can trash their argument so much as an abject (and amusing) failure to put it into practice?
How can we believe in their solutions for letting small-time web services handle usage spikes when their evidently can't?
Re: (Score:1)
Comment removed (Score:4, Funny)
Re: (Score:2, Funny)
Nah, that's easy.
TRUST ME, they scatter pretty easy when wheel into your driveway at 40 mph.
The few that remain can easily be cleaned up with a fire/water hose.
Re: (Score:1)
... a fire/water hose.
Your ideas are intriguing to me and I wish to subscribe to your newsletter.
Re: (Score:2)
When I read "This paper from Microsoft Research..." I thought... oh yeah, they're in Cupertino.
Re:Not Flash Mobs? Easy (Score:1)
Just turn off the local displacement booths when you reach a certain threshold. Make them walk a few blocks extra that's all.
"...The next thing anyone knows, every man, woman and child in the country has decided that he wants to see the red tide at Hermosa Beach..."
"Another flash crowd. It figures," said Jerryberry. "You can get a flash crowd anywhere there are displacement booths."
From Flash Crowd, by Larry Niven.
Re: (Score:2)
Re: (Score:3, Funny)
1) Be myspace or facebook
2) ride on the coattails of self-absorbed attention whores
3) ???
4) Profit!
5) throw doggie bones to javascript noobs so that sites' users could be spammed with even more movie quizzes.(You too can be a myspace developer! Valid e-mail address and fake phone number required)
Re:The method: (Score:5, Interesting)
Re: (Score:3, Informative)
Re:The method: (Score:5, Informative)
if you really have one CPU unit running there non-stop -for year, it is pretty expensive, around 700 dollars I believe.
That's pretty damn cheap. A dedicated rack server is upwards of $300/month most places, and it does not provide the "elastic" part of the Amazon cloud for when your service takes on heavy demand. Rackspace, for example, provides a comparable unit at $383/mo.
You might be talking about a Virtual Private Server--there are a number of services offering similar specs in the $120-200 range...still more expensive, but more comparable to EC2.
Re: (Score:2)
No, it's not. Its closest plan to an EC2 "small" instance is $80/month for one-third the storage and less RAM. If Linode offered a comparable service, it'd be about $110/month.
Re: (Score:3, Interesting)
Softlayer [softlayer.com] has multi-core boxes starting at $150/month; we've got a box with them with a 15k RPM SCSI drive for about $300/mo.
For dinky personal projects, I've got a dedicated Athlon XP 2400+ with half a gig of ram with a little no-name provider [ezzi.net] -- and it only runs me $50/mo.
I've seen all sorts of prices in the $50 - $300 range for varying hardware. If you're willing to gamble on a lesser known host, you can get hardware cheap.
I wouldn't necessarily recommend running an established webapp with thousands of
Re: (Score:2)
None of that is comparable hardware. Softlayer has pretty good prices, but you're still looking at $200/mo with no elasticity for the best approximation. EC2 is still roughly 1/3 the price.
An Athlon at a no-name provider isn't even worth mentioning in comparison to one of these units. Web hosting can be found for cheap. I wouldn't even jokingly put them in the same class, though.
Re: (Score:2)
I have quite a nice VPS with 512mb ram at SliceHost.
$38/month.
Your prices are a tad high.
Re: (Score:2)
Your plan has less than one-third the RAM and about one-eighth the storage.
EC2 minimum units: 1.7GB RAM, 160GB storage. Price at your host for the closest analogue (2GB/80GB): $140 (well within the 120-200 range I stated). Total price to operate the EC2 unit: $72 plus bandwidth.
Moreover, where EC2 really cuts into the competition is scaling at larger units, particularly with regard to hourly billing (allowing much more granularity in service and pricing). EC2's mid-size unit absolutely crushes the spec
Re: (Score:2)
You must not have shopped around a lot! We're paying ~$160/mo for some really nice Core2Duo machines with healthy specs (2GB RAM / 160GB HDD / 2TB quota, I think).
Re: (Score:2)
Well, that was the whole point. One CPU-unit for the whole year is more expensive than needed; but for such cases you need 0.01 'units' non-stop for the whole year, and 100 units for one weekend, it's much cheaper in Amazon's way.
Re: (Score:2)
IIRC the article mentioned thousands of servers at one point.
Astro Turf (Score:1, Troll)
Re:Astro Turf (Score:5, Informative)
Doesn't Microsoft employ "bloggers" to seed pro MS babble to Web sites like Slashdot? Just sayin'...
If you're going to troll, it might be a good idea RTFA beforehand so that you don't make a fool of yourself. Two examples:
- The web service is implemented in Python and currently deployed on two virtual machines at Amazon EC2.
- Like Asirra, we implemented Inkblot in Python.
If they're astroturfing they aren't very good at it.
The article has very little Microsoft-specific details in it. It's basically a short explanation of high-performance content delivery and a few stories about MS Research [microsoft.com] (link because they have some cool stuff) projects and how they fared with high load traffic surging (aka Slashdotting). They specifically mention getting Slashdotted several times, as well as surviving a DDoS.
Overall I thought it was an interesting article. I didn't realize Amazon's S3 service was so inexpensive or available to "budget" sites.
Re: (Score:2)
Hmm, and argument that neither requires nor accepts any proof, and it has CAPS LOCK words!
You win, sir.
As to what you win, well....
Re: (Score:2)
Erm, for the record they also cover applications created by MS Research, using MS technologies - e.g. one called MapCruncher, which runs/ran on IIS. See 5 Application Design and Flash Crowd Experiences [usenix.org]. Another examples include SQL Server, but the article's pretty much technology agnostic
Re: (Score:1)
Doesn't Microsoft employ "bloggers" to seed pro MS babble to Web sites like Slashdot?
If a sizable portion of your direct competition's most enlightened (using that term loosely) users all congregated in one place for you to spread propaganda on them.... Wouldn't you?
Google? (Score:1, Interesting)
This paper from Microsoft Research describes the issues and tradeoffs a typical garage innovator encounters when building low-cost, scalable Internet services.
Anyone else initially think that Microsoft was talking about Google [wikipedia.org] after reading that first sentence?
Mixed tech history metaphor (Score:2, Informative)
They've mixed their metaphors, since it was the founders of Apple who innovated in a garage, and Google who provide a scalable Internet service...
Misleading pretense (Score:4, Interesting)
"Our innovator may get only one shot at widespread publicity. If and when that happens, tens of thousands of people will visit her site. But a flash crowd is notoriously fickle; "
The "researchers" offer a strange view of how the market works. If the idea is good then surely the site will enjoy numerous opportunities for growth and referral every time a happy user recommends it to a friend. A good, innovative idea will not be sunk by one underprovisioned flash crowd.
Re: (Score:3, Insightful)
I think you overestimate the attention span of the type of people who compulsively install Facebook apps.
Re: (Score:2)
I think you overestimate the attention span of the type of people who compulsively install Facebook apps.
Even if you would lose that first crowd, you might get other users at a later point.
Re:Misleading pretense (Score:4, Insightful)
The first crowd is a different class of user from the general public. It's a small subset of the Facebook usership that forwards almost everything they receive to everyone they know. Pandering to that particular crowd is a Facebook developer's foremost goal, because they are the ones who will drive exponential growth, if it's going to happen at all.
I think market research will show that this core group of irritating people are just as capricious with the "block app" button as with the "forward". So assuming your idea is good enough to spread among the primary group, your first chance is generally the only one you get.
Re: (Score:3, Funny)
It's a small subset of the Facebook usership that forwards almost everything they receive to everyone they know. Pandering to that particular crowd is a Facebook developer's foremost goal, because they are the ones who will drive exponential growth, if it's going to happen at all.
So basically Facebook selects for applications that are attractive to the kind of people who forward spam.
Thanks for the warning.
most successful sites (Score:5, Insightful)
can trace their success to that one weekend or month or season where things really took off
additionally, you misunderstand that the flash crowd is not something that comes and goes, but something that comes and stays
but sure, you are correct: a good innovative idea will find a way regardless of inability to scale quickly. some other guy will make work what you can't. you could retard your growth for awhile while you tinker with how to scale. but if some other guy takes your good, innovative idea and runs with it further and faster than you do, you are doomed to obscurity while he reaps the benefits of your good idea
so you shouldn't be giving advice on how the market works, because the fickleness you dismiss really is a big deal and is not to be taken lightly
Re: (Score:2)
I think you've forgotten to mention the real reason Myspace is down half the time - it's ColdFusion, run by Fox.
Re: (Score:2)
"Our innovator may get only one shot at widespread publicity. If and when that happens, tens of thousands of people will visit her site. But a flash crowd is notoriously fickle; "
The "researchers" offer a strange view of how the market works. If the idea is good then surely the site will enjoy numerous opportunities for growth and referral every time a happy user recommends it to a friend. A good, innovative idea will not be sunk by one underprovisioned flash crowd.
I don't see anything in that first quote about the idea being good, only popular for a short period of time.
Brand protection: (Score:2, Interesting)
including one that was (literally) Slashdotted
Anybody here think slashdot should be protecting it's brand here? Isn't this similar to using google as a verb? I think this is the only place one should be allowed to use that term. Microsoft most definitely shouldn't be allowed.
Re: (Score:2)
Anybody here think slashdot should be protecting it's brand here?
Yes.
Isn't this similar to using google as a verb?
The canonical example is "Photoshop". It predates google considerably. HTH.
I think this is the only place one should be allowed to use that term.
I think you're ugly, and your mother dresses you funny.
Microsoft most definitely shouldn't be allowed.
Why not? We are free to refer to buying good software and ruining it, then forcing it on people through your monopoly position as "Microsofting" it.
Intellectual property laws are not handed down from god (unless they're in lost commandments 11-15.)
Re: (Score:2, Informative)
The canonical example is "Photoshop". It predates google considerably. HTH.
You seem to have misspelled Xerox.
Kevin
Re: (Score:2)
You seem to have misspelled Kleenex.
Re: (Score:1)
Make your application... efficient? (Score:2)
Then you don't need as much brute force ?
Great. (Score:5, Funny)
A paper on how to avoid slashdotting, posted on slashdot. /me clicks obsessively on links
Facebook (Score:2)
Of course, I'm completely guessing here, but they probably required you to invite 20 brazillion of your imaginary Facebook friends before you could install it.
Re: (Score:2)
Of course, I'm completely guessing here, but they probably required you to invite 20 brazillion of your imaginary Facebook friends before you could install it.
How bad does an application have to be to be brought down by 20 Brazilians?
Re: (Score:2)
20 Brazilians is not as bad as six Spaniards, a Frenchman, and two guys from Nigeria.
Re: (Score:2)
The hard part is realizing that you need to scale (Score:4, Insightful)
The problem with most sites is that they never expected the sudden burst in popularity, and having never bothered to test if their service was scalable, had to rush and fix it before people start noticing reliability problems. If you at least attempted to write a scalable app to start with, even if you don't have the details nailed down, you've taken a step in the right direction.
Animoto looks like an interesting case because it's a really resource-hungry app that has to put together a video with effects and music. Most sites have trouble just serving up dynamically-updated text. All those EC2 instances and the high-bandwidth needed sounds like a lot of money. Scaling up a business plan is at least as difficult as scaling software.
And for those of us who speak English? (Score:3, Funny)
Could someone provide a translation of the summary for those of us who speak English rather than promotional BS? .. on second thoughts, never mind.
Good old MS at work again... (Score:1, Insightful)
Re: (Score:1)
http://www.twokidsinagarage.com/quotes.html [twokidsinagarage.com]
But ignore Nerv because that is from the movie.
Well it's been going on forever really (Score:2)
WTF? (Score:2)
I handle flash crowds from my garage with pepper spray, and if that does not work, having a shotgun for escalation.*sarcasm*
In this contest to be clever with the language, all I see is a bunch of idiots outsmarting themselves.
or download the pdf (Score:4, Informative)
http://www.usenix.org/events/usenix08/tech/full_papers/elson/elson.pdf [usenix.org]
someone post this on reddit (Score:1)