[email protected] peer-to-peer beyond file sharing: where are p2p systems going? hotp2p...

39
[email protected] Peer-to-Peer Beyond File Sharing: Where are P2P Systems Going? HotP2P 2009 Rome, May 29 2009 Renato Lo Cigno Tommaso Pecorella, Matteo Sereno, Luca Veltri

Upload: phillip-booth

Post on 11-Jan-2016

219 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Renato.LoCigno@disi.unitn.it Peer-to-Peer Beyond File Sharing: Where are P2P Systems Going? HotP2P 2009 Rome, May 29 2009 Renato Lo Cigno Tommaso Pecorella,

[email protected]

Peer-to-Peer Beyond File Sharing:Where are P2P Systems Going?

HotP2P 2009 Rome, May 29 2009

Renato Lo Cigno Tommaso Pecorella, Matteo Sereno, Luca Veltri

Page 2: Renato.LoCigno@disi.unitn.it Peer-to-Peer Beyond File Sharing: Where are P2P Systems Going? HotP2P 2009 Rome, May 29 2009 Renato Lo Cigno Tommaso Pecorella,

[email protected]

Thanks

• To my co-authors– Tommaso, Matteo, Luca

• To the entire Profiles staff, who made this talk possible

http://profiles.disi.unitn.it

• University of Trento – Networking Group • University of Firenze – Telecommunication network Lab• University of Parma – Department of Information engineering• University of Torino – Department of Computer Science• University of Catania – Department of Informatics and Telecommunications• University of Pavia – Electric Communication and Remote Sensing Lab• University of Rome II – Networking Group

Page 3: Renato.LoCigno@disi.unitn.it Peer-to-Peer Beyond File Sharing: Where are P2P Systems Going? HotP2P 2009 Rome, May 29 2009 Renato Lo Cigno Tommaso Pecorella,

[email protected]

Outline• Where we started

– Some bits of retrospective

• Where we are – Applications– Security– Business

• Where are we going– Applications– Expectations– Trends– Security

• Outrageous thoughts– Providers’ based P2P– CrossLayer P2P– P2P & IPv6

Page 4: Renato.LoCigno@disi.unitn.it Peer-to-Peer Beyond File Sharing: Where are P2P Systems Going? HotP2P 2009 Rome, May 29 2009 Renato Lo Cigno Tommaso Pecorella,

[email protected]

Outline

• Where we started– Some bits of retrospective

• Where we are – Applications– Security– Business

• Where are we going– Applications– Expectations– Trends– Security

• Outrageous thoughts– Providers’ based P2P– CrossLayer P2P– P2P & IPv6

Page 5: Renato.LoCigno@disi.unitn.it Peer-to-Peer Beyond File Sharing: Where are P2P Systems Going? HotP2P 2009 Rome, May 29 2009 Renato Lo Cigno Tommaso Pecorella,

[email protected]

(Pre)History Bits

• “Peer-to-Peer” definitions

– A class of systems and applications that use distributed resources (CPU, memory, bandwidth, ...) to implement critical functions

– Communication paradigm where the entities/actors are providers and users at the same time

• Internet was indeed born following a P2P approach

– The first nodes were always client and servers at the same time!!

Page 6: Renato.LoCigno@disi.unitn.it Peer-to-Peer Beyond File Sharing: Where are P2P Systems Going? HotP2P 2009 Rome, May 29 2009 Renato Lo Cigno Tommaso Pecorella,

[email protected]

Initial Studies

• Sharing information at the application level– Search and Retrieval problems DHTs, Gossipping

protocols, ...– Closed communities Rare Contents, Finding

Buddies, ...

• Exploiting unused (CPU) resources for distributed computing– Often not exactly P2P, but “voluntary donations”

• Supporting privacy and anonymous communications

Page 7: Renato.LoCigno@disi.unitn.it Peer-to-Peer Beyond File Sharing: Where are P2P Systems Going? HotP2P 2009 Rome, May 29 2009 Renato Lo Cigno Tommaso Pecorella,

[email protected]

Initial Studies

• P2P recognized as a possible different communication/distributed applications paradigm, contrasted to client/server

• Sharing involves much more than files: – Bandwidth, CPU, Storage, Knowledge, ...

• The key enabling factor is that resource composition is more than the sum of resources – some resources do not scale (try to buy a single

processor 100 times more powerful of your Pentium!)– others are localized (local bandwidth comes for free,

global bandwidth is very costly)

