Google’s Gmail service went down for about 20 minutes on Monday. That was annoying, but not exactly unprecedented. These sorts of outages happen all the time. What was strange is that the Gmail outage coincided with widespread reports that Google’s Chrome browser was also crashing.
Late Monday, Google engineer Tim Steele confirmed what developers had been suspecting. He said that the crashes were affecting Chrome users who were using another Google web service known as Sync, and that Sync and other Google services — presumably Gmail too — were clobbered Monday when Google misconfigured its load-balancing servers.
Sync is essentially Google’s answer to Apple’s iCloud. It’s a software service built by Google to unshackle web surfers from their own desktops. It works in the background, shuttling information between the Chrome browser and Google’s servers, so that people users who log into Google can get at their bookmarks, extensions, and apps — no matter what computer they’re using to surf the web.
But on Monday, Steele wrote in a developer discussion forum, a problem with Google’s Sync servers kicked off an error on the browser, which made Chrome abruptly shut down on the desktop.
“It’s due to a backend service that sync servers depend on becoming overwhelmed, and sync servers responding to that by telling all clients to throttle all data types,” Steele said. That “throttling” messed up things in the browser, causing it to crash.
The problems were short-lived, but widespread. Over at Hacker News — a news discussion site that tends to attract Silicon Valley’s most knowledgeable software developers — a long thread quickly filled up with dozens of crash reports. “My Chrome has been crashing every ten minutes for the last half hour,” wrote one poster.
This may be a first. Bad webpage coding can often cause a browser to crash, but yesterday’s crash looks like something different: widespread crashing kicked off by a web service designed to help drive your browser.
Think of it as the flip side of cloud computing. Google’s pitch has always been that its servers are easier to use and less error-prone than buggy desktop software. But the Sync problem shows that when Google goes down, it can not only keep you from getting your e-mail — it can knock desktop software such as a browser offline too.
Chrome prides itself on “sandboxing” itself, so that a problem with a single webpage can only crash a tab in the browser, and not bring down the entire program. But that’s just what happened with Monday’s bug. It clobbered the entire browser.
“That’s definitely a big and unusual problem because if the browser shuts down, that’s a failure of the whole model of Chromium itself,’ says Kevin Quennesson, CTO of online photo service Everpix.
“When you bridge authentication and identity and the cloud to a desktop application, you then get occasionally these very weird failures,” says David Ulevicth, the founder of OpenDNS, a cloud-based infrastructure services company.
It’s the kind of issue that could pop up more often as developers work to build browsers such as Rockmelt that do more than simply surf the web, says Michael Mahemoff, a former Google Chrome team member who is now the founder of podcast app-maker Player FM. “People are trying to integrate more identity and these kind of sync service and social services,” he says.
It’s also something that cloud service providers are going to have to worry about more and more, as services such as Apple’s iCloud and Windows Live get more closely intertwined with our phones and PCs.
“As you centralize things like authentication and identity to one provider, then when that one provider has a hiccup the impact can be far-reaching,” says Ulevicth. “Imagine a scenario where you can’t even open your Android phone or you can’t get phone calls on Google Voice. it’s not just your browser.”
Image: Robert McMillan/Wired
Article source: http://www.wired.com/wiredenterprise/2012/12/google-bug/