tstearns.com/notes

Are We Getting Faster?

September 2018

I was reading an article the other day in which the author asserted: "current network (Internet) latencies are here to stay, because they are already within a fairly small factor of what is possible under known physics." This conclusion came about after the author measured latency between a home network in Seattle Washington and the MIT network near Boston Massachusetts.

I suspect most of us are more interested in whether diverse Internet latencies are able to be improved in various places around the world, not just for those people who live in Seattle and visit websites in Boston. So I thought I'd try to break down where such latencies can be reduced.

Cities

Boston and Seattle are two wealthy, tech-heavy cities that are connected across the Northern US through a fairly straight line of other cities. But what about any route that is not so simple? Plenty of cities around the world (and even within the US) don't have efficient paths to Seattle. One way to visualize this is Hurricane Electric's layer-2 map which gives a force-directed graph of their PoPs and the connections between them. It's not difficult to find cities that require circuitous routes to each other. As new fiber connects those cities, routes improve.

Even cities that have fiber between them may not have network operators that peer with each other in those cities, which reduces the chances that your data will find a direct path. This has historically been a problem for Canadian cities, which community exchanges such as YYCIX aim to solve. At the other end of the spectrum, very large content providers such as Netflix have been lobbying the US government in support of a bill to send more funding to regional Internet Exchange Points, as those IXPs help to connect more networks in more places.

Countries

The opportunities expand when crossing oceans, as the much more limited routes of undersea cables constrain you. When I visit websites in the US from the UK, I can be pretty sure that my traffic goes straight over the pond. But if you live anywhere else, your traffic has to go to a cable landing station that might be a continent away. For example, many African countries connect to the world through Europe. To see the global web of cables, you can peruse Telegeography's map, which is improving every year as new cable-laying projects complete. A notable example is last year's construction of SEABRAS-1, the first direct connection between New York and São Paulo.

Networks

Software can improve as well. As device manufacturers adopt congestion control techniques, we can reduce tail latencies from problems like buffer bloat, even though geography constrains the minimum latency between hosts. This brings down the total latency seen across all requests in a web page load, for example, even when a tool like ping only shows lower values in a controlled environment.

Perhaps most importantly, advances in networking and distributed computing mean we can put ourselves closer to where our packets need to go. This is why CDNs were invented. What if the content being provided by MIT could have been served from San Jose? Or even from Seattle? That would cut down latency more than any physical infrastructure could. Cloudflare has a number of success stories from putting this into practice, for example this map of Mexico.

Takeaway

There are countless ways that we can reduce the effective latency that Internet users see every day. As cities, countries, and network operators invest in more infrastructure and more sophisticated traffic delivery techniques, we can expect to see real improvements around the world.