Page 8: Renato.LoCigno@disi.unitn.it Peer-to-Peer Beyond File Sharing: Where are P2P Systems Going? HotP2P 2009 Rome, May 29 2009 Renato Lo Cigno Tommaso Pecorella,

[email protected]

History Bits

• P2P exploded with file sharing – legal problems made it infamous– some service components were centralized

• P2P paradigms is now considered for a bunch of applications– Content Distribution and Distributed Storage– Personal Communications (Instant Messaging, Telephone) – Distributed computing (grid, SETI@home)– Video Distribution (Application Level Multicast) – Gaming– ...

• Depending on the measurement point P2P traffic represents between 50% and 90% of all Internet traffic

Page 9: Renato.LoCigno@disi.unitn.it Peer-to-Peer Beyond File Sharing: Where are P2P Systems Going? HotP2P 2009 Rome, May 29 2009 Renato Lo Cigno Tommaso Pecorella,

[email protected]

Typical Example: Bandwidth Sharing for Massive File

Distribution

Massive File on Fat Server

A Bunch of PCs to Reach

Page 10: Renato.LoCigno@disi.unitn.it Peer-to-Peer Beyond File Sharing: Where are P2P Systems Going? HotP2P 2009 Rome, May 29 2009 Renato Lo Cigno Tommaso Pecorella,

[email protected]

Cooperative Distribution: Intuition

Source server: 100 Mb/sClients: 10 Mb/s1. Antivirus update100,000 clientsFile: 4 MB2. Daily database update1000 clientsFile: 600 MB

Source server: 100 Mb/sClients: 10 Mb/s1. Antivirus update100,000 clientsFile: 4 MB2. Daily database update1000 clientsFile: 600 MB

Client/Server

1. 9h:52m2. 14h:48m1. 9h:52m2. 14h:48m

Cooperative

1. 52s2. 09m:54s1. 52s2. 09m:54s

Page 11: Renato.LoCigno@disi.unitn.it Peer-to-Peer Beyond File Sharing: Where are P2P Systems Going? HotP2P 2009 Rome, May 29 2009 Renato Lo Cigno Tommaso Pecorella,

[email protected]

Cooperative Distribution: Intuition

Client/Server Cooperative

1. 9h:52m2. 14h:48m1. 9h:52m2. 14h:48m

1. 52s2. 09m:54s1. 52s2. 09m:54s

Source server: 100 Mb/sClients: 10 Mb/s1. Antivirus update100,000 clientsFile: 4 MB2. Daily database update1000 clientsFile: 600 MB

Source server: 100 Mb/sClients: 10 Mb/s1. Antivirus update100,000 clientsFile: 4 MB2. Daily database update1000 clientsFile: 600 MB

Cooperative

Client/Server

Page 12: Renato.LoCigno@disi.unitn.it Peer-to-Peer Beyond File Sharing: Where are P2P Systems Going? HotP2P 2009 Rome, May 29 2009 Renato Lo Cigno Tommaso Pecorella,

[email protected]

Outline• Where we started

– Some bits of retrospective

• Where we are – Applications– Security– Business

• Where are we going– Applications– Expectations– Trends– Security

• Outrageous thoughts– Providers’ based P2P– CrossLayer P2P– P2P & IPv6

Page 13: Renato.LoCigno@disi.unitn.it Peer-to-Peer Beyond File Sharing: Where are P2P Systems Going? HotP2P 2009 Rome, May 29 2009 Renato Lo Cigno Tommaso Pecorella,

[email protected]

Background

• Internet has been enormously successful due to its resilience

• Client/server model both as transport paradigms and as business

• Business dominated by

– network providers

– information intermediates (Google, Yahoo, ...)

• Service providers are agonizing ... why??

Page 14: Renato.LoCigno@disi.unitn.it Peer-to-Peer Beyond File Sharing: Where are P2P Systems Going? HotP2P 2009 Rome, May 29 2009 Renato Lo Cigno Tommaso Pecorella,

[email protected]

The Client-Server Doom

• Dominating Paradigm– Traditional business models– Intuitive and well known

deterministic technicalities– Clear entities relationships– But ...

Large cost of ownership (CapEx)

Page 15: Renato.LoCigno@disi.unitn.it Peer-to-Peer Beyond File Sharing: Where are P2P Systems Going? HotP2P 2009 Rome, May 29 2009 Renato Lo Cigno Tommaso Pecorella,

[email protected]

Client-Server Doom: Some (failing) answers• Push specialization and outsourcing as means of

optimization and cost reduction• Exploit scale-economy

– centralized solutions to reduce personnel and competences

