How does the Internet work?

The Internet is a network. It works by using a technique called packet switching, and by relying on standardized networking protocols that all computer can interpret.

What is the Internet? 

Before we cover what the Internet is, we define what a “network” is. A network is a group of connected computers that are able to send data to each other. A computer network is much like a social circle, which is a group of people who all know each other, regularly exchange information, and coordinate activities together.

The Internet is a vast, sprawling collection of network that connect to each other. In fact, the word “Internet” could be said to come from this concept: interconnected network.

Since computer connect to each other within network and these networks also all connect with each other, one computer can talk to another computer in a faraway network thanks to the Internet. This makes it possible to rapidly exchange information between computers across the world.

Computer connect to each other and to the Internet via wires, cables, radio eaves, and types of networking infrastructure. All data sent over the Internet is translated into pluses of light or electricity , also called “bits”, and then interpreted by the receiving computer. The wires, cables, and radio waves conduct these bits at the speed of light. The more bits that can pass over these wires and cables at once, the faster the Internet works.

What is distributed networking, and why is this concept important for the internet?  

There is no control for the Internet. Instead, it is a distributed networking system, meaning it is not depended on any individual machine. Any computer or hardware that can send and receive data in the correct fashion (e.g. using the correct the networking protocols) can be part of the Internet.

The Internet’s distributed nature makes it resilient. Computers, servers, and other pieces of networking hardware connect and disconnect from the Internet all the time without impacting how the Internet functions-unlike a computer, which may not function at all if is missing a component. This applies even at a large scale: if a server, an entire data center, or an entire region of data centers goes down, the rest of the Internet can still function (if more slowly).

How does the Internet work?

There are two main concepts that are fundamental to the way the Internet function: packets and protocols.

Packets

In networking, a packet is a small segment of a large message. Each packet contains both data and information about that data. The information about the packet’s contents is know as the “header” and it goes at the front of the packet so that the receiving machine knows what to do with the packet. To understand the purpose of a packet header, think of how some consumer products come with assembly instruction.

When data gets sent over the Internet , it is first broken up into smaller packets, which are then translated into bits. The packets get routed to their destination by various networking such as routers and switches. When the packets arrive their destination, the receiving device reassemble the packets in order and can then user or display the data.

Compare this process to the way the United states’ States of Liberty was constructed. The status of Liberty was first designed and built in France. However, it was too large to fit onto a ship, so it was shipped to piece belonged. Workers who receive the pieces reassembled them into the statue that stands today in New York.

Protocols

Connecting two computers, both of which may use different hardware and run different software, is one main challenged that the creators of the Internet had to solve. It requires the uses of communications techniques that are understandable by all connected computers, just as two people who grew up in different parts of the world may need to speak a common language to understands each other

This problem is solved with standardized protocols/ In networking, a protocols is a standard way of doing certain actions and formatting data so that two more devices are able to communicate with and understands each other.

There are protocols for sending packets between device on the same network (Ethernet), for sending packets from network to network (IP), for ensuring those packets successfully arrive in order(TCP), and for formatting data for websites and applications(HTTP). In addition to these foundation protocols, there are alternatives to the protocols for routing, testing, and encryption. And there are alternative to the protocols listed above for different types of content – for instance, streaming video often uses often UDP instead of TCP

Because all Internet-connected computers and device can interpret and understand these protocols, the Internet works no matter who or what connects to it.

What physical infrastructure makes the Internet work?

A lot of different kinds of hardware and infrastructure go into making the Internet work for everyone. Some of the most important types include the following:

  • Routers forward packets to different computer network based on their destination. Router are like the traffic cops of the Internet, making sure that Internet traffic goes to their right networks.
  • Switches connect devices that share a single network. They use packed switching to forward packets to the correct devices. They also receive outbound packets from those devices and pas them along to the designation.
  • We servers are specialized high-powered computers that store and serve content( webpages, image, video) to users, in addition to hosting applications and databases. Serves also respond to DNS queries and perform other important tasks to keep the Internet up and running. Most servers are kept in large data centers, which are locked throughout the world.

How do these concepts relate to websites and applications users access over the Internet?

Consider this article. In order for you to see it, it was sent over the Internet piece by piece in the from of several thousand data packets. These packets traveled over cables and radio waves and thought routers and switches from our web server to your computer or device. Your computer or smartphone receive those packets and passed them to your device’s browser, and your browser interpreted the data within the packets in orders to display the text you are reading now.

The specific steps involved in this process are:

1.DNS query: When your browser started to load this webpage, it likely first made a DNS query to find out the Cloudflare website’s IP address.

2.TCP handshake: Your browser opened a connection with that IP address.

3.TLS handshake: Your browser also set up encryption between a Cloudflare web server and you device that attackers cannot read the data packets that travel between those two endpoints.

4.HTTP request: Your browser the requested the content that appears on this webpage.

5.HTTP response: Cloedflare’s server transmitted the content in the from of HTML, CSS, and JavaScript code, broken up into a series of data packets, Once your device received the packets and verified it had received all of them, your browser interpreted the HTML, CSS, and JavaScript code contained in the packets to render this article about how the Internet works. The whole process took only a second or two.

AS you can see, serveral different processes and protocols are involved in loading a webpage. You can learn more about these technologies in other parts of the Cloudflare Learning Center:

  • DNS
  • TCP
  • TLS
  • HTTP

Leave a Comment