Peer-to-Peer Networks

Similar documents
Systems. P2P Principle. Definition of P2P. Grid scope

The Role and uses of Peer-to-Peer in file-sharing. Computer Communication & Distributed Systems EDA 390

PEER-TO-PEER NETWORK

Peer-to-Peer Networks. Chapter 2: Initial (real world) systems Thorsten Strufe

Client/server and peer-to-peer models: basic concepts

Three short case studies

Peer-to-Peer Systems: "A Shared Social Network"

Computers and Media: P2P and Business Models CSCI 1200 COMPUTERS & MEDIA, JAREK SZLICHTA

Peer-to-Peer Networks. Chapter 6: P2P Content Distribution


Evolution of Peer-to-Peer Systems

Peer-to-Peer Networks Organization and Introduction 1st Week

The new popular Internet communication tools and the risks for the company information system

CSCI-1680 CDN & P2P Chen Avin

Multicast vs. P2P for content distribution

Online music distribution Core-Edge Working Group Meeting, September 28-29, 2004 Natalie Klym Research Associate, MIT CFP

Distributed Systems. REK s adaptation of Prof. Claypool s adaptation of Tanenbaum s Distributed Systems Chapter 1

Systems for Fun and Profit

Web DNS Peer-to-peer systems (file sharing, CDNs, cycle sharing)

Skype network has three types of machines, all running the same software and treated equally:

Computer Networks and the Internet

Base: All respondents 501. Fee-based service like itunes Music Store % Free service like KaZaa, Limewire, or BitTorrent %

Grid Computing Vs. Cloud Computing

ResNet Guide. Information & Learning Services. Here to support your study and research

Application and Infrastructure Monitoring In A Distributed World Beyond Summary Statistics

JXTA TM : Beyond P2P File Sharing the Emergence of Knowledge Addressable Networks

Social Return on Investment

Network Usage Guidelines Contents

Kick starting science...

An Introduction to Peer-to-Peer Networks

P2P VoIP for Today s Premium Voice Service 1

Lesson Objectives. To provide a grand tour of the major operating systems components To provide coverage of basic computer system organization

Getting Your Keywords Right

COM A. White, K. Peterson, B. Lheureux

VoIP Makes Your Calls Cheaper

"Our mission is that people can easily express their feelings, happiness, love and manage their operation in clear voice and cost effective way"

How To Create A P2P Network

VPN. Date: 4/15/2004 By: Heena Patel

Virtual machine interface. Operating system. Physical machine interface

Methods & Tools Peer-to-Peer Jakob Jenkov

Threats of P2P File Sharing Software

A Brief History of the Internet. Chris Brooks Computing, Python, and Robots

How to Avoid the 10 BIGGEST MISTAKES. in Voice Application Development

Introduction: Why do we need computer networks?

RESEARCH ISSUES IN PEER-TO-PEER DATA MANAGEMENT

An overview on Internet Measurement Methodologies, Techniques and Tools

HW2 Grade. CS585: Applications. Traditional Applications SMTP SMTP HTTP 11/10/2009

Analysis on Leveraging social networks for p2p content-based file sharing in disconnected manets

The Future of IP. As value shifts from connectivity to content

DASCOSA: Database Support for Computational Science Applications. Kjetil Nørvåg Norwegian University of Science and Technology Trondheim, Norway

TCOM 562 Network Security Fundamentals

GEOG 482/582 : GIS Data Management. Lesson 10: Enterprise GIS Data Management Strategies GEOG 482/582 / My Course / University of Washington

Good VoIP vs. Bad VoIP

Lecture 28: Internet Protocols

N6Lookup( title ) Client

Network Security. Mobin Javed. October 5, 2011

Peer-to-Peer File Sharing

Scalable Internet/Scalable Storage. Seif Haridi KTH/SICS

Introduction to IPv6 and Benefits of IPv6

InsightCloud. Hosted Desktop Service. What is InsightCloud? What is SaaS? What are the benefits of SaaS?

