DEV Community

Cover image for How does the Internet Work?
Satyam Singh
Satyam Singh

Posted on

How does the Internet Work?

"The Internet is not just a technology, it's a lifeline for our interconnected world, empowering individuals, businesses, and societies with unprecedented access to knowledge, communication, and opportunity." - Tim Berners-Lee, inventor of the World Wide Web

That was an Awesome Quote! wasn't it?

Hey folks! πŸ™‹πŸ»β€β™‚οΈ

First of all, I congratulate you πŸ™ŒπŸ» that you have chosen the most concise blog post to know about the Internet and its Working, and may you gain amazing and upskilling knowledge from this!

Let's Go! πŸš€πŸŒŒ

Before we talk about the Internet and how it works, let's understand what networks are. Imagine you (πŸ‘¦πŸ») and your friend (πŸ‘¦πŸ») have your computers connected with a cable.

That creates a network between the two computers, allowing you to share data but here the sharing of data is limited to you and your friend only.

Now, What exactly is the Internet? ⚑

It stands for "Interconnected Networks." It's an Interconnection of different networks enabling the sharing of data between any devices, which means you can share data between a computer (πŸ–₯️) in India and a computer (πŸ–₯️) in America.

That's the basic idea of the Internet. πŸ™ŒπŸ»

Hope it's Clear! πŸ˜€

But, How does the Internet work❓

GIF

Let's Take a Deep Dive! 🌊

Your data is stored in a place called a Data Center, and your device is connected to that data center through Submarine Cables. πŸš€

(Want to know more about Submarine Cables? Refer to this.)

The blog you're reading, for example, is stored in a Data Center on a solid-state device (or SSD) in a Server, similar to the internal memory of your smartphone, Computer, etc. πŸ›³οΈ

That's the main idea of it! πŸ˜„

But how does the data actually reach you through these submarine cables? πŸ€”

GIF

This is where IP addresses come in. IP addresses are like unique home (🏑) addresses.

Just like when you order something online πŸ“¦ and it's delivered to your home address, Similarly, data is delivered to you using your IP address as the reference for the destination. for example, your Computer πŸ–₯️ .

The server that holds the data also has an IP address, and data is accessed using that address. The Internet service provider (ISP) is responsible for providing IP addresses. 🌟

Is it Clear? πŸ€”

If Yes!, then let's Move on! πŸ˜€

So many IPs, How to remember them❓

GIF

However, remembering IP addresses is inefficient and not-possible because there are so many of them, and they can change.

To solve this, we have Domain names that directly correspond to IP addresses. πŸ“•

It's like a phonebook ☎️, where phone numbers are mapped to the names of the owners.

When you enter a domain name in your browser, such as user.com, your browser sends a request to a DNS server to get the corresponding IP address. πŸ“¦

Once the IP address is retrieved, the browser sends the request to the data center's server containing the data at that IP address. 🫑

The requested data then travels from the data center to you through submarine cables and reaches your device via a router or in the case of cellular data through a cell tower πŸ—Ό.

Why is data transfer over the Internet so much efficient❓

It's because the data is broken down into smaller parts called Data PacketsπŸ“¦.

These packets make the flow of data more efficient. Each data packet contains the IP address, sequence number of the server, and client (user). 🌊

This information helps the data packets reach your device in the correct order. πŸ’«

If a data packet is lost along the way, an acknowledgment is sent to the server or data center to resend the lost packet. πŸ“¨

The sequence numbers on the data packets help with reassembling the data in the right order once most of the packets reach the destination. πŸ“Ά

Congratulations!🌟

You just gained foundational Knowledge about the Internet and It's Working!

GIF

If you read this Blog post and found it useful then do like this Blog post, Share your Precious Feedback, and Follow me on Dev.To. Also, follow me on Twitter, I'm much Active there!. Feel free to DM me if you have any doubts/queries.

Thanks!

GIF

Top comments (7)

Collapse
 
ayaan49 profile image
Ayaan Bordoloi

Great blog! The information provided here was top notch πŸ’ͺ
However, I have a doubt. You mentioned that the data travels through submarine cables, right? I wanted to know if you are referring only to wired data or if wireless data is also included. Please clarify my doubt.

P.S. Really loved the Breaking Bad GIF's used in this blog xD

Collapse
 
kevinluo201 profile image
Kevin Luo

yeah, science, bxxch!πŸ˜†

Collapse
 
ayaan49 profile image
Ayaan Bordoloi

Lmao 🀣

Collapse
 
satyxm profile image
Satyam Singh

Haha!, Yes Sir!

Collapse
 
satyxm profile image
Satyam Singh

Thanks for the Feedback Ayaan!

The main context about what I wanted to share was that data travels through these submarine cables and then, reaches our devices via signals like the signals are received by the cell towers, and then, these cell towers send the signal to our devices through electromagnetic waves and hence, our data is received.

I think it applies to the Wireless data also!

Hope it's Clear!

Btw, We learn everyday new things, So feel free to share any point that might be useful for this topic. Maybe it increases my knowledge also!

Collapse
 
stanivanov19 profile image
Stanislav Ivanov

I think this article is a great idea, there is definitely a somewhat lack of content in regards to the "low-level". Although it may have been the main idea, I am still going to say it. It was a bit over-simplifying.
Still, good job !

Collapse
 
satyxm profile image
Satyam Singh

This blog post was for beginners that's why I tried to explain it to someone who doesn't know about all these technical terms, in simple language. That's why it's oversimplified!

Btw, It's a pretty good criticism and I love good criticism because it makes me improve the quality of my content!

Thanks for the Feedback Stanislav!