– resource sharing between different applications and companies

• Consolidate networking and services – Service Providers want to have networks– Network Providers seek services to sell

Page 16: Renato.LoCigno@disi.unitn.it Peer-to-Peer Beyond File Sharing: Where are P2P Systems Going? HotP2P 2009 Rome, May 29 2009 Renato Lo Cigno Tommaso Pecorella,

[email protected]

What is Pushing P2P today?

• Can the C-S model scale without limits? • How does it react to diminishing revenues because

services are perceived as commodities?• How does information “generation” and

“consumption” affect the C-S model? – The wiki and commons models are shaking traditional

ways of knowledge dissemination

• Do we always need a “server” to provide “services”?• Why does the model of network and service

separation does not take off?

Page 17: Renato.LoCigno@disi.unitn.it Peer-to-Peer Beyond File Sharing: Where are P2P Systems Going? HotP2P 2009 Rome, May 29 2009 Renato Lo Cigno Tommaso Pecorella,

[email protected]

But Why P2P

• Cost: Can offer services much cheaper; especially CapEx is low– Think of TV ...

• Enabler for new applications – Can offer services that would not be possible otherwise (think of

out-of-country TV broadcasting or anonymous services)

• Internet (C-S model) itself is losing its resilience and capacity of evolution

• Powerful end systems that are vastly underutilized– Gigaflops

– 100s of Gigabyte of local disk storage

– Good network connectivity

Page 18: Renato.LoCigno@disi.unitn.it Peer-to-Peer Beyond File Sharing: Where are P2P Systems Going? HotP2P 2009 Rome, May 29 2009 Renato Lo Cigno Tommaso Pecorella,

[email protected]

Available P2P applications

• File sharing, • Voice, Video, Chat, • Backup

– few, not much used

• Versioning – in its infancy

• Computing – what’s beyond BOINC? – is it really P2P??

But also • Anonymous networking (tor) and other applications that

may not exist without the P2P approach

Page 19: Renato.LoCigno@disi.unitn.it Peer-to-Peer Beyond File Sharing: Where are P2P Systems Going? HotP2P 2009 Rome, May 29 2009 Renato Lo Cigno Tommaso Pecorella,

[email protected]

However .... There are Open Problems

• Distributed algorithms are needed for– Service discovery– Overlay management (topology, join, leave, ...) – Application level routing

• Reliability and Dependability– QoS definition and provisioning– Trust management, security, privacy

• Efficiency – Mapping between the overlay and the underlying

resources

Page 20: Renato.LoCigno@disi.unitn.it Peer-to-Peer Beyond File Sharing: Where are P2P Systems Going? HotP2P 2009 Rome, May 29 2009 Renato Lo Cigno Tommaso Pecorella,

[email protected]

Objects: Finding and Managing them

• Representing and Abstracting Information– data representation– DHT algorithms – Protocols and Signaling

• Replicating and Consolidating Information– Minimal duplication – De-correlation and De-localization– Aging information: when is information up-to-date?– Ownership and access: who can

access/modify/delete the information?

Page 21: Renato.LoCigno@disi.unitn.it Peer-to-Peer Beyond File Sharing: Where are P2P Systems Going? HotP2P 2009 Rome, May 29 2009 Renato Lo Cigno Tommaso Pecorella,

[email protected]

Resource Management

• P2P Overlays survive only if the resources underneath are available– Where are they, how to find them, how to guarantee

their availability– Cooperation, not Exploitation

• Game theory may not suffice in finding equilibria in cooperation

• Different applications have different interaction models– machine-to-machine– machine-to-human– human-to-human

Page 22: Renato.LoCigno@disi.unitn.it Peer-to-Peer Beyond File Sharing: Where are P2P Systems Going? HotP2P 2009 Rome, May 29 2009 Renato Lo Cigno Tommaso Pecorella,

[email protected]

Real-Time applications

• Typically human-to-human• Two entirely different system models

– Share only the need of short delays ... and indeed not even these

• Live Streaming– Potentially huge audience– Low Jitter, limited delay (1s—20s)– Structured or Unstructured??

• Conferencing– Small groups– Definitely structured– Very low delays (100s ms), zero jitter

Page 23: Renato.LoCigno@disi.unitn.it Peer-to-Peer Beyond File Sharing: Where are P2P Systems Going? HotP2P 2009 Rome, May 29 2009 Renato Lo Cigno Tommaso Pecorella,

[email protected]

Security & Privacy

• Either neglected (in current applications, not in research!!)

