Live data from Hacker News

CDN's Aren't as Useful Anymore?

news.ycombinator.com

11–16 of 16 posts

Re: CDN's Aren't as Useful Anymore?

#11
I believe back in the day CDN could also help with libs due to maximum number of connection to same domain; but with http2 this issue went away.

Still, localized content delivery is still needed even today, so CDN usage is still preferred. Unless your provider actually does CDN already, like github pages or something in those lines.

Re: CDN's Aren't as Useful Anymore?

#12
post #8

My knowledge of CDNs is limited but I assume that Moore's law will make CDNs obsolete because you will be able to efficiently and cheaply host your own data but then again webmasters will want to outsource it so they don't have to manage and maintain it.

Not to be rude, but you never understood how CDNs we're helpful, then, because they were about round trips and latency, which Moore's law does not help with. The point of cdms was to reduce the number of distinct resource objects that your browser requested, and that will continue to be good advice in many situations.

I said that my knowledge of CDNs is limited but yea I understand that CDN is similar to edge computing. My logic was Moore's law will make everything so cheap that CDNs wouldn't be as needed as they use to be.

>The point of cdns was to reduce the number of distinct resource objects that your browser requested, and that will continue to be good advice in many situations.

In the world of optimized software and computational power abundance(both CPU and bandwidth) this shouldn't be a problem.

Re: CDN's Aren't as Useful Anymore?

#13

Earlier quoted context omitted.

Not to be rude, but you never understood how CDNs we're helpful, then, because they were about round trips and latency, which Moore's law does not help with. The point of cdms was to reduce the number of distinct resource objects that your browser requested, and that will continue to be good advice in many situations.

I said that my knowledge of CDNs is limited but yea I understand that CDN is similar to edge computing. My logic was Moore's law will make everything so cheap that CDNs wouldn't be as needed as they use to be. >The point of cdns was to reduce the number of distinct resource objects that your browser requested, and that will continue to be good advice in many situations. In the world of optimized software and computat…

You're still thinking about this wrong. This is not about bandwidth or CPU time - It's about the time it takes to communicate. Moore's law will make running a CDN cheaper, but it won't make sending a request across the globe any faster.

Re: CDN's Aren't as Useful Anymore?

#14

tl;dr: There used to be a performance advantage when multiple sites loaded common resources from the same place, since it would often already be cached. But cross-domain caching could be used to violate your privacy, so browsers don't do it anymore, which nullifies that advantage.

But that's not the main point of CDNs, their main advantage is to off-load resource requests to servers close to the user and avoiding serving huge amounts of static data from your own server. They also offer numerous other advantages (DDOS protection, hiding your server IP, etc.), but also come at a privacy cost and risk of data centralization (a good % of internet traffic goes through Cloudflare for example).

Re: CDN's Aren't as Useful Anymore?

#15
I have a large number of them blocked in my /etc/hosts file. My first experience with CDNs as an ordinary user was finding they were the source of a large amount of advertising and garbage I don't want to see.

Most of the web still works, though I sometimes run into odd things, like web pages where 1+Mb of cruft is delivered by the main host, but the 2Kb of text that I wanted to read was hosted on a blocked CDN. Ah, well. I'll find it somewhere else, then.

Post reply on HN