Feeds

Skype's mega-FAIL: exec cops to cause

Live by P2P, die by P2P

Providing a secure and efficient Helpdesk

Chastened by its pre-Christmas mega-FAIL, Skype on Wednesday explained in detail why the titanic titsup takedown happened and how the company plans to ensure that the globe will never again go VoIP-less for an extended period of time.

For those of you tuning in late, last Wednesday the online telephony service began to wobble, and soon crashed to its knees.

Skype engineers forsook their last-minute holiday shopping to frantically resuscitate the service, and by Christmas Eve they managed hoist it back on its feet, ensuring that little Billie in Blackpool could thank Gramps in Great Neck for that new Xbox Kinect controller come Christmas morn.

Now that normalcy has been restored, Skype CIO Lars Rabbe has offered his own detailed explanation of what caused the massive snafu.

Simply put, Skype was a victim of the network architecture that it has boasted – deservedly so – to be the reason for its advantages over other VoIP schemes: peer-to-peer workload dispersal.

Skype is built on Global Index technology, which is essentially a tiered P2P configuration in which some nodes are designated as "supernodes" that handle much of the directory functions that in a non-P2P network would be handled by centralized servers.

All well and good, but if those supernodes fall ill, all hell can break loose – which is what happened to Skype last week.

As described by Rabbe, the cascade of calamity that snuffed Skype was as follows:

  • On Wednesday, some servers responsible for offline instant-messaging became overloaded, which caused them to send delayed responses to some Skype clients.
  • Some of those clients were running Skype for Windows version 5.0.0.152, which has a bug that caused it to crash when delayed messages weren't "properly processed," to use Rabbe's words.
  • Fifty per cent of global Skype users were running 5.0.0.152. Forty per cent of those crashed. Twenty-five to thirty per cent of those were operating as supernodes.
  • Oops.
  • The failure of those supernodes increased the load on the remaining supernodes, whether they were running 5.0.0.152 or not.

And now we'll let Rabbe take over the explanation:

While we expect this kind of [load increase on supernodes] in the instance of a failure, a significant proportion of users were also restarting crashed Windows clients at this time. This massively increased the load as they reconnected to the peer-to-peer cloud...

Supernodes have a built in mechanism to protect themselves and to avoid adverse impact on the systems hosting them when operational parameters do not fall into expected ranges. We believe that increased load in supernode traffic led to some of these parameters exceeding normal limits, and as a result, more supernodes started to shut down. This further increased the load on remaining supernodes and caused a positive feedback loop, which led to the near complete failures that occurred a few hours after the triggering event.

Simply put, the worse thing got, the worse things got, until Skype was mortally wounded.

To stanch the haemorrhage, Skype engineers then created what they call "mega-supernodes" – higher-capacity supernodes – and flung them into the P2P cloud in the hope that their beefier capabilities could alleviate the load on the ailing supernodes and thus allow them to recover.

By Wednesday night it was apparent that the hundreds of mega-supernodes weren't getting the job done. And so, as Rabbe says: "...our team introduced several thousand more mega-supernodes through the night. During Wednesday night, full recovery of the P2P network was underway and the majority of users were able to connect to the P2P network normally by early morning (California-PST) on December 23rd."

Throughout that day and into the next the network stabilized, and Group Video Calling, which had been taken offline in order to lessen the overall load, was restored.

On Friday – Christmas Eve – "...we withdrew a significant proportion of the mega-supernodes from service, leaving some in operation to ensure stability of the P2P network over Christmas and New Year."

And here we are today, happily VoIPing again – until the next global P2P muck-up.

But Rabbe et al. are determined to not go through this holiday panic a second time. In his blog post, he lists a number of steps Skype will take to gaurd against a future global meltdown.

Seeing as how the failure was a direct result of a bug in Skype for Windows version 5.0.0.152, the first item on Rabbe's list of fixes is screamingly obvious: "We will continue to examine our software for potential issues, and provide 'hotfixes' where appropriate, for download or automatic delivery to our users.

"We will also be reviewing our processes for providing 'automatic' updates to our users so that we can help keep everyone on the latest Skype software."

A system for staged, universal, automatic updates would run the risk of globally disseminating a flawed upgrade, but that might be preferrable to the situation in which Skype found itself last Wednesday, when a bug in 50 per cent of its clients garroted its entire network. ®

Security for virtualized datacentres

More from The Register

next story
Wanna keep your data for 1,000 YEARS? No? Hard luck, HDS wants you to anyway
Combine Blu-ray and M-DISC and you get this monster
US boffins demo 'twisted radio' mux
OAM takes wireless signals to 32 Gbps
Apple flops out 2FA for iCloud in bid to stop future nude selfie leaks
Millions of 4chan users howl with laughter as Cupertino slams stable door
No biggie: EMC's XtremIO firmware upgrade 'will wipe data'
But it'll have no impact and will be seamless, we're told
Students playing with impressive racks? Yes, it's cluster comp time
The most comprehensive coverage the world has ever seen. Ever
Run little spreadsheet, run! IBM's Watson is coming to gobble you up
Big Blue's big super's big appetite for big data in big clouds for big analytics
prev story

Whitepapers

Providing a secure and efficient Helpdesk
A single remote control platform for user support is be key to providing an efficient helpdesk. Retain full control over the way in which screen and keystroke data is transmitted.
WIN a very cool portable ZX Spectrum
Win a one-off portable Spectrum built by legendary hardware hacker Ben Heck
Saudi Petroleum chooses Tegile storage solution
A storage solution that addresses company growth and performance for business-critical applications of caseware archive and search along with other key operational systems.
Protecting users from Firesheep and other Sidejacking attacks with SSL
Discussing the vulnerabilities inherent in Wi-Fi networks, and how using TLS/SSL for your entire site will assure security.
Security for virtualized datacentres
Legacy security solutions are inefficient due to the architectural differences between physical and virtual environments.