What are some of the factors that slow down internet performance?
Distance is one of the principal causes of latency. For the Internet to function, computers, servers, and routers need to communicate back and forth, exchanging information in the form of pulses of electricity across cables that stretch for hundreds of miles. A certain amount of latency is built into the Internet because of the physical laws of the universe – the speed of light is a hard limit on how fast information can travel. That's very fast, but it still means that it will take information from a few milliseconds up to nearly a second to travel through cables from the client to the server and back (see What is latency?).
Slowly performing websites
Malicious activity often hinders Internet speed. For example, DDoS attacks on websites can significantly slow a website's performance or crash the website altogether.
The amount of data that can pass through a network at any given time is limited; the maximum amount that can pass through is known as the bandwidth. When incoming network traffic exceeds bandwidth at a certain point on the network, whether that's within an Internet Exchange Point (IXP), in a data center, or on a LAN router in a private home, the resulting network congestion leads to slower Internet speeds, the same way too many cars on the freeway results in slower traffic.
Network congestion may be limited to a certain geographic area, may affect an entire ISP's network, or may take place inside a home (for instance, if multiple people are trying to stream high-definition video at the same time).
Issues on the client device
A variety of conditions can cause websites and web applications to perform poorly on user devices (the 'client' in the client-server model). For example:
- Too many open browser tabs or processes running on the device can slow browser performance.
- The device itself can run slowly due to hardware issues or malware infections.
- Too many extensions and plugins running in the browser can also slow webpage speed.
How does DNS affect internet speed?
The Domain Name System (DNS) maps, or 'resolves,' domain names to IP addresses, and because this has to be done before a browser can navigate to and display a website, DNS resolution affects how quickly websites load. For most consumers, their ISP (Internet service provider) assigns DNS resolvers by default, and if the ISP's DNS servers are performing slowly, this slows down Internet speed for that ISP's users.
Users also have the ability to use a DNS resolver other than their ISP's, although many users are unaware of this option. 188.8.131.52 is currently the fastest DNS resolver and is designed to reduce these delays. Typically, 184.108.40.206 responds in about 10-20 milliseconds; other resolvers may take well over 100 milliseconds.
How do CDNs speed up the Internet?
CDNs (content delivery networks) greatly reduce network latency. A CDN caches content in servers around the world so that it does not have to travel as far to reach end users. This reduces network latency and speeds up websites that use the CDN. Some CDNs also perform load balancing, which helps prevent network congestion. The Cloudflare CDN has over 175 points of presence worldwide. This helps to bring web content closer to users and speed up website performance.
How can developers increase page speed?
Website speed is essential for making the Internet faster. Developers can keep pages fast by optimizing images, keeping code as short as possible, and in general keeping page file size as small as possible. They can also load render-blocking resources* last, which does not actually make webpages load faster but does allow the browser to render the content that the user sees more quickly. Use of a CDN also allows webpages to load faster.
How can Internet routing be improved and network congestion reduced?
Vehicular traffic jams are an all too common occurrence in major cities. To get around congestion and bad road conditions, some drivers opt to use smart maps apps like Waze, which reroute them onto less congested streets. Internet routing, just like many drivers' commuting routes, forwards network traffic to the shortest distance between two points. But in reality, that's not always the fastest route. The main Internet routing protocol, BGP, is effective at keeping the internet infrastructure globally connected, but is not 'smart' when it comes to traffic levels – it can't pick a different route based on traffic and/or network congestion. BGP is vital for the general operation of the Internet. What’s needed next is a smart layer above BGP.
Argo smart routing is an example of a service that does just this. Improving Internet routing so that network traffic can be rerouted based on these factors makes the Internet as a whole faster. Argo builds on BGP's excellent resilience and handles the nitty-gritty of finding ways around congested paths.