Nepedia
Back to Discover
Fluent Reader
💻

Peer-to-peer

technology Maturity 9-11 war conflict Next article →

This article covers sensitive topics: war_conflict. Parents can manage visibility in Parental Controls.

Computers can work together in many different ways. One way is called a peer-to-peer network, or P2P.

P2P network
P2P network

In this system, people share their own resources. These resources might be processing power, storage, or network capacity. Every participant acts as both a provider and a requester. This is very different from the client-server model. In that model, a central server provides everything to the clients.

Server-based-network
Server-based-network

In P2P, there is no single boss computer in charge. This makes the network more distributed across many different users.

There are two main ways these networks organize themselves. The first way is called an unstructured network. In these networks, peers connect to each other in a random way. They are easy to build and very strong. They work well even when many people join or leave.

Unstructured peer-to-peer network diagram
Unstructured peer-to-peer network diagram

However, finding a rare file can be a hard job. A peer must send a search query to many others. This creates a lot of extra traffic on the network. The second way is called a structured network. These use a tool called a distributed hash table, or DHT.

Structured (DHT) peer-to-peer network diagram
Structured (DHT) peer-to-peer network diagram

This helps peers find even very rare files quickly.

The idea of computers sharing has been around for a long time. The early Internet used a system called ARPANET. In ARPANET, every node could request and serve content. Later, a system called Usenet was made in 1979. It was a messaging system that used a decentralized model. In May 1999, Shawn Fanning introduced Napster. Napster was a music-sharing application. It helped make P2P networks famous to many people.

It allowed users to form a virtual network without any central authority.

Different networks use different rules to find data. Unstructured networks like Gnutella or Kazaa use random connections. They are great for popular files that many people have. Structured networks like the Kad network use the DHT to assign files to specific peers. This is more efficient for searching. Some systems are hybrids. A hybrid model combines both ways of working. For example, Spotify used a hybrid model until 2014.

DHT en
DHT en

A central server might help peers find each other first. This makes the whole system perform much better.

Peer-to-peer technology is part of our everyday lives. You might use BitTorrent to share files over the Internet. You might even use Bluetooth or Miracast to show things on a screen.

Torrent peers
Torrent peers

These systems rely on the same P2P ideas. However, these networks also face some security challenges. Because every peer acts like a server, they can be targets for attacks. Some people might try to send false information to the network. This is called a routing attack. Even with these risks, P2P helps us connect and collaborate globally.

451 words

Where will your curiosity go next?

Keep exploring at your chosen reading level.

🖼️ Images & Media (9)
File:P2P network.svg
P2P network.svg
File:Server-based-network.svg
Server-based-network.svg
File:SETI@home Multi-Beam screensaver.png
SETI@home Multi-Beam screensaver.png
File:Unstructured peer-to-peer network diagram.png
Unstructured peer-to-peer network diagram.png
File:Structured (DHT) peer-to-peer network diagram.png
Structured (DHT) peer-to-peer network diagram.png
File:DHT en.svg
DHT en.svg
File:Yacy-resultados.png
Yacy-resultados.png
File:Torrent peers.png
Torrent peers.png
File:Torrentcomp small.gif
Torrentcomp small.gif
More to explore

What is Nepedia?

A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.