p2p live internet video

24
P2P Live Internet Video Keith W. Ross Professor of Computer Science Polytechnic University, Brooklyn

Upload: others

Post on 12-Sep-2021

6 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: P2P Live Internet Video

P2P Live Internet Video

Keith W. RossProfessor of Computer SciencePolytechnic University, Brooklyn

Page 2: P2P Live Internet Video

Should it be called IPTV ?

Internet Video

Page 3: P2P Live Internet Video

We the people want:

– to share our video clips– & our live video feeds– with millions of users– at high resolution– searchable– at low cost

Solution: P2P !

Page 4: P2P Live Internet Video

• Major sporting events• Presidential debates• Little league baseball games• Political demonstrations• A day in Waldo’s life

P2P Live Video

How do we make it happen ?

Page 5: P2P Live Internet Video

Lessons Learned from theBitTorrent Ecosystem

Peer discovery: tracks peers in torrent

torrent: group of peers exchanging chunks of a file

trading chunks

peertorrent discovery: search for torrents;provides .torrent file

Page 6: P2P Live Internet Video

50+ client implementations

Page 7: P2P Live Internet Video

Dozen public trackers &open-source trackers

Page 8: P2P Live Internet Video

Dozens of torrent search sites

Page 9: P2P Live Internet Video

Distributed Trackers: DHT

torrent A torrent B

Page 10: P2P Live Internet Video

Distributed Trackers: DHT

torrent A torrent B

I want file A

Page 11: P2P Live Internet Video

Distributed Trackers: DHT

torrent Atorrent B

What peers in torrent A?

Page 12: P2P Live Internet Video

Distributed Trackers: DHT

torrent Atorrent B

IP/portpairs

Page 13: P2P Live Internet Video

Distributed Trackers: DHT

torrent A torrent B

Page 14: P2P Live Internet Video

Evolving BT Ecosystem• 5-10 million users• Peer exchange

(gossiping)• Private torrents

– Invitations– Psswd protected

• Seeding algorithms– Fastest downloaders– Round-robin

• Broadcatching– RSS feeds

• Interdictioncompanies– Decoy, leecher, seed

attacks

Page 15: P2P Live Internet Video

BitTorrent: Incentive• Torrent as whole benefits when all

peers upload

• Question: What is the incentive toupload at higher rate?

• Answer: To get file faster

• Implementation: Tit-for-tat

Page 16: P2P Live Internet Video

P2P Live Streaming:Many Incompatible Systems

ppStream

Coolstreaming

Page 17: P2P Live Internet Video

Eco-system for Live P2P Video?

• Common protocol– e.g. the P2PP Internet Draft (Basset,

Schulzrinne, Matuszewski)– Messages and message formats, NAT

traversal, enrollment and authenticationserver, …

• Incentive mechanism needed

Page 18: P2P Live Internet Video

Incentives for Live Streaming• Why upload at all?

– No incentives in existing deployments• Is tit-for-tat a sufficient incentive?

– No! Why contribute more upload bandwidth ifyou’re receiving the video at the full rate?

• Main idea:– If you upload more, you get better quality.

Joint work with Zhengye Liu, Shiv Panwar, Yao Wang

Page 19: P2P Live Internet Video

Layered Video w/ Tit-for-Tat• Generate multiple layers, each divided into

layer chunks (LCs)

• Exchange LCs

• Measure download rates from neighbors

• Reciprocate to neighbors based on theircontributions

LC11

LC21

LC31

LC12

LC22

LC32

LC13

LC23

LC33

LC14

LC24

LC34Layer 3

Layer 2

Layer 1

Page 20: P2P Live Internet Video

Performance Study Setup

• Peers– Ethernet peer: 1000 kbps; cable peer: 300 kbps;

free-rider: 0 kbps• Video

– 20 layers, with each layer having a rate of 50 kbps

Page 21: P2P Live Internet Video

Differentiated Service

Page 22: P2P Live Internet Video

Free-Riding

Page 23: P2P Live Internet Video

Conclusion• BitTorrent has been an enormous

success for open protocols.

• Can we replicate with live P2Pstreaming?

• And with P2P VoD?

• As with BitTorrent, need commonprotocol and incentive mechanism

Page 24: P2P Live Internet Video

Thank You!