CSTalks - Peer-to-peer - 16 Feb

26
Peer-to-peer: past, present, future Cristina Cărbunaru 16 February 2011

description

 

Transcript of CSTalks - Peer-to-peer - 16 Feb

Page 1: CSTalks - Peer-to-peer - 16 Feb

Peer-to-peer: past, present, future

Cristina Cărbunaru16 February 2011

Page 2: CSTalks - Peer-to-peer - 16 Feb

Peer-to-peer Internet today◦ Large number of hosts◦ Large amount of content

Significant challenges for traditional client-server architectures

Make use of the inter-connectivity of the nodes in the Internet◦ Alleviate the load from servers

2

Page 3: CSTalks - Peer-to-peer - 16 Feb

Client-server vs. P2p

3

Page 4: CSTalks - Peer-to-peer - 16 Feb

The Peer Double function:◦ Client - consumer◦ Server - producer

Incentives to offer service, not just benefit from service

More peers means more capacity added to the system

4

Page 5: CSTalks - Peer-to-peer - 16 Feb

P2p Goals Reduced central control Heterogeneity Flat topology Autonomy Fault resilience …

5

Page 6: CSTalks - Peer-to-peer - 16 Feb

History File sharing applications ◦ 1999: Napster ◦ Gnutella, Kazaa, Freenet◦ 2001: BitTorrent (Bram Cohen)◦ Multiple variations of p2p programs

Nowadays:◦ File sharing – among individual users or in

the data centers◦ Media streaming – on-demand or live content◦ Communication – Skype!

6

Page 7: CSTalks - Peer-to-peer - 16 Feb

The beginnings: Napster

7

Page 8: CSTalks - Peer-to-peer - 16 Feb

BitTorrent

8

Tracker

Seed

Page 9: CSTalks - Peer-to-peer - 16 Feb

BitTorrent

9

Leecher

Seed

Tracker

Page 10: CSTalks - Peer-to-peer - 16 Feb

BitTorrent

10

Page 11: CSTalks - Peer-to-peer - 16 Feb

BitTorrent

11

Page 12: CSTalks - Peer-to-peer - 16 Feb

BitTorrent

12

Page 13: CSTalks - Peer-to-peer - 16 Feb

BitTorrent

13

Page 14: CSTalks - Peer-to-peer - 16 Feb

BitTorrent

14

Page 15: CSTalks - Peer-to-peer - 16 Feb

BitTorrent

15

Page 16: CSTalks - Peer-to-peer - 16 Feb

BitTorrent

16

Free-rider

Page 17: CSTalks - Peer-to-peer - 16 Feb

Swarm Behavior Incentive mechanisms◦ Why offer service?

Flash crowd ◦ Large number of peers choke the

performance Steady state◦ Number of peers stays constant over time◦ Easy to predict performance

Lifetime ◦ When and why is the torrent dying?

...

17

Page 18: CSTalks - Peer-to-peer - 16 Feb

Peer Behavior Free riding◦ Evaluate performance loss◦ Methods to prevent

Best results with minimum of effort◦ Cheating, but not exactly

Clustering of peers◦ Peers download/upload to similar bandwidth

peers Security of content◦ Malicious data

Connectivity◦ NAT boxes

18

Page 19: CSTalks - Peer-to-peer - 16 Feb

Approaches Measurement◦ Real swarms◦ Experimental platforms: PlanetLab, EmuLab

Simulation Modeling Proposing new p2p protocols that solve

different problems◦ Proportional upload bandwidth: PropShare◦ Amount of data transferred: Avalanche◦ Upload bandwidth allocation among peers to

get the best download speed: BitTyrant

19

Page 20: CSTalks - Peer-to-peer - 16 Feb

P2p in 2008/2009 (Ipoque study)

20

Page 21: CSTalks - Peer-to-peer - 16 Feb

Popularity Decreasing popularity for p2p file

sharing◦ Packet filtering ◦ Packet inspection◦ Lawsuit against Pirate Bay ◦ …

One click file hosting services (Rapidshare, Hotfile) become popular

21

Page 22: CSTalks - Peer-to-peer - 16 Feb

What to Research? Packet filtering◦ Glasnost

Hiding identity◦ Tor◦ Anonymous p2p

Copyright issues ◦ Download might be legal in some

countries◦ Upload is illegal

…22

Page 23: CSTalks - Peer-to-peer - 16 Feb

What’s Next? Increasing usage of p2p protocols in

other contexts:◦ Media streaming, communication◦ Inside the data centers◦ Social networks◦ Economics

23

Page 24: CSTalks - Peer-to-peer - 16 Feb

Future New technologies◦ IPv6◦ Mobile devices

From computer-to-computer to human-to-human◦ commons-based peer production (Yochai

Benkler): Peer governance Peer property Peer distribution

24

Page 25: CSTalks - Peer-to-peer - 16 Feb

Conclusions Successful piece of research◦ P2p transcended computer science

Changed the way we share◦ Files◦ Knowledge ◦ Peer generated content

P2p is here to stay!

25

Page 26: CSTalks - Peer-to-peer - 16 Feb

Questions?

Thank you!

26