Please enable JavaScript.
Coggle requires JavaScript to display documents.
Peer to peer paradigm - Coggle Diagram
Peer to peer paradigm
P2P Networks
-
a) Centralized Networks
- Centralized networks make the maintenance of the directory simple but have several drawbacks.
- 1) Accessing the directory can generate huge traffic and slow down the system.
- 2) The central servers are vulnerable to attack, and if all of them fail, the whole system goes down.
- When a peer in the network has a file to share, it makes it
-
- An interested peer can connect itself to the computer where the file is stored and download it.
-
-
Unstructured Networks
- A search in an unstructured P2P is not very efficient because a query to find a file must be flooded through the network, which produces significant traffic and still the query may not be resolved.
- Two examples of this type of network are Gnutella and Freenet.
- In an unstructured P2P network, the nodes are linked randomly.
Structured network
- A structured network uses a predefined set of rules to link nodes so that a query can be effectively and efficiently resolved.
- The most common technique used for this purpose is the Distributed Hash Table (DHT).
- DHT is used in many applications including P2P file sharing.
- One popular P2P file sharing protocol that uses the DHT is
-
BITTORRENT
-
- However, the term sharing in this context is different from
-
- Instead of one peer allowing another peer to download the whole file, a group of peers takes part in the process to give all peers in the group a copy of the file.
- File sharing is done in a collaborating process called a
-
- BitTorrent is a P2P protocol, designed by Bram Cohen, for
-
-
Introduction
- The first instance of peer-to-peer file sharing goes back to
December 1987 when Wayne Bell created WWIVnet.
Gnutella
- The Gnutella network is an example of a peer-to-peer network that is decentralized but unstructured.
- It is unstructured in the sense that the directory is randomly distributed between nodes.