Peer-to-peer

From WikiMD's Wellness Encyclopedia

P2P network.svg
Server-based-network.svg
Error creating thumbnail:
Error creating thumbnail:
Structured (DHT) peer-to-peer network diagram.png

Peer-to-peer (P2P) is a decentralized communications model in which each party has the same capabilities and either party can initiate a communication session. Unlike the traditional client-server model, in P2P networks, each node, called a peer, functions as both a client and a server. This model is used for various applications, including file sharing, content distribution, and collaborative work.

History[edit | edit source]

The concept of peer-to-peer networking dates back to the early days of the Internet. One of the earliest and most well-known P2P applications was Napster, a file-sharing service that allowed users to share music files. Napster's success led to the development of other P2P networks such as Gnutella and BitTorrent.

Architecture[edit | edit source]

In a P2P network, each peer is both a supplier and a consumer of resources, in contrast to the traditional client-server model where clients request resources and servers provide them. P2P networks can be classified into two types:

  • Unstructured P2P networks: These networks do not impose a specific structure on the overlay network by design. Peers randomly form connections to each other. Examples include Gnutella and Kazaa.
  • Structured P2P networks: These networks use a specific structure to organize the overlay network. They typically employ a distributed hash table (DHT) to ensure efficient data retrieval. Examples include BitTorrent and Chord (DHT).

Applications[edit | edit source]

P2P networks are used in a variety of applications, including:

  • File sharing: P2P networks are widely used for sharing large files, such as videos and software. BitTorrent is one of the most popular protocols for this purpose.
  • Content distribution: P2P networks can be used to distribute content more efficiently by leveraging the resources of multiple peers. This is often used in content delivery networks (CDNs).
  • Collaborative work: P2P networks can facilitate collaborative work by allowing multiple users to share and edit documents in real-time. Examples include Google Docs and Microsoft OneDrive.

Advantages and Disadvantages[edit | edit source]

Advantages[edit | edit source]

  • Scalability: P2P networks can scale easily as more peers join the network.
  • Fault tolerance: The decentralized nature of P2P networks makes them more resilient to failures.
  • Resource sharing: P2P networks can efficiently utilize the resources of all peers, reducing the load on any single node.

Disadvantages[edit | edit source]

  • Security: P2P networks can be more vulnerable to security threats, such as malware and unauthorized access.
  • Management: The decentralized nature of P2P networks can make them more difficult to manage and monitor.
  • Bandwidth consumption: P2P applications can consume significant amounts of bandwidth, which can be a concern for network administrators.

See Also[edit | edit source]

References[edit | edit source]

External Links[edit | edit source]

WikiMD
Navigation: Wellness - Encyclopedia - Health topics - Disease Index‏‎ - Drugs - World Directory - Gray's Anatomy - Keto diet - Recipes

Search WikiMD

Ad.Tired of being Overweight? Try W8MD's physician weight loss program.
Semaglutide (Ozempic / Wegovy and Tirzepatide (Mounjaro / Zepbound) available.
Advertise on WikiMD

WikiMD's Wellness Encyclopedia

Let Food Be Thy Medicine
Medicine Thy Food - Hippocrates

Medical Disclaimer: WikiMD is not a substitute for professional medical advice. The information on WikiMD is provided as an information resource only, may be incorrect, outdated or misleading, and is not to be used or relied on for any diagnostic or treatment purposes. Please consult your health care provider before making any healthcare decisions or for guidance about a specific medical condition. WikiMD expressly disclaims responsibility, and shall have no liability, for any damages, loss, injury, or liability whatsoever suffered as a result of your reliance on the information contained in this site. By visiting this site you agree to the foregoing terms and conditions, which may from time to time be changed or supplemented by WikiMD. If you do not agree to the foregoing terms and conditions, you should not enter or use this site. See full disclaimer.
Credits:Most images are courtesy of Wikimedia commons, and templates Wikipedia, licensed under CC BY SA or similar.

Contributors: Prab R. Tumpati, MD