Live data from Hacker News

Why is the Internet so Slow?

blog.apnic.net

71–80 of 164 posts

Re: Why is the Internet so Slow?

#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.

Re: Why is the Internet so Slow?

#72

Earlier quoted context omitted.

Fixed link that doesn't fail on incorrect certificate: https://www.scion-architecture.net/

Thanks, is there a reason for sites not 301 redirecting non-www to www urls or vice-versa? Wouldn't that help to avoid problems like these? They also don't implement any security headers: https://observatory.mozilla.org/analyze.html?host=scion-arch...

That wouldn't help. If you go to https://foo, before the server can even redirect you to https://www.foo, it has to present a valid cert for foo without www.

Re: Why is the Internet so Slow?

#73
Because every time we get faster connections, we download more the client and force more client side processing. Angular and friends are just causing a worse user experience, not a better one.

We also don't take advantage of DNS enough. We should/could use it to pass along information about the client's ISP to locate a server one or two hops away from the client. DNS could easily solve the IPV4 with SRV records, but instead, we allow service location to happen at the TCP level.

The internet _could_ be fast, but it's not :/

Re: Why is the Internet so Slow?

#75
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…

> 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?

Re: Why is the Internet so Slow?

#77
post #69
post #64

Earlier quoted context omitted.

My measurements give me from 10ms to 50ms for IP routing on mainstream hardware (for the whole route). L2 switching is faster than IP routing because even cheap "smart" L2 hardware come with hardware acceleration, but a typical non-core router for a mid-tier ISP is usually a consumer grade, PC hardware based router.

Do you mean microseconds here? ms is milliseconds, and that just does not make any sense. E.g. I'm 7 (visible) hops away from the nearest Google DNS, and roundtrip pings to 8.8.8.8 are between 7ms and 8ms.

Yes, milliseconds. The difference there is because routers above you most likely are a carrier grade equipment like Cisco gear with ASIC based switching. This is what you can expect from big ISP in a big city, and less likely in networks serving more remote suburbs.

Re: Why is the Internet so Slow?

#78

ETHZ is developing a new kind of internet architecture: https://scion-architecture.net/ It's deployed in some places and working already. Citing from the webpage: > SCION is the first clean-slate Internet architecture designed to provide route control, failure isolation, and explicit trust information for end-to-end communications. Also it will reduce latency, increase throughput and more, as mentioned in the papers.…

Very interesting approach. I've read about SCION before. I believe, however, that its goal is primarily security. The reduced latency claim simply comes from the fact that they try to restrict routing in such a way that, for example, traffic with source and destination both in the US will never leave the US because of some weird routing policies. I'm not sure about this. Somehow, it seems to be against the principles…

Yeah, speed isn't the primary focus, more of a byproduct

I don't understand what this has to do with a free internet, routing doesn't have any affect on that

Post reply on HN