News for hackers. Stuff that matters.
Re:6,953 reasons why I still let Google host jQuery for me by Encosia on Tuesday September 21, 2010 @04:31PM (#1714015)
You're correct.

That fallback technique mitigates the majority of failure cases though (NoScript, overbearing firewall, blocked regions, etc). The CDN itself being slowly-down is vanishingly rare.

Re:6,953 reasons why I still let Google host jQuery for me by techiferous on Tuesday September 21, 2010 @06:14PM (#1714301)
"The CDN itself being slowly-down is vanishingly rare."

Based on...?

It happened to me once a few months ago. It was down for hours. The negative impact was very real and painful and in my opinion outweighed the other advantages of hosting using Google's CDN.

Re:6,953 reasons why I still let Google host jQuery for me by Encosia on Tuesday September 21, 2010 @10:14PM (#1714953)
Pingdom tested Google, Microsoft, and Edgecast's jQuery CDNs every minute for a couple weeks and found all of them averaged between 100-150ms to download jQuery[1]. Google's was actually the slowest of those, averaging a turtle's pace of ~130ms from all of Pingdom's datacenters. They're all so close that the Google CDN's overwhelming caching advantage should be preferable though.

More anecdotally, I've been running a few Pingdom type tests myself for a longer period, using uptime tools on few of my servers and mon.itor.us. Except for that brief outage the morning of May 14, 2009[2], I haven't monitored a net-wide outage or even a 250+ ms slowdown.

I'd be genuinely interested in any concrete data to the contrary.

[1] http://royal.pingdom.com/2010/05/11/cdn-performance-download...

[2] http://www.zdnet.com/blog/btl/cloudy-day-google-falters-pack...

Re:6,953 reasons why I still let Google host jQuery for me by techiferous on Tuesday September 21, 2010 @10:40PM (#1714999)
June 18th, 2010 was when Google's jQuery went down for me (and many other people).
Re:6,953 reasons why I still let Google host jQuery for me by points on Tuesday September 21, 2010 @05:49PM (#1714223)
I don't know, anecdotal evidence here, but the majority of cases I see pages taking a long time to load due to 3rd party js etc, it's waiting for actual data, rather than anything else.

The OP said:

"and I noticed the render time of my site (and a few others) jump up anywhere between 5x and 100x."

Which would indeed suggest that it did load, but at significantly reduced speeds.

Re:6,953 reasons why I still let Google host jQuery for me by Encosia on Tuesday September 21, 2010 @09:53PM (#1714894)
These highly-available, distributed CDNs hosting static content don't have the same failure characteristics as something like an advertising script or Twitter widget. Where the latter do often hang the page (frustratingly), the popular CDNs that host jQuery aren't prone to that under any but the rarest of circumstances.

Maybe unrelated, but you'd be surprised how often the "Waiting for domain.com..." in your browser's status bar is misleading. Interactions between externally referenced scripts, images, and scripts that use document.write can produce "interesting" results in most browsers.