Security Management. Security is taken for granted until something goes wrong.

Peer-to-peer (P2P) telephony and communications

P2P: centralized directory (Napster s Approach)

Software as a Service Business Model (Introducing SOA and Web Service)

Britepaper. How to grow your business through events 10 easy steps

The Value of Content Distribution Networks Mike Axelrod, Google Google Public

Software, Shareware and Opensource CSCU9B2

DFSgc. Distributed File System for Multipurpose Grid Applications and Cloud Computing

Software design (Cont.)

Peer-to-Peer: an Enabling Technology for Next-Generation E-learning

IT Asset Management. National Cybersecurity Center of Excellence. Increasing the deployment and use of standards-based security technologies

File Sharing. Peter Lo. CP582 Peter Lo

Microsoft IT Increases Security and Streamlines Antimalware Management by Using Microsoft Forefront Endpoint. Protection 2010.

Teachers Manual for iphone for Seniors

We will discuss how to manage your own ecommerce booking through your website rather than through a booking agent and how this can integrate.

Can Energy Management Deliver Real Savings?

P2P Characteristics and Applications

Library as a service in Digital Era Preparing academic campuses in Indian scenario

STANDARDIZATON CONSOLIDATION SCALING INTEROPERABILITY DATA MANAGEMENT PORTFOLIO MANAGEMENT

Beyond the Hype: Advanced Persistent Threats

Evolution der Dienste im zukünftigen Internet

Distributed Systems and Recent Innovations: Challenges and Benefits

Traffic Localization for DHT-based BitTorrent networks

A Survey of Peer-to-Peer Network Security Issues

ENTERPRISE ARCHITECTUE OFFICE

The Internet and Network Technologies

Peer-to-Peer Systems. Winter semester 2014 Jun.-Prof. Dr.-Ing. Kalman Graffi Heinrich Heine University Düsseldorf

Resource Pooling across the Internet. Mark Handley, UCL

Network Security. Vorlesung Kommunikation und Netze SS 10 E. Nett

The Challenges of Stopping Illegal Peer-to-Peer File Sharing

Microsoft Office 365 Helps Communication Company Connect Employees

Distributed Systems Lecture 1 1

VoIP over P2P networks

Interactive telecommunication between people Analog voice

Outline. EE 122: Interdomain Routing Protocol (BGP) BGP Routing. Internet is more complicated... Ion Stoica TAs: Junda Liu, DK Moon, David Zats

Lecture 7: Privacy and Security in Mobile Computing. Cristian Borcea Department of Computer Science NJIT

Anonymous CPS 182s 9/20/2003. ISP-3: The Rise of the Internet Service Providers

NEXTix UNIFIED CITY-WIDE TELECOMMUNICATIONS

Don t Buy a VoIP Phone System Before You Read This Report

The Internet is Flat: A brief history of networking over the next ten years. Don Towsley UMass - Amherst

Transcription:

Peer-to-Peer Networks Chapter 1: Introduction Jussi Kangasharju

Chapter Outline Course outline and practical matters Peer-to-peer (P2P) overview Definition of P2P What is P2P and how it is different from other similar systems History of P2P Current state of P2P Why P2P works? Future of P2P Outline of future chapters Kangasharju: Peer-to-Peer Networks 2

Course Details Lectures: Mondays 10-12 and Thursdays 14-16 in CK112 (Exactum) Exercise sessions: Tuesdays 16-18 in C222 (Exactum) Exercises both written and programming Exercises can be done in groups Exercises give bonus for exams (details in exercises) Exams: Friday 12.12. 8-11 Material: Covered in lectures, exercises, and additional literature given during the course Kangasharju: Peer-to-Peer Networks 3

