Presentation is loading. Please wait.

Presentation is loading. Please wait.

Jay Sheth P2P Basics Jay Sheth CE, UMBC. Jay Sheth P2P Agenda What is P2P Why P2P Components and algorithms Characteristics Different P2P systems Future.

Similar presentations


Presentation on theme: "Jay Sheth P2P Basics Jay Sheth CE, UMBC. Jay Sheth P2P Agenda What is P2P Why P2P Components and algorithms Characteristics Different P2P systems Future."— Presentation transcript:

1 Jay Sheth P2P Basics Jay Sheth CE, UMBC

2 Jay Sheth P2P Agenda What is P2P Why P2P Components and algorithms Characteristics Different P2P systems Future Work

3 Jay Sheth What is P2P ? Peer is a entity that has attributes similar to other entities in system P2P is a technology and not a protocol Process whereby computers trade information between each other without having to pass the information through a centrally controlled server Sharing of computer resources (information, processing) and services by direct exchange between systems

4 Jay Sheth What is P2P ? Computer Systems Centralized Systems E.g.. Mainframes Distributed Systems Client Server FlatHierarchical Peer to peer PureHybrid

5 Jay Sheth Why P2P ? Scalability increases by avoiding dependency on centralized points Eliminates the need of costly infrastructure by enabling direct communication among clients (cost sharing/reduction) Enabling resource aggregation

6 Jay Sheth Components Communication ManagementMessagingMeta-data Services Scheduling ApplicationsTools Resource aggregation SecurityReliability Locating, routingDiscovery Communication Group Management Robustness Class-specific Application-specific

7 Jay Sheth Algorithms Centralized directory model Index : All peers publish information about the content they offer for sharing Napster

8 Jay Sheth Algorithms Flooded requests model - Pure P2P model - Broadcast to all nodes Gnutella

9 Jay Sheth Algorithms Flooded requests model modified

10 Jay Sheth Algorithms Document routing model - Very efficient for large global communications - Difficult to implement - Islanding problem - Freenet

11 Jay Sheth Characteristics Decentralization Centralized systems - Ideal for some applications - Bottlenecks - Inefficient use of resources - Expensive to setup - Hard to maintain Decentralized systems - Fully decentralized is difficult in practice - Hybrid approach

12 Jay Sheth Characteristics Scalability - Immediate benefit of decentralization - At expense of performance guarantee - Hybrid approach - E.g. Napster : Users to directly download music files Some operations, files centralized

13 Jay Sheth Characteristics Anonymity - Receiver Multicasting (underlying network should support multicast) E.g. Gnutella - Sender Covert paths

14 Jay Sheth Characteristics Self-Organization - Scaling results in increase in probability of failures - Requires self-maintenance, self-repair of systems - Costly to have dedicated equipment, hence distributed E.g. OceanStore, self-organization applied to location and routing infrastructure

15 Jay Sheth Characteristics Cost of Ownership - Cost of owning systems, content and maintenance - Elimination of centralized computers for storing information E.g. Napster, each member contributes to pool of music files. SETI@home faster than fastest supercomputer in world, cost is 1%

16 Jay Sheth Characteristics Ad-hoc Connectivity - Everything not connected to the internet - Ad-hoc groups should be able to form ad-hoc networks to collaborate - Bluetooth and infrared have limited radius of accessibility - P2P need to be designed to tolerate sudden disconnection/additions

17 Jay Sheth Characteristics Performance - Significant concern - Influenced by processing, storage, networking - Aggregating distributed storage capacity e.g. Napster, Gnutella - Aggregating computing cycles e.g.. SETI@Home - Networking delays in WAN - Bandwidth for large number of messages/files. Limits scalability of system - Optimize performance Replication – Cope with disappearance of peers Caching – Reduce path length Intelligent routing – Minimize distance delay

18 Jay Sheth Characteristics Security - For common distributed objects - Multi-key encryption - Sandboxing : External code doesn’t crash host - Digital Rights Management to save intellectual property Watermarking : Add a sign in file that is unrecognizable - Reputation and accountability Concept of good peer and freeloader

19 Jay Sheth Characteristics Transparency and Usability - Naming transparency using URLs - Administration transparency - Network and device transparent i.e. work on internet, intranet and private networks User can use P2P applications in following manner User of services, typically Web interfaces Locally installed P2P software e.g.. Napster

20 Jay Sheth Characteristics Fault resilience - Disconnection and node failures - Special nodes called relays - Store communication temporarily until destination reappears - Magi : queue messages at source until presence of destination peer detected - Napster and Gnutella : Replication of crucial resources based on file’s popularity - Network failure can be solved by routing around the failure

21 Jay Sheth Characteristics Interoperability - P2P systems - Interoperate, communicate( what protocol), exchange data, same level of security, QoS and reliability - Still not supported

22 Jay Sheth P2P Systems Distributed Computing File sharingCollaborationPlatforms

23 Jay Sheth Distributed Computing - Processing scalability in massive multi-parameters systems - Run by a central controller - Fork and join mechanism - Limitations Independent small parts Internet latencies - Intel claim speed-ups from 15hours to 30 minutes in case of interest rate swap modeling by using P2P

24 Jay Sheth File Sharing - Content storage and exchange is where P2P is most successful Napster : Search mechanism is centralized File sharing mechanism is decentralized Scalability limitations Simplifies security mechanism

25 Jay Sheth File Sharing Kazaa : Uses SuperNodes as local search hubs Intelligent download system i.e. find and download from fastest connection. Failed transfers are automatically resumed

26 Jay Sheth Collaboration - Application level collaboration between users - Event based applications such as Instant messaging, chat, online games - Challenges Location of other peers (e.g.. NetMeeting requires to know other peers IP address) Real time constraints e.g.. Game DOOM

27 Jay Sheth Platforms - Platforms have support for primary P2P components : naming, discovery, communication, security and resource aggregation - Candidates for future P2P platform :.net, JXTA

28 Jay Sheth Comparison of Solutions

29 Jay Sheth Future Work P2P algorithms World becomes decentralized, need for P2P algorithm to overcome scalability, anonymity and connectivity problems P2P applications Most likely to succeed in future P2P platforms JXTA widely adopted

30 Jay Sheth References Peer-to-peer Computing Dejan S. Milojicic, Vana Kalogeraki, Rajan Lukose, Kiran Nagaraja, Jim Pruyne, Bruno Richard, Sami Rollins, Zhichen Xu HP Laboratories Palo Alto bsdq.org http://www.bsdg.org/Jim/Peer2Peer/Paper/3214.html

31 Jay Sheth


Download ppt "Jay Sheth P2P Basics Jay Sheth CE, UMBC. Jay Sheth P2P Agenda What is P2P Why P2P Components and algorithms Characteristics Different P2P systems Future."

Similar presentations


Ads by Google