DEV Community

Cover image for What is Peer-to-Peer(P2P) Network?
Mashhood Ahmed
Mashhood Ahmed

Posted on

What is Peer-to-Peer(P2P) Network?

A Peer-to-Peer (P2P) network is a network in which no separate server or computer/node controls the network Rather, everyone has the same permissions and responsibilities. Each computer in this network is called a peer, and all these peers are connected with each other. Unlike client/server network, each peer in P2P network act sometimes as a client and sometimes as a server. This network is mostly used for file/resource sharing purposes.

Image description

Applications

  • Bitcoin
  • Content Delivery
  • File Sharing

Advantages

  • Does not need an expensive server because individual nodes are used to access the files
  • If one computer fails it will not disrupt any other part of the network
  • Much easier to set up than a client-server network

Disadvantages

  • Files and folders cannot be centrally backed up
  • it can slow down the performance because each computer might be accessed by others.

Thanks for reading

Top comments (0)