Course Practical Arrangements Lecturer: Prof. Kangasharju Office hours: Tue 12-13 in D233 Other appointments by email Possible literature: Peer-to-Peer Applications and Systems From Springer, Editors R. Steinmetz, K. Wehrle General book about many P2P issues, some are covered in this course, others not Can be downloaded for free from university network Course announcements on course web page News, announcements Slides Exercises Kangasharju: Peer-to-Peer Networks 4

Course Outline and Goals Course topic is peer-to-peer networks and systems Take a look at current state in P2P systems, both in real world and in research work What does P2P mean? How is P2P principle reflected in actual systems? Why does P2P work? How to evaluate P2P systems? Kangasharju: Peer-to-Peer Networks 5

Questions? Kangasharju: Peer-to-Peer Networks 6

Peer-to-Peer? What is it? What does the word peer mean? Merriam-Webster: one that is of equal standing with another : EQUAL; especially : one belonging to the same societal group especially based on age, grade, or status Peer-to-peer: From one equal partner to another? How do you define peer-to-peer? Kangasharju: Peer-to-Peer Networks 7

P2P Principle P2P can be seen as an organizational principle System exhibits the P2P principle more or less clearly P2P principle applicable to many kinds of systems Content distribution, communication, distributed computation, and collaboration Core concepts of the P2P principle: Self-organizing, no central management Resource sharing, e.g., files Based on voluntary collaboration, e.g., Wikipedia Peers in P2P are all equal (more or less) Large number of peers in the network In contrast: Client-server systems have clearly defined roles for client and server Kangasharju: Peer-to-Peer Networks 8

Definition of P2P A P2P system exhibits the following characteristics: 1. High degree of autonomy from central servers 2. Exploits resources at the edge of the network Storage, CPU cycles, human presence 3. Individual nodes have intermittent connectivity Not strict requirements, instead typical characteristics Above characteristics allow us to distinguish P2P systems from other similar systems Kangasharju: Peer-to-Peer Networks 9

Properties of P2P Systems P2P systems typically have the following properties: 1. Unreliable, uncoordinated, unmanaged No central authority, peers are completely independent Increases flexibility of individual peers, but makes the overall system (possibly) unreliable 2. Resilient to attacks, heterogeneous Large number of peers in the system, hard to bring it down? Heterogeneous peers make viruses and worms harder to write? 3. Large collection of resources Voluntary participation, global reach Millions of simultaneous users Kangasharju: Peer-to-Peer Networks 10

P2P Vision P2P vision for the future: No More Dedicated Servers, Everything in Internet Served by Peers No mail servers, no file servers, no web servers Individual peers, operating independently from one another offer all the basic services Is this a realistic vision? Kangasharju: Peer-to-Peer Networks 11

What is P2P? So, what exactly is P2P then?!? Many peers distributed in the network So, P2P is same as distributed systems? Not quite So, what are the relationships between P2P and Distributed systems? Grid computing? Ad hoc networks? (from the point of view of someone working on P2P :-) Kangasharju: Peer-to-Peer Networks 12

Distributed Systems Distributed systems (DS) around for long time Definition (FOLDOC) A collection of (probably heterogeneous) automata whose distribution is transparent to the user so that the system appears as one local machine. This is in contrast to a network, where the user is aware that there are several machines, and their location, storage replication, load balancing and functionality is not transparent. Distributed systems usually use some kind of client-server organisation. Note: In its loosest sense, distributed system is any system with several nodes and a network between them Above definition implies a managed and controlled network which acts as a single, logical computer P2P is not controlled, not managed, existence of several peers is not hidden Kangasharju: Peer-to-Peer Networks 13

Grid Computing Grid computing is a recent phenomenon About 10 years since first coherent vision Grid definition: (I. Foster) Coordinated resource sharing and problem solving in dynamic, multi-institutional virtual organizations. Hence, grid is coordinated, aimed at solving problems Motivation to join a grid: more resources available Resources typically provided by everyone and usable by all P2P a bit similar, working towards a common goal But P2P not coordinated, resources only provided by some? P2P not based on institutions Kangasharju: Peer-to-Peer Networks 14

