When you open a browser and go to a webpage, data is traveling through the internet, to a server to get the content. It then travels back to serve you that content on your computer. But how does data travel on the internet, really? I mean, how does it go to a server and back that fast?
In networking, data is called packets. These packets are what matters and they have everything needed in them, like the destination address and the request. To understand it better, let’s dive deeper into how data actually travels over the internet in this article.
A data packet, or network packet to be correct, is a collection name of several components. These components are needed in order for you to be able to browse the web, for example. In order for you to go to a website, you will need to send packets to the websites web server and that server will have to send packets back to you. For this to work, a packet needs to hold several components:
First, the packet needs two addresses, the source address, and the destination address. How would it else know where to go and where it came from?
A packet has something called “time to live”. This is the number of hops the packet can do until it dies. Each time the packet goes through a network node (i.e a router or a switch, like a crossing) the number is decreased. This is to avoid packets with errors hopping around the web for eternity.
Depending on what the packet carries, one packet may not be enough. Each packet consists of a length so that the receiver knows if the packet came alone or if more is to come.
This is the actual data, the content of the packet.
A packet can also include other components, but these are the main ones that are always there. Network packets are how information (data) is being carried over the internet. But how does the packet travel?
As you know, this data packet will not just magically appear somewhere else, it needs to find the destination and then get there. For the package to know where to go, something called routing will be used. This is essentially just your local post office carrying out post. The mailman looks at the zip code, then the address, then the house number and then the name, and data packets do the same thing.
Data takes the highway.
How the data is being transmitted is through cables. It might start off as a package on your mobile phone and will wirelessly be transferred to your router. WiFi signals are working like waves, much like radio signals. I highly suggest taking a look at this article from vice.com, where they have imagined how WiFi would like if we could see it.
Once the router has received the signals from your phone, the packet will continue through cables, from your router and out to the world wide web. Your house is most likely connected to the grid in your city. The packet has its address written on it and will go where the signs are pointing.
The signs, in this case, is called DNS, or Domain Name Servers. These exist to tell other services, servers, clients and data packets where to go. Often, a DNS will point to another DNS that is closer to the destination. However, if the DNS knows where the destination is, it will point directly there instead.
As you can tell, it is very much like a parcel, motorways, and crossings. It’s very easy to see the similarities and that is because it works in the same way. Why change something if it works?
Fast. No, really, it’s fast.
In a fiberoptic cable, which is what companies are digging down, the speed for a data packet is about 200 000 km/s (124 300 miles/second. To give you some sort of reference on how fast that is, the circumference of the Earth is about 40 000 km. This means that the packet can go 5 times around the globe in a fiberoptic cable.
Takes some more time for us humans to travel around the world.
But we are not done. Because packets can move even faster in the air. Without interference, they can reach speeds of up to 99.7% the speed of light, or 299 100 km/s. That is two hundred thousand one hundred kilometers per second or 185 723 miles per second. That is insane. In the air, the packet can go 7 times around the Earth, at the same time it takes you to blink your eye.
Now, to be real, it’s not possible to count as that all the time as there are obstacles in the way. Things like routers, switches, and other nodes do not support this kind of speeds (unsurprisingly) so they are the bottlenecks. Think about that the next time you are thinking that your internet is slow.
This is the good thing with the internet, and something that has made the internet become so big as it actually is (what I think anyway). There is no one that owns the internet. There is no government, no company, no organization. There is no CEO on the top that can go bad and shut it down any minute.
Since the internet is a hard thing to grasp, let’s focus on what it relies on instead: hardware. Here, many organization and companies provide their hardware for the internet to work efficiently. Your ISP, for example, has servers, switches, and routers that make their part of the internet working as it should. They are then connected to another company or organization that take over.
So, if all companies in the whole world press the off-button at the same time, the internet would go down. On the other hand, that would never happen as these companies make tons of money on the internet, and money talks 🙂
Because of the above, there is no one that is responsible for the overall internet. There are organizations that will standardize technology and infrastructure, so that is easier for these companies to talk to each others. You may have heard of some of these organizations, like ICANN (Internet Corporation for Assigned Names and Numbers) or IETF (Internet Engineering Task Force). However, these organizations are not responsible for the internet.
Many people now use internet and wifi, but not all of them are really concern about their secure and safe internet connection.
I am not an internet technology expert, but I love people share about technology and teach people about the digital security. Thanks you for this amazing post, this is lovely.
well done
Hi Sam,
I agree. I glad you enjoy what I consider a passion of mine. Always happy to help.
Thanks!
Good read. Thanks.
Crazy read. Thanks.
Hi Ujjwal,
You're welcome! 🙂
Thanks for this page. Great to read.
Thank you Beau! Glad you enjoyed it.
Hi I am saving this post for my personal database of references. Its great.
Thanks for reading Chris! Glad it’s proven useful!
So . . . you are saying that data can travel faster than light then?
Fiberoptic in air without interference = 186 400 miles per second
Speed of light through air = 186 282 miles per second
Hi Clarke,
Thanks for reading.
So that's not true, and in this case the numbers used are rounded approximations. The speed on light in a fiber optic cable with air at optimal conditions can travel at 99.7% the speed of light.
The approximate speed of light is 300,000 kilometers per second, or 186,282 miles per second. So with that, data in a fiber optic cable could hypothetically travel at 299,100 kilometers per second or 185,723.154 miles per second.
For reference, refer to this Ars Technica article.
https://arstechnica.com/information-technology/2013/03/fiber-cables-made-of-air-move-data-at-99-7-percent-the-speed-of-light/
I have made a correction in the article to reflect that. Thanks for catching it!
can you do a summary?
Hi Joy,
Sure.
So Data travels on the internet using a construct called packets, that contain information such as IP Address, Hops, Length and Payload. This data usually travels through cables, whether it be copper cables or fiber optic cables, or ever increasingly, wireless transmission (5G, satellite, etc).
To get to websites or other web services, we use a system called DNS (Domain Name System) because devices don’t understand Domain Names (website names), they understand IP Addresses. DNS converts a website name to an IP Address.
Data travels roughly at the speed of light, depending on the medium its traveling through (for wireless technology, its roughly the speed of sound). Data traveling through copper its a bit less than the speed of light, but with fiber optic cables it can be up to 99.7% the speed of light, given recent advancements.
The internet is managed through many Non Government Organizations (NGOs) like ICANN (Internet Corporation For Assigned Names and Numbers) and IETF (Internet Engineering Task Force).
Hope this is what you’re looking for!
Thanks orest
You're welcome, thanks for reading Able!