1 Peer-to-Peer Streaming Systems Kan-Leung CHENG CMSC 818Z, Spring 2007 Department of Computer Science University of Maryland 24th April, 2007.

Slides:



Advertisements
Similar presentations
An Alliance based Peering Scheme for P2P Live Media Streaming Darshan Purandare Ratan Guha University of Central Florida August 31, P2P-TV, Kyoto.
Advertisements

Dynamic Replica Placement for Scalable Content Delivery Yan Chen, Randy H. Katz, John D. Kubiatowicz {yanchen, randy, EECS Department.
Incentives Build Robustness in BitTorrent Bram Cohen.
Network Coding in Peer-to-Peer Networks Presented by Chu Chun Ngai
Ranveer Chandra , Kenneth P. Birman Department of Computer Science
Resilient Peer-to-Peer Streaming Paper by: Venkata N. Padmanabhan Helen J. Wang Philip A. Chou Discussion Leader: Manfred Georg Presented by: Christoph.
Computer Science 1 ShapeShifter: Scalable, Adaptive End-System Multicast John Byers, Jeffrey Considine, Nicholas Eskelinen, Stanislav Rost, Dmitriy Zavin.
“Scalable and Topologically-aware Application-layer Multicast” Yusung Kim Korea Advanced Institute of Science and Technology.
1 A Case For End System Multicast Yang-hua Chu, Sanjay Rao and Hui Zhang Carnegie Mellon University Largely adopted from Jonathan Shapiro’s slides at umass.
Multicasting in Mobile Ad-Hoc Networks (MANET)
SCAN: A Dynamic, Scalable, and Efficient Content Distribution Network Yan Chen, Randy H. Katz, John D. Kubiatowicz {yanchen, randy,
Opportunities and Challenges of Peer-to-Peer Internet Video Broadcast J. Liu, S. G. Rao, B. Li and H. Zhang Proc. of The IEEE, 2008 Presented by: Yan Ding.
Network Coding for Large Scale Content Distribution Christos Gkantsidis Georgia Institute of Technology Pablo Rodriguez Microsoft Research IEEE INFOCOM.
Multiple constraints QoS Routing Given: - a (real time) connection request with specified QoS requirements (e.g., Bdw, Delay, Jitter, packet loss, path.
Service Differentiated Peer Selection An Incentive Mechanism for Peer-to-Peer Media Streaming Ahsan Habib, Member, IEEE, and John Chuang, Member, IEEE.
Peer-to-Peer Based Multimedia Distribution Service Zhe Xiang, Qian Zhang, Wenwu Zhu, Zhensheng Zhang IEEE Transactions on Multimedia, Vol. 6, No. 2, April.
CoolStreaming/DONet: A Data- driven Overlay Network for Peer- to-Peer Live Media Streaming INFOCOM 2005 Xinyan Zhang, Jiangchuan Liu, Bo Li, and Tak- Shing.
Application Layer Multicast
Overlay Networks EECS 122: Lecture 18 Department of Electrical Engineering and Computer Sciences University of California Berkeley.
1March -05 Jiangchuan Liu with Xinyan Zhang, Bo Li, and T.S.P.Yum Infocom 2005 CoolStreaming/DONet: A Data-Driven Overlay Network for Peer-to-Peer Live.
An Alliance based PeeringScheme for P2P Live Media Streaming An Alliance based Peering Scheme for P2P Live Media Streaming Darshan Purandare Ratan Guha.
An Overlay Multicast Infrastructure for Live/Stored Video Streaming Visual Communication Laboratory Department of Computer Science National Tsing Hua University.
1 An Overlay Scheme for Streaming Media Distribution Using Minimum Spanning Tree Properties Journal of Internet Technology Volume 5(2004) No.4 Reporter.
1 Routing as a Service Karthik Lakshminarayanan (with Ion Stoica and Scott Shenker) Sahara/i3 retreat, January 2004.
A Case for End System Multicast Author: Yang-hua Chu, Sanjay G. Rao, Srinivasan Seshan and Hui Zhang.
Nearcast: A Locality-Aware P2P Live Streaming Approach for Distance Education XUPING TU, HAI JIN, and XIAOFEI LIAO Huazhong University of Science and Technology.
Department of Computer Science & Engineering The Chinese University of Hong Kong Constructing Robust and Resilient Framework for Cooperative Video Streaming.
Slide courtesy: Dr. Sumi Helal & Dr. Choonhwa Lee at University of Florida, USA Prof. Darshan Purandare at University of Central Florida, USA Dr. Meng.
Communication Part IV Multicast Communication* *Referred to slides by Manhyung Han at Kyung Hee University and Hitesh Ballani at Cornell University.
Peer-To-Peer Multimedia Streaming Using BitTorrent Purvi Shah, Jehan-François Pâris University of Houston Houston, TX.
Communication (II) Chapter 4
Exploring VoD in P2P Swarming Systems By Siddhartha Annapureddy, Saikat Guha, Christos Gkantsidis, Dinan Gunawardena, Pablo Rodriguez Presented by Svetlana.
COCONET: Co-Operative Cache driven Overlay NETwork for p2p VoD streaming Abhishek Bhattacharya, Zhenyu Yang & Deng Pan.
1 V1-Filename.ppt / yyyy-mm-dd / Initials P2P content distribution T Applications and Services in Internet, Fall 2008 Jukka K. Nurminen.
Peer-to-Peer Networks (3) - IPTV Hongli Luo CEIT, IPFW.
ON DESIGING END-USER MULTICAST FOR MULTIPLE VIDEO SOURCES Y.Nakamura, H.Yamaguchi, A.Hiromori, K.Yasumoto †, T.Higashino and K.Taniguchi Osaka University.
Application-Layer Multicast -presented by William Wong.
1 Towards Cinematic Internet Video-on-Demand Bin Cheng, Lex Stein, Hai Jin and Zheng Zhang HUST and MSRA Huazhong University of Science & Technology Microsoft.
PDNL Application Layer Multicast for Small Groups: Status and Research Direction Bobby Bhattacharjee University of Maryland John Buford Panasonic Digital.
Overlay Network Physical LayerR : router Overlay Layer N R R R R R N.
2: Application Layer1 Chapter 2 outline r 2.1 Principles of app layer protocols r 2.2 Web and HTTP r 2.3 FTP r 2.4 Electronic Mail r 2.5 DNS r 2.6 Socket.
A Case for End System Multicast Yang-hua Chu, Sanjay G. Rao, Srinivasan Seshan and Hui Zhang Presentation by Warren Cheung Some Slides from
Higashino Lab. Maximizing User Gain in Multi-flow Multicast Streaming on Overlay Networks Y.Nakamura, H.Yamaguchi and T.Higashino Graduate School of Information.
CS Spring 2011 CS 414 – Multimedia Systems Design Lecture 37 – P2P Streaming and P2P Applications/PPLive Klara Nahrstedt Spring 2011.
TOMA: A Viable Solution for Large- Scale Multicast Service Support Li Lao, Jun-Hong Cui, and Mario Gerla UCLA and University of Connecticut Networking.
HUAWEI TECHNOLOGIES CO., LTD. Page 1 Survey of P2P Streaming HUAWEI TECHNOLOGIES CO., LTD. Ning Zong, Johnson Jiang.
Impact of Topology on Overlay Multicast Suat Mercan.
Load-Balancing Routing in Multichannel Hybrid Wireless Networks With Single Network Interface So, J.; Vaidya, N. H.; Vehicular Technology, IEEE Transactions.
Peer-Assisted Content Distribution Pablo Rodriguez Christos Gkantsidis.
A Utility-based Approach to Scheduling Multimedia Streams in P2P Systems Fang Chen Computer Science Dept. University of California, Riverside
CS Spring 2009 CS 414 – Multimedia Systems Design Lecture 37 – P2P Applications/PPLive Klara Nahrstedt Spring 2009.
APPLICATION LAYER MULTICASTING
PROP: A Scalable and Reliable P2P Assisted Proxy Streaming System Computer Science Department College of William and Mary Lei Guo, Songqing Chen, and Xiaodong.
NUS.SOC.CS5248 Ooi Wei Tsang Course Matters. NUS.SOC.CS5248 Ooi Wei Tsang Deadlines 11 Oct: Survey Paper Due 18 Oct: Paper Reviews Due.
On Reducing Mesh Delay for Peer- to-Peer Live Streaming Dongni Ren, Y.-T. Hillman Li, S.-H. Gary Chan Department of Computer Science and Engineering The.
Global Internet 2005 A Comparative Study of Multicast Protocols: Top, Bottom, or In the Middle? Li Lao (UCLA), Jun-Hong Cui (UCONN) Mario Gerla (UCLA),
March 2001 CBCB The Holy Grail: Media on Demand over Multicast Doron Rajwan CTO Bandwiz.
CS 6401 Overlay Networks Outline Overlay networks overview Routing overlays Resilient Overlay Networks Content Distribution Networks.
A Case for End System Multicast 學號: 報告人:通訊所 吳瑞益 指導教授:楊峻權 日期: ACM SIGMETRICS.
1 A Case For End System Multicast Yang-hua Chu, Sanjay Rao and Hui Zhang Carnegie Mellon University.
Internet Traffic Engineering Motivation: –The Fish problem, congested links. –Two properties of IP routing Destination based Local optimization TE: optimizing.
Buffer Analysis of Live P2P Media Streaming Approaches Atif Nazir BSc ’07, LUMS.
Cost-Effective Video Streaming Techniques Kien A. Hua School of EE & Computer Science University of Central Florida Orlando, FL U.S.A.
Accelerating Peer-to-Peer Networks for Video Streaming
Architecture and Algorithms for an IEEE 802
Overlay Networking Overview.
CPE 401/601 Computer Network Systems
Lecture 6 Overlay Networks
Lecture 6 Overlay Networks
EE 122: Lecture 22 (Overlay Networks)
Presentation transcript:

1 Peer-to-Peer Streaming Systems Kan-Leung CHENG CMSC 818Z, Spring 2007 Department of Computer Science University of Maryland 24th April, 2007

2 Outline  Introduction  Streaming Approaches Application Layer Multicast Content Distribution Networks Peer-to-Peer Streaming  Metrics  Current Issues

3 What is a Communication Network? (End system view)  Network offers a service: move information  What distinguish different types of networks? The services they provide  What distinguish the services? Latency Bandwidth Loss rate Number of end systems Service interface (how to invoke?) Other details  Reliability, unicast vs. multicast, real-time, message vs. byte...

4 The Internet  Global scale, general purpose, heterogeneous-technologies, public, computer network  Internet Protocol Open standard: Internet Engineering Task Force (IETF) as standard body Technical basis for other types of networks  Intranet: enterprise IP network  Developed by the research community

5 Peer-to-peer  Advent of multimedia technology and broadband surge lead to e xcessive usage of P2P application that includes: Sharing of large files over the internet Video-on-Demand (VoD) applications P2P media streaming applications  BitTorrent like P2P models suitable for bulk file transfer  P2P file sharing has no issues like QoS: No need to playback the media in real time Downloading takes long time, many users do it overnight

6 P2P Media Streaming  Media streaming extremely expensive 1 hour of video encoded at 300Kbps = MB Serving 1000 users would require GB  Media Server cannot serve everybody in swarm  In P2P Streaming: Peers form an overlay of nodes on top of www internet Nodes in the overlay connected by direct paths (virtual or logical links), in reality, connected by many physical links in the underlying network Nodes offer their uplink bandwidth while downloading and viewing the media content Takes load off the server Scalable

7 P2P media streaming is non trivial  Need to playback the media in real time Quality of Service  Procure future media stream packets Needs reliable neighbors and effective management  High “ churn ” rate – Users join and leave in between Needs robust network topology to overcome churn  Internet dynamics and congestion in the interior of the network Degrades QoS  Fairness policies extremely difficult to apply like tit-for-tat High bandwidth users have no incentive to contribute

8 Major Approaches  Client Server Model Not scalable  Application Layer Multicast Alternate to IP Multicast  Content Distribution Networks like Akamai Expensive  Only large infrastructure can afford  Peer-to-Peer Based Most viable and simple to use and deploy No setup cost Scalable

9 IP Multicast  Relies on network routers  Pros Bandwidth efficiency  Cons Lack of scalable inter-domain multicast routing protocols Require global deployment of multicast-capable routers Lack of practical pricing models  Examples: DVMRP/PIM-DM, CBT, PIM-SM, MOSPF, PIM-SSM, …

10 Multi-unicast vs. IP Multicast IP Multicast Unicast

11 Application Layer Multicast (ALM)  IP Multicast is not globally deployed.  Application Layer/Level Multicast (or Overlay Multicast) is hence proposed. Multicasting implemented at end hosts instead of network routers Nodes form unicast channels or tunnels between them S R1R2 E1 E2E3 Unicast

12 Multicast

13 ALM - Benefits  Easy to deploy No change to network infrastructure  Programmable end-hosts Overlay construction algorithms at end hosts can be easily applied Application-specific customizations

14 ALM Methodologies  Tree Based Content flows from server to nodes in a tree like fashion, every node forwards the content to its children, which in turn forward to their children One point of failure for a complete subtree High recovery time Notes Tree Base Approaches: NICE, SpreadIT, Zigzag  Mesh Based Overcomes tree based flaws Nodes maintain state information of many nodes High control overhead Notes Mesh Based approaches include Narada and ESM from CMU.

15 Tree Based ALM

16 Mesh Based ALM

17 Content Distribution Networks (CDNs)  CDN nodes deployed in multiple locations, often over multiple backbones  These nodes cooperate with each other to satisfy an end user ’ s request  User request is sent to nearest CDN node, which has a cached copy  QoS improves as end user receives best possible connection  Yahoo mail uses Akamai

18 Peer-to-Peer Streaming Models  Media content is broken down in small pieces and disseminated in the swarm  Neighboring nodes use Gossip protocol to exchange buffer information  Nodes trade unavailable pieces  Robust and scalable, but more delay  Most noted approach in recent years: CoolStreaming PPLive, SOPCast, Fiedian, TV Ants are derivates of CoolStreaming Proprietary and working philosophy not published Reverse Engineered and measurement studies released

19 Server … … … … … … … … 1 3 P2P Based Streaming Model

20 CoolStreaming  Files is chopped by server and disseminated in the swarm  Node upon arrival obtain a peerlist of 40 nodes from the server  Nodes contact these nodes for media content  In steady state, every node has typically 4-8 neighbors, it periodically shares it buffer content map with neighbors  Nodes exchange the unavailable content  Real world deployed and highly successful system

21 Media Streaming Tree Based Application Layer Multicast Peer-to-Peer Mesh Based [CoolStreaming, PPLive, SOPCast,TV Ants, Feidian] [NICE, ZigZag, SpreadIT][ESM, Narada] ALM and P2P

22 Metrics

23 Metrics  Quality of Service Jitter less transmission Low end to end latency  Network efficiency  Uplink utilization High uplink throughput leads to scalable P2P systems  Robustness and Reliability Churn, Node failure or departure should not affect QoS  Scalability  Fairness Determined in terms of content served (Share Ratio) No user should be forced to upload much more than what it has downloaded  Security Implicitly affects above metrics

24 Quality of Service  Most important metric  Jitter: Unavailability of stream content at play time causes jitter  Jitter less transmission ensures good media playback  Continuous supply of stream content ensures no jitters  Latency: Difference in time between playback at server and user  Lower latency keeps users interested A live event viz. Soccer match would lose importance in crucial moments if the transmission is delayed  Reducing hop count reduces latency

25  The delay between the source and receivers is small  At the same time, the number of redundant packets on any physical link should be low Gatech “Efficient” overlay CMU Berk2 Stan1 Stan2 Berk1 High degree (unicast) Berk2 Gatech Stan2 CMU Stan1 Stan2 High latency CMU Berk2 Gatech Stan1 Berk1 Network efficiency

26 Physical Link Stress (PLS)  The number of identical copies of a packet that traverse a physical link.  Indicates the bandwidth inefficiency S R1R2 E1 E2E3  Example: PLS for link S-R1 is 2. Average PLS is 7/5.

27 Relative Delay Penalty (RDP)  The ratio of the delay in the overlay with the delay in the direct unicast path.  Indicates the delay inefficiency S R1R2 E1 E2E3 20 ms 10 ms  Example: Overlay delay for the path from S to E3 is 60 ms. Unicast delay is 40 ms. Therefore, the RDP for E3 is 1.5 ( = 60 ms / 40 ms). 10 ms

28 Uplink Utilization  Uplink is the most sparse and important resource in swarm  Summation of uplinks of all nodes is the load taken off the server  Utilization = Uplink used / Uplink Available  Needs effective node organization and topology to maximize uplink utilization  High uplink throughput means more bandwidth in the swarm and hence it leads to scalable P2P systems

29 Robustness and Reliability  A Robust and Reliable P2P system should be able to support with an acceptable levels of QoS under following conditions: High churn Node failure Congestion in the interior of the network  Affects QoS  Efficient peering techniques and node topology ensures robust and reliable P2P networks

30 Scalability  Serve as many users as possible with an acceptable level of QoS  Increasing number of nodes should not degrade QoS  An effective overlay node topology and high uplink throughput ensures scalable systems

31 Fairness  Measured in terms of content served to the swarm Share Ratio = Uploaded Volume / Downloaded Volume  Randomness in swarm causes severe disparity Many nodes upload huge volume of content Many nodes get a free ride with no or very less contribution  Must have an incentive for an end user to contribute  P2P file sharing system like BitTorrent use tit-for-tat policy to stop free riding  Not easy to use it in Streaming as nodes procure pieces in real time and applying tit-for-tat can cause delays

32 Security  Implicitly affects other P2P Streaming metrics  Mainly 4 types of attacks: Malicious garbled Payload insertion Free rider – Selfish used only downloads with no uploads Whitewasher – After being kicked out, comes again with new identity. Such nodes use IP spoofing DDoS attack – One or more nodes collectively launch a DoS attack on media server to crack the system down  Lot of attack on P2P file sharing system but very few on Streaming Possibility cannot be denied

33 Current Issues

34 Current Issues  High buffering time for P2P streaming Half a minute for popular streaming channels and around 2 minutes for less popular  Some nodes lag with their peers by more than 2 minutes in playback time. Better Peering Strategy needed  Uneven distribution of uplink bandwidths (Unfairness)  Huge volumes of cross ISP traffic ISPs use bandwidth throttling to limit bandwidth usage Degrade QoS perceived at used end  Sub Optimal uplink utilization

35 Current Issues - Service differentiation  Different peers may have different privileges. A user who pays more or is more important should receive better quality of service (e.g. shorter delay, lower loss rate, less jitter, etc).  Previous overlay protocols have not sufficiently considered service differentiation based on user privilege and requirement.

36 Service differentiation– example (distance learning) Lecturer (Source node) Student (More important node) Auditor (Less important node) Note: Euclidean distance is proportional to network distance Traditional streaming system doesn’t consider the difference of user’s requirement. Important nodes will receive better quality of service (e.g. shorter delay in this example).

37 Q & A

38 References  X. Zhang, J. Liu, B. Li, and T.-S. Peter Yum, “CoolStreaming/DONet: A data-driven overlay network for efficient live media streaming,” in Proc. IEEE INFOCOM’ 05, March  Y. Chu, S. G. Rao, and H. Zhang, “A case for end system multicast,” ACM SIGMETRICS’00, June  Kan-Leung Cheng, Xing Jin and S.-H. Gary Chan, "Offering Differentiated Services in Peer-to-Peer Multimedia Multicast," in Proceedings of IEEE International Conference on Multimedia & Expo (ICME), Toronto, Canada, 9-12 July  