• Or centralized (skype and others) • Or the only goal (anonymous networking)• Security and Privacy still thought as of separate

problems ... or even contrasting• Different attacks possible in P2P

– Routing– Partition– Retrieval– Sybil and Eclipse

Page 24: Renato.LoCigno@disi.unitn.it Peer-to-Peer Beyond File Sharing: Where are P2P Systems Going? HotP2P 2009 Rome, May 29 2009 Renato Lo Cigno Tommaso Pecorella,

[email protected]

Considerations (1)

• P2P has very interesting characteristics– Self-scaling: Use P2P wherever the demand is difficult to

predict and very bursty• Very cost-efficient• Substitution technology for applications that can be

done using the client-server paradigm, such as – file distribution, CDN, video streaming, or backup

– Enabler for new applications such as• Anonymous and Privacy Aware Networking• Reliable multicast• Distributed network monitoring and trouble shooting• IPTV

Where are we?

Page 25: Renato.LoCigno@disi.unitn.it Peer-to-Peer Beyond File Sharing: Where are P2P Systems Going? HotP2P 2009 Rome, May 29 2009 Renato Lo Cigno Tommaso Pecorella,

[email protected]

Considerations (2)

• P2P systems are now mainly scattered pieces of software, without coordination between them and without coordination with the network below

• Merging multiple applications on a single overlay management platform starts to be considered

• Mapping the overlay on the underlay resources is intriguing, but awfully difficult

• Cooperation between the network (IP) level and the overlay may increase performances, but both operators and users were against this idea ... until a little ago

Where are we?

Page 26: Renato.LoCigno@disi.unitn.it Peer-to-Peer Beyond File Sharing: Where are P2P Systems Going? HotP2P 2009 Rome, May 29 2009 Renato Lo Cigno Tommaso Pecorella,

[email protected]

Outline• Where we started

– Some bits of retrospective• Where we are

– Applications– Security– Business

• Where are we going– Applications– Expectations– Trends– Security

• Outrageous thoughts– Providers’ based P2P– CrossLayer P2P– P2P & IPv6

Page 27: Renato.LoCigno@disi.unitn.it Peer-to-Peer Beyond File Sharing: Where are P2P Systems Going? HotP2P 2009 Rome, May 29 2009 Renato Lo Cigno Tommaso Pecorella,

[email protected]

Dominant applications

• Traditional file sharing (BitTorrent & the like)– Still generating the largest traffic– Slowly loosing their “forbidden” appeal, exchanging all

possible information– Probably the only “pure” P2P systems so far (at least

some of them)

• Voice & Chat– Lack of standards hamper the evolution

• Video and TV– If not live (VoD) falls in file sharing class– P2P-TV is exploding, with all the promises and

concerns– Conferencing is lagging behind (as usual)

Page 28: Renato.LoCigno@disi.unitn.it Peer-to-Peer Beyond File Sharing: Where are P2P Systems Going? HotP2P 2009 Rome, May 29 2009 Renato Lo Cigno Tommaso Pecorella,

[email protected]

Network-Application Cooperation (NAC)

• Some BitTorrent dialects are already considering form of network awareness to improve performance

• An application which wisely uses resources is cheaper to run

• Operators are starting to consider P2P as a resource, not a foe – after all if it was not for P2P they would not have sold large bandwidth access

Page 29: Renato.LoCigno@disi.unitn.it Peer-to-Peer Beyond File Sharing: Where are P2P Systems Going? HotP2P 2009 Rome, May 29 2009 Renato Lo Cigno Tommaso Pecorella,

[email protected]

NAC: What can ISP do?

• Application Level Redirection

• Application Cashing

• Introduce “network peers” in strategic points

• Manipulate routing

• Manipulate resource availability to force local overlays

Page 30: Renato.LoCigno@disi.unitn.it Peer-to-Peer Beyond File Sharing: Where are P2P Systems Going? HotP2P 2009 Rome, May 29 2009 Renato Lo Cigno Tommaso Pecorella,

[email protected]

Multi-Application Platforms

• P2P is fundamentally re-inventing the communication level every new application: inefficient!!!

• We need to understand P2P as a novel paradigm for communication/computing and provide high-level models that – Enable the definition of general purpose P2P

platforms– Guarantee interoperability

• P2P support as a novel distributed OS

Page 31: Renato.LoCigno@disi.unitn.it Peer-to-Peer Beyond File Sharing: Where are P2P Systems Going? HotP2P 2009 Rome, May 29 2009 Renato Lo Cigno Tommaso Pecorella,

