DEV Community

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

Posted on

1

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

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay