Sites like youtube use rolling deployments, distributed architecture, and extensive automated testing to ensure that they are never able to "go down" in the traditional sense. Obviously someone fucked up royally for things to happen as they are now.