[email protected]

P2P Standardization

• Should we standardize P2P? – Signaling: IETF is working (SIPpeer, ALTO, ...) – Transport: maybe is time to go beyond UDP/TCP ...

• Is PTP (P2P Transport Protocol) useful/needed??

• What does it mean– Protocols only? – APIs? – End devices and OS that are P2P aware

• Segregating local and shared data• Managing the resource/information sharing policies

• Business needs standards (or not?)

Page 32: Renato.LoCigno@disi.unitn.it Peer-to-Peer Beyond File Sharing: Where are P2P Systems Going? HotP2P 2009 Rome, May 29 2009 Renato Lo Cigno Tommaso Pecorella,

[email protected]

Vulnerability & Resilience

• Byzantine resistant systems are available– Based on approximate Nash Equilibria– Complex– Is this what we need?

• P2P systems are resilient – To random mistakes/failures– To (many) external attacks

• Still they are quite unreliable– Let’s ConfCall with Skype ... and fall back to PSTN if it

does not work ... – Why?

Page 33: Renato.LoCigno@disi.unitn.it Peer-to-Peer Beyond File Sharing: Where are P2P Systems Going? HotP2P 2009 Rome, May 29 2009 Renato Lo Cigno Tommaso Pecorella,

[email protected]

Privacy

• Little considered in general• Sociology studies show that people are willing to

trade privacy (when they know what it means) for commodity

• Little understanding of the implication of linkage in general

• Once more TV example– Standard Broadcasting– Server-Based IPTV– P2P Options

• Server-based • Anonymous, DHT based

Page 34: Renato.LoCigno@disi.unitn.it Peer-to-Peer Beyond File Sharing: Where are P2P Systems Going? HotP2P 2009 Rome, May 29 2009 Renato Lo Cigno Tommaso Pecorella,

[email protected]

Outline• Where we started

– Some bits of retrospective

• Where we are – Applications– Security– Business

• Where are we going– Applications– Expectations– Trends– Security

• Outrageous thoughts– Providers’ based P2P– CrossLayer P2P– P2P & IPv6

Page 35: Renato.LoCigno@disi.unitn.it Peer-to-Peer Beyond File Sharing: Where are P2P Systems Going? HotP2P 2009 Rome, May 29 2009 Renato Lo Cigno Tommaso Pecorella,

[email protected]

Providers & P2P• Server-assisted P2P is becoming a promising

networking (and business) model at least in TV (but BitTorrent dialects AS-aware exists as we said)– PPLive, UUsee, ...

ISPISP

ISPISP

ISPISP

ISPISP

ISPISPISPISP

ISPISP

Degradedservice

Page 36: Renato.LoCigno@disi.unitn.it Peer-to-Peer Beyond File Sharing: Where are P2P Systems Going? HotP2P 2009 Rome, May 29 2009 Renato Lo Cigno Tommaso Pecorella,

[email protected]

Providers & P2P• ISP-Assisted is a different model

– Do you trust more ISPs or Service Providers?– Set-Top boxes can play the game

ISPISP

ISPISP

ISPISP

ISPISPISPISP

ISPISP

Page 37: Renato.LoCigno@disi.unitn.it Peer-to-Peer Beyond File Sharing: Where are P2P Systems Going? HotP2P 2009 Rome, May 29 2009 Renato Lo Cigno Tommaso Pecorella,

[email protected]

Cross layering

• Anything farther then Application –Level Networking??

• tor is an example of [cross-layer]-1

But• Media-aware schedulers• Network Aware Topologies• TCP-friendly P2P

are all examples of “cross-layering”

Page 38: Renato.LoCigno@disi.unitn.it Peer-to-Peer Beyond File Sharing: Where are P2P Systems Going? HotP2P 2009 Rome, May 29 2009 Renato Lo Cigno Tommaso Pecorella,

[email protected]

IPv6 & P2P

• Restores end-to-end semantics (no NATs, ...)

But• Somebody (Cornell) is implementing IPv6

routers as a P2P overlay on top of IPv4!!!• Current P2P applications are relaying on IPv4

details• Maybe IPv6 addresses can be used as a

common platform for P2P addressing ... leaving IPv4 where it is

Page 39: Renato.LoCigno@disi.unitn.it Peer-to-Peer Beyond File Sharing: Where are P2P Systems Going? HotP2P 2009 Rome, May 29 2009 Renato Lo Cigno Tommaso Pecorella,

[email protected]

THE END

Thank you!

Questions? Comments?