Live data from Hacker News

Why is the Internet so Slow?

blog.apnic.net

11–20 of 164 posts

Re: Why is the Internet so Slow?

#11
post #8

Did I read this correctly? Is it saying that a general internet connection, without specialist low latency connectivity, is only 37x slower than its theoretical minimum? That's astonishingly good. It's great that they think they can do better but bloody hell. It's indistinguishable from magic.

Indeed - I've been using the Internet since the early 1990s and I'm constantly amazed that I can be playing a multi-user game (e.g. WoT) with tens of people in multiple countries and get sub 50ms ping times.

Re: Why is the Internet so Slow?

#13
The idea that browsing the modern web transfers "tens of kilobytes of data" is pessimistic. I think you can argue bandwidth constraints in the real-world are real. Improving the underlying stack is one thing and would obviously bring improvements, but browsing speed won't be one of them. If you make responses faster, they'll be able to stuff more garbage in those responses.

Re: Why is the Internet so Slow?

#14
post #7

If you want an easy speed up and you use a modern version of nginx, which you should for many reasons but chiefly performance and security. Add these lines to your nginx config file: # Only support HTTPS and enable http2 # which will allow you to multiplex requests. # In a separate config do a 301 from normal HTTP # for all paths / subdomains. listen 443 ssl http2 default_server; listen [::]:443 ssl http2 default_ser…

Why would allowing only https result in a speedup in network? I experience that but I'm still curious about the reason.

Re: Why is the Internet so Slow?

#15

You should move to Romania. https://motherboard.vice.com/en_us/article/jp5aa3/why-romani...

A lot of latency inflation over past 10 yeara came from increase in L3 switchings over L2. Nowadays, you can have over 10 IP switching in DCs, and within the last mile.

You also get more hops thanks to some backbone networks abandoning MPLS in favour of native routing/packet labeling.

In Romania, as I understand, networks are largely free of L3 switching overhead thanks to large portion of networks running pure L2

Re: Why is the Internet so Slow?

#16
post #14
post #7

If you want an easy speed up and you use a modern version of nginx, which you should for many reasons but chiefly performance and security. Add these lines to your nginx config file: # Only support HTTPS and enable http2 # which will allow you to multiplex requests. # In a separate config do a 301 from normal HTTP # for all paths / subdomains. listen 443 ssl http2 default_server; listen [::]:443 ssl http2 default_ser…

Why would allowing only https result in a speedup in network? I experience that but I'm still curious about the reason.

Good question! By forcing HTTPS you're garunteed to get the speedups because most browsers require encryption:

https://en.wikipedia.org/wiki/HTTP/2#Encryption

Re: Why is the Internet so Slow?

#17
post #5
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.

Or any form of electromagnetic wave passing media with low dielectric constant. Like microwave communication in athmosphere. Speed of propagation in typical cable is around 66% of c. That is not too bad. More latency is probably caused by buffering. Speed of light is just too low. We should get a lobby-group working on it and the limiting laws of physics.

AFAIK (and I don't know much), c is also a huge limiting factor in processor design, since high-enough clock speeds put a hard cap on how far a signal can travel between ticks, even assuming perfect components. Agree that c is too low and we should attempt to simulate a universe in which it is higher and go live there instead.

Re: Why is the Internet so Slow?

#18
post #8

Did I read this correctly? Is it saying that a general internet connection, without specialist low latency connectivity, is only 37x slower than its theoretical minimum? That's astonishingly good. It's great that they think they can do better but bloody hell. It's indistinguishable from magic.

You're saying that achieving 2.7% of the theoretical efficiency is good?

Many car engines have an efficiency of around 20% for example, as compared to the maximum theoretical efficiency of 67%. If car engines performed only well enough to meet your standard of amazingness, your gas costs would be 7 or 8 times higher. Or if you used a modern Toyota engine for comparison, something like 14 times higher.

Obviously I took an example from a different sphere for comparison... if you really find this to be an astonishing result can you elaborate?

Re: Why is the Internet so Slow?

#19

Javascript.

Well, the internet essentially was born from scientists displaying their research and papers, linking to other scientist pages, experiment data, and so on. The early internet was essentially a fancy FTP server with a bit of Times New Roman paragraphs in. That's why web-servers were originally called Internet _Information_ Services (IIS). Because it was designed to be essentially an online library.

Then of course commercial, social, political, and many other areas jumped on board. People found out that sales (if you was commercial), views (if you were political or social), and whatever you were aiming for essentially, magically increased if you made your website _look_ better. It's how humans have always worked.

This gave birth to an arms race where the weapon of choice was including increasingly advanced ECMAScript code into your website.

From this the modern web was born. (i'm simplifying a lot here, but that is generally the very quick overview as to how I experienced it over the last 2 decades).

Re: Why is the Internet so Slow?

#20
post #5
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.

Or any form of electromagnetic wave passing media with low dielectric constant. Like microwave communication in athmosphere. Speed of propagation in typical cable is around 66% of c. That is not too bad. More latency is probably caused by buffering. Speed of light is just too low. We should get a lobby-group working on it and the limiting laws of physics.

You really shouldn't be complaining about the speed of light. We're leaving a lot on the table by sending the data along the surface of earth instead of through it.

With neutrino-based signalling you eliminate both the lower propagation speed and the suboptimal path.

Post reply on HN