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

Image of Timescale

🚀 pgai Vectorizer: SQLAlchemy and LiteLLM Make Vector Search Simple

We built pgai Vectorizer to simplify embedding management for AI applications—without needing a separate database or complex infrastructure. Since launch, developers have created over 3,000 vectorizers on Timescale Cloud, with many more self-hosted.

Read more →

Top comments (0)

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