1 / 12

P2P & WWW

P2P & WWW. Application-level overlays. Site 2. Site 3. N. One per application Nodes are decentralized NOC is centralized. N. N. ISP1. ISP2. Site 1. N. N. ISP3. N. Site 4. P2P systems are overlay networks without central control.

jed
Télécharger la présentation

P2P & WWW

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. P2P & WWW

  2. Application-level overlays Site 2 Site 3 N • One per application • Nodes are decentralized • NOC is centralized N N ISP1 ISP2 Site 1 N N ISP3 N Site 4 P2P systems are overlay networks without central control

  3. Client-Server Versus Peer-to-Peer Network Architecture • A simple distinction • Client-server • Computers perform asymmetric functions • Peers-to-Peer (P2P) • Computers perform symmetric functions • Different architectures offer different benefits • Pure P2P networks are rare • Most P2P networks rely on centralized server for some functions

  4. …a technology that enables two or more peers to collaborate spontaneously in a network of equal peers by using appropriate information and communication systems without the necessity for central coordination. File/information/resource sharing Equal peers Decentralization What is P2P?

  5. Client/Server Model Peer to Peer Model Assumption Assumption Workstation is powerful enough to do some jobs Workstation is so powerlessthat it can not do any task. Other workstation and server can remote-control the workstation Only User (Operator) can control the workstation Server Server result Order result Order Pure P2P Workstation (Client) Workstation (Client) Workstation (Client)

  6. Client-Server vs. Peer-to-Peer Example Peer-to-Peer Client–Server

  7. Large-Scale Data Sharing:P2P Internet Client Client Cache Proxy Client Client Client server server Client Peer-to-peer model Client Client/Server Client/Server Congestion zone Client/Server Client Client Client Client/Server Client/Server server server Client/server model Client/Server Congestion zone Client/Server Client/Server Client/Server

  8. Client-Server File SharingThe MP3.com Architecture 1. Have any Metallica songs? Machine A 2. Yes 3. Please send one 4. Here it is MP3.com Note: A few years ago, a band called Metallica sued a file sharing service (Napster) for allowing illegal music exchange over it’s network.

  9. Peer-to-Peer File SharingIn Action • Interacting Messages • Ping: “Are you there?”: Directed at a Peer • Pong: “Yes, I am here” • Query: “I am looking for 007 posters” • Query Response: “I have the poster. Download from xxx.xxx.xxx.xxx:xx • All these messages are forwarded from a Peer to its neighbors

  10. DFS Variations • DFS: Distributed File Sharing

  11. Peer-to-Peer File Sharing model • Users register files with network neighbors • Search across the network to find files to copy • Does not require a centralized broker • Example:Gnutella Copying Final Fantasy 4 Bob Carol Where is Final Fantasy 4? Carol has Final Fantasy 4 Where is Final Fantasy 4? Alice Ted Carol has it

  12. Netflow Statistics Students’ usage One hour Incoming Usage by Protocol

More Related