Live data from Hacker News

Gmail, Google Maps and YouTube had outage issues

thenextweb.com

41–50 of 105 posts

Re: Gmail, Google Maps and YouTube had outage issues

#41
post #32
post #25

Earlier quoted context omitted.

I see this argument a lot but I don't think it's necessarily a good one. If a third party CDN goes down, your site is down. A few extra ms in initial download isn't so bad compared to having your site be completely inaccessible for reasons outside your control.

Why doesn't having the resources cached provide a buffer against short-term outages of the CDN?

Because normal Cache-Control is only aimed at reducing the amount of data transferred. With newer immutable Cache-Control[0], a CDN going down wouldn't have an effect if you have the resources cached.

[0]: https://hacks.mozilla.org/2017/01/using-immutable-caching-to...

Re: Gmail, Google Maps and YouTube had outage issues

#43
post #20
post #6

Does not seem to affect Europe. In fact, right now YouTube loads far quicker than it has for the last seven to ten days, where it would take ages to load any YouTube page.

reboot helps. May be Google runs Windows. Then they just need to reboot more frequently, ie. proactively.

[Removed]

Re: Gmail, Google Maps and YouTube had outage issues

#45
post #31
post #25

Earlier quoted context omitted.

I see this argument a lot but I don't think it's necessarily a good one. If a third party CDN goes down, your site is down. A few extra ms in initial download isn't so bad compared to having your site be completely inaccessible for reasons outside your control.

Self hosting will probably cause more downtime than if you are using a decent CDN. CDN is just one of many points of failure, I would expect there's a fine balancing act where you could achieve benefits of both.

By definition, if your site is down, you don't need your assets.

Re: Gmail, Google Maps and YouTube had outage issues

#46
post #3

Our site was using hosted libraries, google fonts, and google analytics. All of which seemed to be behind captchas, throwing CORS errors, and 503ing since this morning. Swapped out JQuery cdn for now.

For something like jquery, you can host locally and fallback to it if the CDN fails.

https://stackoverflow.com/a/1014251

Re: Gmail, Google Maps and YouTube had outage issues

#48
post #20
post #6

Does not seem to affect Europe. In fact, right now YouTube loads far quicker than it has for the last seven to ten days, where it would take ages to load any YouTube page.

reboot helps. May be Google runs Windows. Then they just need to reboot more frequently, ie. proactively.

Funnily enough, in one previous company I worked, which used Linux exclusively, the software was very buggy, and the servers were rebooted daily. We jokingly called that the "Windows solution".

When we proposed adding a daily reboot to cron, the tech lead (which encouraged practices which lead to this low quality software) retorted that "this in not Windows, it doesn't need constant reboots", totally missing the point that just using Linux doesn't make you a developer of reliable software.

Re: Gmail, Google Maps and YouTube had outage issues

#49
post #19

Earlier quoted context omitted.

Is there a good reason to use these things hosted by a third party source? Libraries are tiny, the fonts can be downloaded from Google Fonts and embedded locally, etc. Even the Google Analytics JS script I presume can be stored and run local. Shouldn't a goal be to mitigate the number of possible failures which can bring down your site by reducing the number of single points of failure?

2 reasons: 1. If you're still using HTTP 1.x, sharding assets across origins lets the browser load them in parallel (if set up correctly). You can generally load just 6 assets in parallel per origin, and sharding is a way to get around that limit. 2. A library like jQuery is so popular, and is so often served from googles CDN, that chances are a user already has it in their local cache from when they downloaded it on…

> If you're still using HTTP 1.x

Not sure why it was phrased that way but...isn't everybody?

I know that HTTP/2 is released and browsers support it, but I'm fairly certain that next to nobody is actually doing anything with it.

Re: Gmail, Google Maps and YouTube had outage issues

#50
post #46
post #3

Our site was using hosted libraries, google fonts, and google analytics. All of which seemed to be behind captchas, throwing CORS errors, and 503ing since this morning. Swapped out JQuery cdn for now.

For something like jquery, you can host locally and fallback to it if the CDN fails. https://stackoverflow.com/a/1014251

damn, never thought to do this. thanks for the heads up.
Post reply on HN