How does the Internet work

What is ISP, DNS, IP address

No alt text provided for this image

Browsing the web

What happens technically when we open up a web browser like Google Chrome, Safari or Microsoft Edge type in?youtube.com?and press enter?

We send a message to our?ISP?and ask it where to find?youtube.com.?ISP?stands for?Internet Service Provider, these are the companies we pay to so we can have internet access. In the US that is AT&T, Verizon, or Spectrum, in Europe that would be Telecom or Vodafone, and so on. Depending on your country you have different ISP companies that make money from internet usage.

No alt text provided for this image

So ISP gets our message asking for?youtube.com?and it sends that off to?DNS.?DNS?stands for?Domain Name System, which is basically a server matching website URLs (like?youtube.com) to their corresponding addresses.

No alt text provided for this image

DNS replies to ISP that?youtube.com?matches with 208.65.153.238 this address and ISP sends this address back to our browser.

No alt text provided for this image
No alt text provided for this image

These numbers that we received is an?IP (Internet Protocol) address, anything that is connected to the internet has its own unique IP address like your computer or your smartphone. This is used to identify devices on the internet.

Now that our browser knows the IP address of?youtube.com?it sends off another request to that address which is the address of the YouTube server.

No alt text provided for this image

Servers?are computers located in data centers or server farms that store and send files when you ask for them. And with this request, our browser asks the YouTube server to return these files.

YouTube server responds to us with HTML, CSS, and JavaScript files. These are just text files that our browser will use to render?youtube.com?on our screen.

No alt text provided for this image

This whole process happens underneath the hood every time we open a website. However, since the internet is blazingly fast it happens in just a few seconds.

And if you know the IP address of a website you can directly search for it instead of typing?youtube.com. But in practice, nobody remembers the IP addresses of websites and there’s no point in it since everything is super fast.

What happens physically?

Let’s also understand what these requests mean in the real world.

We usually have a router in our house which gives us internet over wifi or cable. This router is connected to a modem installed in our house which allows the ISP to connect to it.

The modem sends a signal to wireless transmitters until it reaches the ISP, and then ISP connects to the world wide web using a physical cable.

No alt text provided for this image

What do we mean by the world wide web? These are physical cables that go to the bottom of the sea floor from your country to the Google data centers where the YouTube server is located.

#internet #howinternetworks #isp #dns #ipadress

要查看或添加评论,请登录

Hayk Simonyan的更多文章

  • Beginner’s Guide to Prompt Engineering with ChatGPT

    Beginner’s Guide to Prompt Engineering with ChatGPT

    Intro Prompt Engineering is one of the highest-leverage skills that you can learn in 2023. Whether you’re developing…

  • Functional Programming Simplified

    Functional Programming Simplified

    Introduction Functional Programming revolves around the principle of separating concerns, specifically the separation…

  • REST vs GraphQL

    REST vs GraphQL

    Introduction RESTful and GraphQL APIs are two popular choices for building web APIs, each with its own strengths and…

  • React Lifecycle Methods and Their Equivalents in Functional Components

    React Lifecycle Methods and Their Equivalents in Functional Components

    React is the most popular JavaScript library for building user interfaces, and it provides a set of lifecycle methods…

    1 条评论
  • Deploying a NestJS app for Free on?Cyclic

    Deploying a NestJS app for Free on?Cyclic

    Introduction In this article, we’re going to deploy a Nestjs app for free on Cyclic Cyclic is a cloud platform that…

    1 条评论
  • Master TypeScript Interviews

    Master TypeScript Interviews

    Intro Are you preparing for a TypeScript interview and want to know what to expect? In this article, we'll go over the…

  • 7 Design Patterns You Should Know

    7 Design Patterns You Should Know

    What are Design Patterns? Design patterns are repeatable solutions to commonly occurring problems in software design…

  • What is Dependency Injection?

    What is Dependency Injection?

    Dependency Injection (DI) is a programming design pattern that makes a class independent of its dependencies. It…

  • OOP Concepts Simplified

    OOP Concepts Simplified

    Intro In this article, we’ll look at the core OOP concepts with real code examples, which will make it easier for you…

  • Deploying Your Website to Firebase

    Deploying Your Website to Firebase

    Introduction In this article, we will deploy your website frontend to Google Firebase for FREE in less than 5 minutes…

社区洞察

其他会员也浏览了