Live data from Hacker News

Why is the Internet so Slow?

blog.apnic.net

101–110 of 164 posts

Re: Why is the Internet so Slow?

#101
post #3

TL;DR: TCP and DNS, which is what you would expect. If you want light-speed internet, send UDP packets with a laser.

Across the Atlantic (eg NYC to LDN) I continue to propose to just skim the surface using a line of sharks with laser repeaters (and beams)...

Re: Why is the Internet so Slow?

#102
post #75

Earlier quoted context omitted.

> which you should for many reasons but chiefly performance and security. Why would you use nginx for security? I see over 100 CVEs for nginx. This isn't exactly unexpected. Nginx is an incredibly complicated piece of software written for performance in C. That's basically the trifecta of security badness. If you want security, why not use a (possibly slower) simpler product written in a safer language?

Ah, the old concept of binary security - either you want it or not. It doesn't work like that, security is one need to be balanced against others. Also, lots of CVEs indicate only one thing: that lots of people are checking it.

Hrmn.

Doesn't it also mean they're finding lots of problems with it?

Re: Why is the Internet so Slow?

#103

If the 3x slowdown from the infrastructure were eliminated, each round-trip-time being 3x faster would affect all the protocols above, and we could immediately cut the latency inflation from ~37x to around 10x, without any protocol modifications. The page this article is published on makes 87 separate network requests to 19 different domains. Even with a great deal of the content cached, it takes 7 seconds to reload…

As much as ads are annoying, this has nothing to do with the article. One man's bloat is another man's content. No need for this nag to be top comment on HN for an article about why data isn't moving at the speed of light.

They don't need to cut advertisements. Certainly, they could have as many as 10 advertisements, and only make requests to two domains---the ad network, and their own domain.

Their page has a high number of requests primarily because they do not bundle their javascript, CSS, or icons.

I see 95 requests that I see without adblocking, and about 20 of those requests are javascript coming out of their own WordPress instance. They're using 2 different full icon libraries and adding at least 5 more icons not contained in either.

Re: Why is the Internet so Slow?

#104
post #71
post #54

Since the OP compared Internet latencies to the speed of light in glass...look up 802.1CM/IEEE1904.3 or "CPRI over Ethernet"/"Radio over Ethernet"! Those describe techniques for conveying LTE baseband signals (digital I/Q-samples) over Ethernet -- so the radios can live far away from the equipment that speaks the physical / MAC / radio-resource-control layers of LTE. There are strict latency/jitter requirements invol…

If you are interested in bufferbloat and TCP, Google's BBR is a really interesting attempt at solving part of the problem. See http://queue.acm.org/detail.cfm?id=3022184 BBR is a sender-only modification to TCP that basically solves the problem of large buffers.

There was a great article + discussion about BBR a few weeks ago: https://news.ycombinator.com/item?id=14298576

Re: Why is the Internet so Slow?

#105

If the 3x slowdown from the infrastructure were eliminated, each round-trip-time being 3x faster would affect all the protocols above, and we could immediately cut the latency inflation from ~37x to around 10x, without any protocol modifications. The page this article is published on makes 87 separate network requests to 19 different domains. Even with a great deal of the content cached, it takes 7 seconds to reload…

[deleted]

Re: Why is the Internet so Slow?

#106

If the 3x slowdown from the infrastructure were eliminated, each round-trip-time being 3x faster would affect all the protocols above, and we could immediately cut the latency inflation from ~37x to around 10x, without any protocol modifications. The page this article is published on makes 87 separate network requests to 19 different domains. Even with a great deal of the content cached, it takes 7 seconds to reload…

As much as ads are annoying, this has nothing to do with the article. One man's bloat is another man's content. No need for this nag to be top comment on HN for an article about why data isn't moving at the speed of light.

I agree - both problems can be improved independently of each other. I think "bloat" is less solvable centrally, though, and maybe just the natural consequence of making software more reusable and componentized.

Re: Why is the Internet so Slow?

#107

"Slow" internet is not so bad (especially when it is not really THAT slow). Limitations in connectivity force designers and developers (therefore large companies) to optimise things and save resources. Internet speed growth rate could be 5% (compounding) would be enough in order to provide a friendly environment for new frameworks, technologies in the field of network and web to benefit all.

Speedtest.net claims an increase of average internet speeds by 40% in 2016: http://www.speedtest.net/reports/united-states/

Re: Why is the Internet so Slow?

#108
post #23

If you're thinking, "it's fast enough!" -- remember that a system's performance determines what you're able to build on top of it. If GPU designers had said "it's fast enough" ten years ago, for example, modern neural-net AI may never have happened. It's easy to imagine doing the same things faster, but it's harder to picture the new things that a lower-latency Internet would make possible.

I don't think anyone that has ever used Skype, VoIP, Facetime, etc has thought "this is fast enough".

No, but there are plenty of people from Comcast, Rogers, et al and, significantly more importantly, U.S. regulators who are busy telling us that everything is "fast enough" that we don't need competition.

Re: Why is the Internet so Slow?

#110

Earlier quoted context omitted.

As much as ads are annoying, this has nothing to do with the article. One man's bloat is another man's content. No need for this nag to be top comment on HN for an article about why data isn't moving at the speed of light.

They don't need to cut advertisements. Certainly, they could have as many as 10 advertisements, and only make requests to two domains---the ad network, and their own domain. Their page has a high number of requests primarily because they do not bundle their javascript, CSS, or icons. I see 95 requests that I see without adblocking, and about 20 of those requests are javascript coming out of their own WordPress instan…

I think a large contributor to this trend is a side effect of JavaScript, which is to perform library inclusion at runtime inside the browser.

Think about it. If you include a gigantic library in a compiled language, but only use 3 of its features, the rest of the library doesn't make it into your final program. Only those three features that you used do, because that's the linker's job. It takes only the features of a given library that are actually used for space efficiency reasons, and removed anything unneeded.

This is possible for JavaScript, but common language usage patterns work against this goal. If you're going to use a clientside library that's fine, but you should ship only the small fraction of it that your code actually calls into, not the entire honking library, 90% of which goes untouched by the client for every user.

Point here is, I agree with you, but this is a difficult problem to solve. You're asking a large number of frankly inexperienced programmers to deviate heavily from most JavaScript tutorials, and worse, most example code included in the documentation of most large frameworks.

Post reply on HN