Hassan Amiri

How the internet works (from a beginner's pov)

Introduction

How does the internet work? The understanding of how the internet works has always seem like magic to most of us, Or some of us just don't care, and that's alright for a non technical person, but as a developer understanding how the internet works is really crucial in creating applications that communicate over networks and ensuring data are transmitted securely.

We won't be going that much in depth in this essay, But you will know enough to understand the basic concepts of the internet.

Short history of the internet

Come with me to America during the cold war in the 1950s, The launch of Sputnik by the Soviet Union in 1957 spurred the U.S. to invest heavily in scientific and technological research, The idea was that the U.S only relied on a centralized telephone network, Which is really a big problem at the time because If a central hub was destroyed, communication could be completely cut off.

So the idea of a distributed network was born based on a concept known as packet switching; What this means is that, instead of transmitting data or packets to another computer with only one possible route, we could distribute the packets over many route

If one route is destroyed, The packets can just easily re-route to get to their specific destination. for more in-depth history you can check history of the internet.

What is the internet

The internet is a network of interconnnected computers that communicate with each other using standardized protocols.

understanding network:

network is simply the connection of multiple devices, for instance; you might have a network of computer and devices, your neighbors, your friends might do too, so this connection together as one forms the internet.

understanding standardized protocol:

these are two words right; standardized: Things we all agree on, protocol: rules of how we do those things, so we could say standardized protocols are set of rules we all agreed upon so computers can communicate effectively.

Basic concepts and terminology

understanding these basic concepts would really help you digest the flow of how the internet works.

introduction to HTTP and HTTPS

conclusion

we've covered enough to get the basic understanding of how the internet works, Also this blog was written for me to put my understanding in place from following the backend road map on roadmap.sh/backend,

If you'd like to correct me or you dont understand a particular concepts, you could hit my mail: hassanamiri.ai@gmail.com or reach out on twitter.