152 points · by soofaloofa · 14y ago · 128 comments
We left AWS about 18 months ago after one of the outages and switched to GAE. I've counted 3-4 big downtimes for AWS compared to this one on GAE. That's still a good decision (for now)....
The correct less to draw is that any one point of infrastructure is a risk, so you need to scale wide. This is possible to do with AWS regions, or other providers - even internal bare iron if you're so inclined, but impossible to do with GAE because you're committed to a single-vendor API as well as their infrastructure.
The real question is: Can you and your ops team build a "scale wide" system better than Google?[2] How much effort are you willing to put into it, when those development resources could be put into making features instead?
[1] For apps which use the high-replication datastore. Old (deprecated) master/slave apps are served out of a single datacenter.
[2] This is a reasonably serious question to ask. In GAE, you're one app among many, so a you-specific scaling solution might be easier and more robust than the generalized one Google builds. But not necessarily.
Not quite. You can roll out your own App Engine platform with AppScale:
Sadly, TyphoonAE (http://code.google.com/p/typhoonae/) seems abandoned.
Of course master/slave even has scheduled downtime.
Wonder what's happening.
http://internettrafficreport.com/namerica.htm
It seems like large portions of the internet are down.
Their sample size is extremely small, and most of those are permanently down.
Have a look through their list of north american routers and find one of them where packet loss has gotten worse as their main overall graph for packet loss would suggest - I've just been through them all and couldn't find one.
But their relative metrics can still be useful.
For example, it's very inaccurate to say that 51% of the internet is down.
But it's precise to say that packet loss among the working nodes has increased about 30% in the last 24 hours, and sharply.
That said, it's still interesting how the overall traffic trends so sharply downwards. I wonder if they have more data than they are showing in the graphs.
I noticed a couple of days ago that some of our dns entries were mysteriously removed from level 3 servers which out of old habit are used for resolution (some of the ip's go back to uu-net/worldcom/mci)
Now the interesting bit is they were for private subnet ip's. They're working fine everywhere else.
Today the last of their dns servers removed the entries so I had users go to google (8.8.8.8) and all's well with our apps.
Level 3's entries for our external stuff is there, just the private subnet stuff is removed.
If others do this too and resolve with level 3....
edit: just found this: http://tracker.outages.org/reports/view/59
And according to them all routes are up and running just fine,not only that bit ping times aren't elevated.
51% of a very small self-selecting set of machines are down, mostly small businesses or home users which have obviously been shutdown or renamed.
If internettrafficreport automatically removed all devices which returned no results for 7 days, they'd be a slightly more useful resource.
What appears to be happening here is that you're still vulnerable because the C&C infrastructure ultimately has a single command source, and so can be vulnerable if some code is pushed that affects the whole system. Your homegrown cloud will suffer from the same vulnerability, it may just be more or less easy to manage depending on how specialized your needs are compared to the more general requirements of GAE.
Edit: actually, maybe I missed what you're advocating with "local direct connections". This might make more sense from a user's perspective: if everyone ran their own little cloud, a failure may bring down reddit, but not reddit, heroku, pinterest, etc simultaneously. That's actually an interesting point, but I'm not sure if it really matters if they sync up their downtimes (since they would still have downtime, and maybe more or less of it depending on how much they could afford to invest into managing their distributed solution). I'm also not sure if that really solves the problem, since there are other concentrations in the network, just less visible ones (there are a fairly small number of major datacenters around the world, for instance, and managing your own colocated server doesn't matter if the whole building goes dark).
I do agree that at the very least we need to maintain an ecosystem of "cloud" providers, however.
Obviously this doesn't happen because it's hard, but also companies have a vested interest in piping all sorts of data through them for analytics purposes. This is not in the interest of the users at all.
SPOF,security and control are the major issues with Iaas and pass offerings.
SPOF, security and control are the major problems for the Iaas and pass.
-- Max Ross (Google) maxr@google.com via googlegroups.com
https://groups.google.com/forum/?fromgroups=#!topic/google-a...
At this point, we have stabilized service to App Engine applications. App Engine is now successfully serving at our normal daily traffic level, and we are closely monitoring the situation and working to prevent recurrence of this incident.
This morning around 7:30AM US/Pacific time, a large percentage of App Engine’s load balancing infrastructure began failing. As the system recovered, individual jobs became overloaded with backed-up traffic, resulting in cascading failures. Affected applications experienced increased latencies and error rates. Once we confirmed this cycle, we temporarily shut down all traffic and then slowly ramped it back up to avoid overloading the load balancing infrastructure as it recovered. This restored normal serving behavior for all applications.
We’ll be posting a more detailed analysis of this incident once we have fully investigated and analyzed the root cause.
Regards,
Christina Ilvento on behalf of the Google App Engine Team
https://groups.google.com/forum/#!topic/google-appengine-dow...
http://code.google.com/codejam/
http://www.chromeexperiments.com/
Gotta give 'em props for dogfooding.
That's what i _expect_ them to do - otherwise i can't see anyone trusting/using them if even they themselves avoid their own product(s)..
We are posting regular updates to our downtime-notify list here: https://groups.google.com/forum/?fromgroups=#!topic/google-a...
Thanks, Christina, Google App Engine Product Manager
Pingdom reports my GAE-hosted site has been down since 2012-10-26 10:37:38 EST, a bit over an hour now.
UPDATE: My site is back. Delayed report from Pingdom says site came back online after 50 minutes. Performance is sketchy still. We're probably not in the clear yet.
At least we can now get to the status dash:
Nothing on their Twitter account either: https://twitter.com/app_engine
A poor handling of a systems failure in my opinion.
https://groups.google.com/forum/?hl=en&fromgroups#!forum...
They'll email you when issues occur and info becomes available.
It took about 30 minutes after the crash for me to receive an email which seems very reasonable.
"At approximately 7:30am Pacific time this morning, Google began experiencing slow performance and dropped connections from one of the components of App Engine. The symptoms that service users would experience include slow response and an inability to connect to services. We currently show that a majority of App Engine users and services are affected. Google engineering teams are investigating a number of options for restoring service as quickly as possible, and we will provide another update as information changes, or within 60 minutes."
https://groups.google.com/forum/?fromgroups=#!topic/google-a...
I think people not trusting the cloud is similar to how people feel safer driving their cars then taking a plane. The stats say the plane's safer, but people prefer being in control. People like the idea of being in control of their servers, even if that means there's hundreds of extra things that can go wrong compared to a cloud provider.
We also get a lot more publicity when a cloud provider has an outage as LOTS of sites go down at once. Hardly anyone notices when service X who self-host go down for a few hours...
Power failures.
Cross site links being cut due to engineering works.
Over heating due to air conditioning failures.
Flooding
And I've experienced all the above from a very large, very well known, very expensive data center company based in London.The only real manual maintenance that we've got is a rolling reimaging of servers based on whatever's in version control, which usually takes a few hours twice a year, but we'd probably do that if we were in the cloud anyway.
When you can script away 90% of your system administration tasks, hosting in the cloud doesn't really make a ton of sense.
I'd take an hour long Appengine outage once a year over that anytime!
How big is your ops team? I'm guessing it's more than 0.
You have to trust your cloud provider. They control everything you do. If their security isn't bulletproof, you're screwed. If their SAN's firmware isn't upgraded properly to deal with some performance issue, you're screwed. If their developers fuck up the API and you can't modify your instances, you're screwed. You have to put complete faith in a secret infrastructure run for hundreds of thousands of clients so there's no customer relationship to speak of.
That's just the "trust" issue. Then there's the issue of actual redundancy. It's completely possible to have a network-wide outage for a cloud provider. There will be no redundancy, because their entire system is built to be in unison; one change affects everything.
Running it yourself means you know how secure it is, how robust the procedures are, and you can build in real redundancy and real disaster recovery. Do people build themselves bulletproof services like this? Usually not. But if you cared to, you could.
We run about 11 client clusters across ~250 servers across 3 data centers in the US and Europe. Each of our client's uptime is very very close to 100%, and we've NEVER lost everything, even for 1 second.
I don't feel like i'm lacking control, i feel like somebody else is taking care of that really annoying shit that happens all the time, no matter how well you design your system.
Also a good hosting company will handle identifying/fixing/replacing bad hardware for you.
"The cloud is great because I can blame someone else" is obviously a tenuous argument.
Does tumblr.com use app engine? They're down...
Tumblr is experiencing network problems following an issue with one of our uplink providers. We will return to full service shortly.
So going forward, what's the best way to protect against cloud downtime? Have a hot/standby failover with a different provider? Prepare customers' expectations for the possibility of server outages? Do a ton of research, pay $$$ for lots of nines uptime, and lambast the host when they don't deliver?
The greatest thing about cloud-hosting is that you can just sit by and let them fix it. It usually takes about half an hour, or a couple of hours if the outage is severe, but usually less than the time it takes for an update of DNS records (unless you've got some proxy in front of your IPs, which would be another point of failure).
And then, even with these severe outages, the overall monthly uptime is still better than %99.9 and it's really hard to beat that, so just relax and let them fix it.
You need to decide how much uptime you're willing to pay for, how much your service can degrade for how long, and methodically address each level of the hierarchy between you and your customers – and it might be the case that you decide that the ongoing costs of your engineering support for e.g. wide geographic separation just aren't sustainable at the level your customers are willing to pay, particularly if you have something like a CDN helping keep your site partially responsive during less than catastrophic failures.
1) It's very complex and expensive 2) You're looking at DNS to hot failover, in most cases.
If GAE can recover in less than 30 minutes and sticks to, say, one outage a year, you just can't justify the kind of cost you're looking at with 2 (seriously, it's a lot of cash).
If every website on the internet is hosted in the cloud, and the cloud goes down, is there an internet?
My site is back up :D SLOW but up.