Ad Hoc Networks Wireless ad hoc networks becoming hot Origins in military uses, later also emergency management Commercial uses so far non-existent Typical characteristics: No infrastructure available Individual nodes provide resources for the network Common goal Resources typically network bandwidth (routing) Goal of ad hoc networks: Enable communications In some ways, ad hoc networks can be seen as P2P In this course, we do not go in details of ad hoc networks Core issues in ad hoc networks quite different from P2P, main focus is on routing Kangasharju: Peer-to-Peer Networks 15

DS (loose) P2P vs. DS vs. Grid DS Grid P2P Note: Sizes of bubbles not to scale ;-) Kangasharju: Peer-to-Peer Networks 16

History of P2P What was the first P2P system and when? Answer: ARPANet 1969 Later: USENET, 1979 (also FidoNet 1984, other BBSs) Current Internet routing (BGP) is P2P The term P2P was coined by Napster in 1999 Napster was a huge hit, brought P2P to general attention Illegal sharing of copyrighted material by users was the main driver behind Napster s success and the reason for its downfall Other systems followed Napster quickly, based on other design choices Research community followed suit quickly Many deployed systems proprietary, hard to examine well Kangasharju: Peer-to-Peer Networks 17

Current State of P2P Where are we now? P2P networks going strong, all over the world Many networks highly popular and widely used Different networks in different countries P2P networks currently mostly used for illegal sharing of copyrighted material Music, videos, software, Note: Can be used for legal sharing too (see BitTorrent) Other applications starting to emerge (see below) Content providers not so happy Sue companies making P2P software (e.g., Napster), sue software developers (Winny), sue users sharing material But also providing alternate means: itunes & friends Kangasharju: Peer-to-Peer Networks 18

New P2P Systems File sharing was first P2P application Other applications are coming to light BitTorrent more content distribution than file sharing P2P extending beyond file sharing: Skype We will look Skype closer in Chapter 2 Skype is a P2P telephone system Can call other computers, or normal phones Skype is based on the KaZaA network (see Chapter 2) Similar to VoIP services (e.g., Vonage), but fully based on the individual peers Skype requires a computer, VoIP services often do not Kangasharju: Peer-to-Peer Networks 19

P2P: Some Statistics Currently P2P accounts for 70% of network traffic A bit different in different networks Hard to measure accurately Network providers (ISP) not too happy about this But: Often traffic internal to ISP! (e.g., T-Com) Some numbers: (take with a grain of salt ) KaZaA had 60 million users total, 1-5 million online at any time 85 million downloads/day - Software downloaded over 230 million times Google has 80 million users/month, 200 million queries/day Skype has over 200 million users, over 10 million concurrently Kangasharju: Peer-to-Peer Networks 20

Current State in Research Lot of interest in P2P in the research world Common to networking and distributed systems Strong focus so far on searching and locating objects in P2P networks Some work on replication, robustness, and security Higher level work on filesystems, P2P applications See later chapters for examples Alas, P2P has become buzzword? Owes to confusion about terminology and merging of different research communities No commonly accepted definition of P2P Kangasharju: Peer-to-Peer Networks 21

Why Does P2P Work? Why P2P file sharing networks are so successful? 1. Easy to use P2P software readily available, simple to use 2. Provide something useful (for free) Until recently, only alternative to P2P content was buy a CD Online music stores may change this? 3. Anyone can contribute Contributions not tied to geographical location; user in Brazil can provide files for everyone (compare with ad hoc networks!) Enough altruistic users to make P2P networks useful Some systems (Skype) completely hide the P2P-part Will this become the future trend? Kangasharju: Peer-to-Peer Networks 22

P2P: Traps and Pitfalls What could render current P2P networks useless? In particular, file sharing networks 1. Removal of desirable content Stricter enforcement of copyright laws? 2. Alternative ways of getting same content Online music stores? 3. Blocking of P2P traffic by ISPs Or making users pay for bandwidth they use? 4. Viruses or worms on P2P networks Exploit bugs in P2P software Kangasharju: Peer-to-Peer Networks 23

