News for hackers. Stuff that matters.
Re:Amazon Web Services are down by kylec on Thursday April 21, 2011 @05:34AM (#2469912)
I guess this is one Reddit outage that can't be blamed on poor scaling
Re:Amazon Web Services are down by jedberg on Thursday April 21, 2011 @06:02AM (#2469978)
Thankfully, no. :)

But yeah, right now we're shutting everything down to try and avoid possible data corruption. Once they restore service, hopefully we'll be able to come back quickly.

Re:Amazon Web Services are down by pvh on Thursday April 21, 2011 @08:00AM (#2470285)
Hey Jedberg, if you guys aren't already rolling your own, check out fdr's WAL-E tool. It bounces postgres write-ahead logs off S3 and goes great with the new PG9 replication.

https://github.com/heroku/WAL-E

Re:Amazon Web Services are down by ghotli on Thursday April 21, 2011 @03:19PM (#2471956)
Thanks for this. I had designed and partially implemented this exact same thing. Do you know of this running in production anywhere?
Re:Amazon Web Services are down by stef25 on Thursday April 21, 2011 @08:01AM (#2470292)
Amazon is really not being kind to you guys; I sort of hope you'll find an alternative solution fast!
Re:Amazon Web Services are down by acangiano on Thursday April 21, 2011 @09:25AM (#2470505)
If I was Rackspace, I'd be at Reddit/Wired's headquarters already.
Re:Amazon Web Services are down by pbhjpbhj on Thursday April 21, 2011 @10:58AM (#2470831)
Didn't Jedburg say that they could reduce the failure by spending with Amazon.

I wonder if Rackspace really want this particular traffic burden. It seems that if Reddit choose not to pay for the load they need then you get lot's of bad press for it ... perhaps I'm seeing it wrong.

Rubbish analogy: Kinda like if I was doing a haulage business and you called out for a wheelbarrow to carry some elephants, then when the barrows broke we got bad press despite. If you'd paid for a heavy animal transport package ... OK it's all going wrong, you get the idea.

Re:Amazon Web Services are down by jedberg on Thursday April 21, 2011 @11:14AM (#2470918)
No, I said that we have spent all we can, and at this point we need development.

However, in this case, the outage is not because of any issues with our setup, but with Amazon.

Re:Amazon Web Services are down by pbhjpbhj on Thursday April 21, 2011 @06:05PM (#2472568)
>"we have spent all we can"

So is it a financial constraint with Amazon? Would you be suffering the same sorts of outages regardless of the technology on the backend or does AWS basically suck?

Re:Amazon Web Services are down by rm445 on Friday April 22, 2011 @02:11AM (#2473408)
You have the wrong end of the stick, because you're missing the history of the story. Reddit have a weird budget when it comes to staffing costs versus operating costs due to their parent company's policies as a media comapny - so they have a decent budget but are massively understaffed.

Statements like the one you're quoting are in that context. Let's say you have an unlimited operating budget - you can come up with all kinds of wonderful plans for massive redundancy and zero downtime. But you can't make that happen if you're not allowed to hire any engineers or sysadmins! As far as I'm aware reddit are paying Amazon mucho dinero but still having irredeemable problems with the storage product, EBS. They are stuck on an unreliable service without the manpower to move off.

That's the story, as far as I can piece together from comments here and on reddit.

Re:Amazon Web Services are down by pbhjpbhj on Friday April 22, 2011 @09:53AM (#2474037)
Ah, you see from what I read on reddit I understood that the staff shortage was simply part of Conde Nast's unwillingness to spend money on reddit and that constant downtime issues were another facet of that same problem.

It's not making money and those looking after reddit don't want to ruin it with a huge money grab - instead taking a soft approach, first just begging for money, then adding in a subscription model (freemium anyone?) and more subtle advertising by way of sponsored reddits (/r/yourCompany'sProduct type stuff).

I understand they've been hit with more staff problems just recently despite having a new [systems?] engineer start with them.

So in your view EBS is the problem regardless of finance? That was the nut I was attempting to crack. TBH I didn't expect someone at reddit to stick their neck out and say "yeah Amazon sucks" but they might have confirmed that the converse was true and they were simply lacking the necessary finance to support the massive userbase they have.

Re:Amazon Web Services are down by ulope on Thursday April 21, 2011 @05:50PM (#2472537)
Rackspace (and really all the "popular" US hosters) seem ridiculously expensive compared to hosting prices we have in Germany (see e.g. http://www.hetzner.de/en/hosting/produktmatrix/rootserver-pr... this is one of the biggest root server hosters in Germany).

Is this really so or are Racksoace and co. Just "boutique" offerings?

Re:Amazon Web Services are down by blhack on Thursday April 21, 2011 @12:45PM (#2471301)
Will you guys ever do something like this:

http://cache-scale.appspot.com/c/www.reddit.com/

but officially supported (and paid for) by you?

Re:Amazon Web Services are down by hysterix on Thursday April 21, 2011 @12:02PM (#2471117)
Sup jedberg, I obviously don't have nearly the level of knowledge with the intricacies of reddit, but coming from a strictly "business" standpoint, the amount of downtime reddit receives due to amazon issues is astounding. Perhaps it's time to look for alternatives?

Anyway, thanks for your time.

Re:Amazon Web Services are down by thirtysixred on Thursday April 21, 2011 @07:03AM (#2470143)
SHUT. DOWN. EVERYTHING.

Good plan though. :p

Re:Amazon Web Services are down by jedberg on Thursday April 21, 2011 @07:11AM (#2470165)
My original comment was "We're going Madagascar on the servers." Then I remembered I was on HN, not reddit. :)
Re:Amazon Web Services are down by JonnieCache on Thursday April 21, 2011 @10:42AM (#2470767)
>Then I remembered I was on HN, not reddit.

Right now we may as well be on reddit.

[deleted]
Re:Amazon Web Services are down by jedberg on Thursday April 21, 2011 @11:15AM (#2470926)
Don't do that. HN is not the place for memes.

reddit isn't either, but we lost that battle a while ago.

Re:Amazon Web Services are down by hysterix on Thursday April 21, 2011 @12:04PM (#2471127)
It's refreshing for me to see you say this. God speed soldier.
Re:Amazon Web Services are down by davidreiss666 on Thursday April 21, 2011 @10:22AM (#2470698)
You don't need to flee the country yet.
Re:Amazon Web Services are down by ILIKECAKE on Thursday April 21, 2011 @08:56AM (#2470421)
Hey man.. some of us would have got it :)
Re:Amazon Web Services are down by rmoriz on Thursday April 21, 2011 @07:10AM (#2470164)
President Madagascar is doin' cloud biz, too?
Re:Amazon Web Services are down by retube on Thursday April 21, 2011 @07:06AM (#2470151)
Reminds me of that scene in Jurassic Park
Re:Amazon Web Services are down by retube on Thursday April 21, 2011 @10:02AM (#2470632)
Good lord. What's with all the DVs??
Re:Amazon Web Services are down by retube on Thursday April 21, 2011 @11:09AM (#2470889)
Ha. HN really on it's high horse today.
Re:Amazon Web Services are down by eogas on Thursday April 21, 2011 @11:47AM (#2471046)
I know right? I made a hilarious joke a little while ago and jedberg yelled at me and everyone downvoted me. And I'll be very surprised if this comment doesn't get downvoted to hell too.

EDIT: I also simply greeted jedberg, and a bunch of people thought that was a good reason to downvote. Do people think there's an imminent influx of redditors, and that they have to dissuade them from becoming HNers? I don't think that's the case.

EDIT: Fuckin' called it.

[deleted]
Re:Amazon Web Services are down by jedberg on Thursday April 21, 2011 @11:12AM (#2470913)
I'm here all the time. :)
Re:Amazon Web Services are down by StavrosK on Thursday April 21, 2011 @05:53AM (#2469949)
Apparently most of their problems are caused by bad EBS writes/performance, or at least so they said a few weeks ago after some particularly bad downtime.

It looks like EBS will randomly decide to switch to a few bps of performance from time to time. I would use Amazon for my startup, but these issues really make it hard to justify.

Re:Amazon Web Services are down by valisystem on Thursday April 21, 2011 @06:03AM (#2469985)
EBS seems to be the main problem here, I'll cite a former reddit employe (first comment on the blog that talked about EBS problems).

I don't work for reddit anymore (as of about a week ago, although I didn't get as much fanfare as raldi did), but I can tell you that they're giving Amazon too much credit here. Amazon's EBSs are a barrel of laughs in terms of performance and reliability and are a constant (and the single largest) source of failure across reddit. reddit's been in talks with Amazon all the way up to CIOs about ways to fix them for nearly a year and they've constantly been making promises that they haven't been keeping, passing us to new people (that "will finally be able to fix it"), and variously otherwise been desperately trying to keep reddit while not actually earning it.

Source: http://www.reddit.com/r/blog/comments/g66f0/why_reddit_was_d...

cache: - scroll down for comment - http://webcache.googleusercontent.com/search?q=cache:cfbs-sp...

Re:Amazon Web Services are down by crb on Thursday April 21, 2011 @06:57AM (#2470126)
EC2 instances only have one network interface. The public IP address you have pointing to your instance is a DNAT done somewhere further up the chain.

If you get a large network load to your instance - say, a DDoS attack - you can find you no longer have enough network capacity to talk to your EBS disks.

This is what happened to Bitbucket in 2009: http://blog.bitbucket.org/2009/10/04/on-our-extended-downtim...

Re:Amazon Web Services are down by StavrosK on Thursday April 21, 2011 @12:41PM (#2471278)
This doesn't appear to be the issue here, though. valisystem's link mentions that it wasn't an interface issue, EBS is just shit, apparently.
Re:Amazon Web Services are down by muppetman on Thursday April 21, 2011 @06:00AM (#2469964)
Slightly offtopic, but wasn't that post by an ex-employee as a comment? Not that the technical aspect of it wasn't fantastic, because it was, but I don't think Reddit said anything publically did they?
Re:Amazon Web Services are down by StavrosK on Thursday April 21, 2011 @06:14AM (#2470026)
It was, you are right, I misremembered. valisystem's comments above contains the reference.
Re:Amazon Web Services are down by muppetman on Thursday April 21, 2011 @06:34AM (#2470078)
Yes valisystem linked to it. All good, I wasn't sure if I misremembered.
Re:Amazon Web Services are down by thezilch on Thursday April 21, 2011 @05:39AM (#2469926)
Looks like troubles in only one availability zone.
Re:Amazon Web Services are down by mechanical_fish on Thursday April 21, 2011 @05:45AM (#2469934)
That seems to be incorrect. We have problem children in us-east-1b, -1c, and -1d.
Re:Amazon Web Services are down by justinsb on Thursday April 21, 2011 @05:55AM (#2469953)
AWS randomize the zones per account, so "your" -1b is not necessarily the same as "my" -1b. I'm only seeing problems in my -1c. Are you seeing 3 zones failing all under the same account?

If multiple AZs are down, AWS are going to have some serious explaining to do...

Re:Amazon Web Services are down by dangrossman on Thursday April 21, 2011 @06:24AM (#2470058)
Amazon RDS's most expensive feature is automatic, instant Multi-AZ failover to protect against this kind of situation. It's not working quite like that, which the AWS status page acknowledges. This is a major failure.
Re:Amazon Web Services are down by nlo on Thursday April 21, 2011 @06:04AM (#2469988)
"AWS randomize the zones per account"

Interesting. This is news to me.

I found some more info here (Google cache since alestic.com is presently unreachable): http://webcache.googleusercontent.com/search?q=cache:0jxzyFj...

Re:Amazon Web Services are down by jedberg on Thursday April 21, 2011 @06:01AM (#2469974)
We (reddit) are seeing failures in all zones.
Re:Amazon Web Services are down by redthrowaway on Thursday April 21, 2011 @06:05AM (#2469992)
If memory serves, Amazon's reporting of what zones are experiencing problems has been...optimistic...in the past.
Re:Amazon Web Services are down by justinsb on Thursday April 21, 2011 @06:01AM (#2469975)
AWS have now confirmed that this affects multiple availability zones. From the status page: "..impacting EBS volumes in multiple availability zones in the US-EAST-1 region"
Re:Amazon Web Services are down by justincormack on Thursday April 21, 2011 @06:16AM (#2470028)
Thats not good. The whole point of multiple AVs is for them to not fail at the same time. Suggests some dependencies that should not be there perhaps, or at least some correlation of something, like software upgrades. Looking for a good explanation of this; one AV going down is not a problem and should not impact anyone who is load balancing.
Re:Amazon Web Services are down by Joakal on Thursday April 21, 2011 @06:04AM (#2469986)
How does Reddit display the 'offline' page if it's down?
Re:Amazon Web Services are down by jedberg on Thursday April 21, 2011 @06:05AM (#2469990)
The server is still up, so we can serve it right out of the load balancer.
Re:Amazon Web Services are down by wallnutboy on Thursday April 21, 2011 @11:18AM (#2470937)
Are you able to enable the 'read-only-mode' using the same method?
Re:Amazon Web Services are down by clistctrl on Thursday April 21, 2011 @07:47AM (#2470253)
I was to be under the impression a great deal of Reddits issues were linked to Amazon.