Università degli Studi di Pisa Dipartimento di Informatica MASTER DEGREE COMPUTER SCIENCE COMPUTER SCIENCE AND NETWORKING Peer to Peer Systems LAURA RICCI 2/5/2011 Dipartimento di Informatica Università degli Studi di Pisa Laura Ricci 1 WHY A P2P SYSTEMS COURSE? P2P applications have become extremely popular and currently contribute to a vast amount of Internet traffic The present: lots of P2P applications, developed in the last decade: File Sharing, the killer Application: Gnutella, Kazaa, E-Mule, Bittorrent P2P Telephony Skype P2P TV Sopcast The future: several accademic research projects Massively Multiplayer Online Games P2P Social Network (SafeBook) Dipartimento di Informatica Università degli Studi di Pisa Laura Ricci 2 CLIENT SERVER VERSUS PEER TO PEER Client Server Peer to Peer Asymmetric: client / server Symmetric: no distinction among nodes Global knowledge of the network Limited Local Knowledge Single Point of Failure Robustness Limited Scalability High Scalability Detectability Anonimity Expensive Low Cost Dipartimento di Informatica Università degli Studi di Pisa Laura Ricci 3 P2P SYSTEMS: THE CHALLENGES even if P2P systems offer interesting features, a set of challenging problems need to be solved what are the challenges? distributed models/algorithms developed in the past cannot be exploited because of their limitations investigation of mathematical models distributed algorithms (routing, resource detection,...) linguistic constructs taking into account massive amount of nodes high dinamicity of the system untrusted nodes Dipartimento di Informatica Università degli Studi di Pisa Laura Ricci 4 P2P SYSTEMS: THE CHALLENGES Application level P2P Overlays unstructured overlays: Gnutella, Kazaa, Bitorrent structured overlays: Distributed Hash Tables: Chord, Kademlia.... Delaunay Overlays,... Statistical analysis of overlays: investigation of the properties of the overlay Random Graphs Small Worlds Scale Free Networks Probabilistic algorithms Random walks (Markov processes,...) Probabilistic data structures (Bloom filters,.....) Dipartimento di Informatica Università degli Studi di Pisa Laura Ricci 5 P2P SYSTEMS: THE CHALLENGES Startegies to cope with the high churn. P2P systems are highly dynamic, peer can join /leave the overlay at each time. This requires mechanisms for statistical modelling of user behaviour overlay reconfiguration avoiding data loss: replication strategies Cooperation Incentives: detection of free riders credit systems chocking algorithms game theory Dipartimento di Informatica Università degli Studi di Pisa Laura Ricci 6 EXAMINATION RULES Exam Rules: a written exam or a project oral exam can be replaced by the solution of a set of mid term assignments Project development is strongly recommended Examples of projects proposed in the last years: analysis of the topology of unstructured overlays extension of existing Distributed Hash Tables analysis of a well known P2P client Programming Environments for the development of the project: Overlay Weaver Peersim Dipartimento di Informatica Università degli Studi di Pisa Laura Ricci 7 THESIS PROPOSALS Several bachelor and master thesis completed in the last years XtreemOS European Project: definition of a P2P distributed directory P2P support for distributed virtual environments see subjects of past thesis at http://www.di.unipi.it/~ricci/masterbachelorthesis.htm download thesis reports from http://etd.adm.unipi.it/ Some proposal available on the Computer Science and Networking page Further proposals will be available on the course page http://www.di.unipi.it/~ricci/ Dipartimento di Informatica Università degli Studi di Pisa Laura Ricci 8