When P2P and When Not P2P? So, when is P2P the right solution? Or, when is P2P the wrong solution? Claim: Our earlier P2P vision is technically feasible In other words, possible to build everything on Internet without any dedicated servers Gotcha: Just because it s technically feasible, doesn t make it sensible In other words, just because we can do it P2P, doesn t mean that we should do it P2P True in many areas of life So, when is P2P the right solution?!? Kangasharju: Peer-to-Peer Networks 24

Some Criteria Let s consider the following criteria 1. Budget How much money do we have? 2. Resource relevance 3. Trust How widely are resources interesting to users? How much trust there is between users? 4. Rate of system change 5. Criticality How fast does something in the system change How critical is the service to the users Kangasharju: Peer-to-Peer Networks 25

Analysis Budget If you have enough money, build a centralized system Look at Google if you doubt this claim ;-) Any system can be made to scale with enough money P2P is therefore useful when budget is not unlimited In other words, most real-world situations From the rest of this analysis, we assume limited budget Resource relevance If shared resources are highly relevant to a large number of users, P2P makes sense Easier to build a distributed solution when interest is widely spread Kangasharju: Peer-to-Peer Networks 26

Analysis, Continued Trust If other users can be trusted, P2P is a good solution For example, corporate network or any closed network Building a fully distributed, trusted network is still very much a research problem (and may remain so ) Rate of system change How high are the system dynamics? Rate of peers joining and leaving, rate of information change in system, rate of change in network topology, If the rate of change is too high, a distributed P2P solution might not be able to keep up Again, research problem Kangasharju: Peer-to-Peer Networks 27

Analysis, End Criticality How important is the service to the users? If you can live without it, P2P is acceptable If it must work, then consider other solutions Summary: P2P is good when: Budget is limited Resources have wide interest and relevance Trust between participants is high Rate of change is manageable Criticality is low Note: Again, no need to fulfill every point! Kangasharju: Peer-to-Peer Networks 28

P2P Suitability Tree and Examples Taken from M. Roussopoulos et al. 2 P2P or not 2 P2P?, IPTPS 2004 Kangasharju: Peer-to-Peer Networks 29

What does Future Hold for P2P? Take out crystal ball and look 5 years into future? P2P has been around for a bit over 5 years now Where will file sharing be in 5 years? Still popular? Underground activity? P2P content distribution? (BitTorrent and others) Microsoft building their system for software patches? Some other systems patch via BitTorrent How about Skype and others? Will Skype be around in 5 years? Will Internet telephony be taken over by telcos? Research efforts in P2P? More mature, concentrate on fundamental principles What makes P2P different from other systems? Kangasharju: Peer-to-Peer Networks 30

Future of P2P? Global P2P networks? Besides file sharing, Skype, and research prototypes? Ubiquitous computing Small, autonomous devices collaborating P2P principle in action? For insight on future trends: Look what is going on in Korea now :-) High bandwidth residential and wireless access Online gaming (50% of network traffic!) main source of traffic File sharing moved to pay models Online communities gaining importance Of course, cultural differences can change things Kangasharju: Peer-to-Peer Networks 31

Chapter Summary Peer-to-peer principle of self-organization and resource sharing P2P systems exhibit following characteristics: Autonomy from central servers Use of edge resources Intermittent connectivity Hard to define clearly the limits of P2P Compare with distributed systems and grid computing Different people working in different areas have different definitions Kangasharju: Peer-to-Peer Networks 32

Outline of Future Chapters Chapter 2: Current P2P Systems Chapter 3: Networks, Searching, and DHTs Chapter 4: P2P storage Chapter 5: Reliability and performance in P2P Networks Chapter 6: P2P Content Distribution Chapter 7: P2P Other Issues Kangasharju: Peer-to-Peer Networks 33