CS 414 - Spring 2009 CS 414 – Multimedia Systems Design Lecture 37 – P2P Applications/PPLive Klara Nahrstedt Spring 2009.

Slides:



Advertisements
Similar presentations
P2P Live Video Streaming Polytechnic University Brooklyn, NY
Advertisements

Dynamic Replica Placement for Scalable Content Delivery Yan Chen, Randy H. Katz, John D. Kubiatowicz {yanchen, randy, EECS Department.
Peer-to-Peer Systems CNT
Clayton Sullivan PEER-TO-PEER NETWORKS. INTRODUCTION What is a Peer-To-Peer Network A Peer Application Overlay Network Network Architecture and System.
PPL IVE : A M EASUREMENT S TUDY OF P2P IPTV S YSTEM Sergio Chacon.
Cooperative Overlay Networking for Streaming Media Content Feng Wang 1, Jiangchuan Liu 1, Kui Wu 2 1 School of Computing Science, Simon Fraser University.
Suphakit Awiphan, Takeshi Muto, Yu Wang, Zhou Su, Jiro Katto
Alex Bikfalvi Universidad Carlos III de Madrid  IMDEA Networks Institute.
Networks & Multimedia Amit Pande, Post-doctoral fellow, Department of Computer Science, University of California Davis
CompSci 356: Computer Network Architectures Lecture 21: Content Distribution Chapter 9.4 Xiaowei Yang
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.
Peer-to-Peer Networks as a Distribution and Publishing Model Jorn De Boever (june 14, 2007)
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.
15-441: Computer Networking Lecture 26: Networking Future.
An Analysis of Internet Content Delivery Systems Stefan Saroiu, Krishna P. Gommadi, Richard J. Dunn, Steven D. Gribble, and Henry M. Levy Proceedings of.
1 A Framework for Lazy Replication in P2P VoD Bin Cheng 1, Lex Stein 2, Hai Jin 1, Zheng Zhang 2 1 Huazhong University of Science & Technology (HUST) 2.
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 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.
Chord-over-Chord Overlay Sudhindra Rao Ph.D Qualifier Exam Department of ECECS.
A Framework for Cost-Effective Peer-to- Peer Content Distribution Mohamed Hefeeda and Bharat Bhargava Department of Computer Sciences Purdue University.
Department of Computer Science & Engineering The Chinese University of Hong Kong Constructing Robust and Resilient Framework for Cooperative Video Streaming.
CS Spring 2012 CS 414 – Multimedia Systems Design Lecture 34 – Media Server (Part 3) Klara Nahrstedt Spring 2012.
CS Spring 2014 CS 414 – Multimedia Systems Design Lecture 40 – P2P Streaming (Part 4) Klara Nahrstedt.
PROMISE: Peer-to-Peer Media Streaming Using CollectCast Presented by: Randeep Singh Gakhal CMPT 886, July 2004.
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.
1 NETE4631 Communicating with the Cloud and Using Media and Streaming Lecture Notes #14.
CS Spring 2011 CS 414 – Multimedia Systems Design Lecture 28 – Media Server (Part 4) Klara Nahrstedt Spring 2011.
Streaming Video over the Internet Dapeng Wu Electrical & Computer Engineering University of Florida.
1 P2P Computing. 2 What is P2P? Server-Client model.
Peer-to-Peer Networks (3) - IPTV Hongli Luo CEIT, IPFW.
By Behzad Akbari Spring 2011
Network Technologies essentials Week 9: Distributed file sharing & multimedia Compilation made by Tim Moors, UNSW Australia Original slides by David Wetherall,
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.
CS Spring 2012 CS 414 – Multimedia Systems Design Lecture 29 – Buffer Management (Part 2) Klara Nahrstedt Spring 2012.
CPSC 441: Multimedia Networking1 Outline r Scalable Streaming Techniques r Content Distribution Networks.
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.
Resilient Peer-to-Peer Streaming Presented by: Yun Teng.
A Case for End System Multicast Yang-hua Chu, Sanjay G. Rao, Srinivasan Seshan and Hui Zhang Presentation by Warren Cheung Some Slides from
Department of Information Engineering The Chinese University of Hong Kong A Framework for Monitoring and Measuring a Large-Scale Distributed System in.
An Efficient Approach for Content Delivery in Overlay Networks Mohammad Malli Chadi Barakat, Walid Dabbous Planete Project To appear in proceedings of.
CS Spring 2011 CS 414 – Multimedia Systems Design Lecture 37 – P2P Streaming and P2P Applications/PPLive Klara Nahrstedt Spring 2011.
ACM NOSSDAV 2007, June 5, 2007 IPTV Experiments and Lessons Learned Panelist: Klara Nahrstedt Panel: Large Scale Peer-to-Peer Streaming & IPTV Technologies.
HUAWEI TECHNOLOGIES CO., LTD. Page 1 Survey of P2P Streaming HUAWEI TECHNOLOGIES CO., LTD. Ning Zong, Johnson Jiang.
Presenter: Kuei-Yu Hsu Advisor: Dr. Kai-Wei Ke 2014/6/9 Implementation of a Peer-to-Peer Real-time streaming media system.
A Simple Model for Analyzing P2P Streaming Protocols Zhou Yipeng Chiu DahMing John, C.S. Lui The Chinese University of Hong Kong.
A Utility-based Approach to Scheduling Multimedia Streams in P2P Systems Fang Chen Computer Science Dept. University of California, Riverside
PROP: A Scalable and Reliable P2P Assisted Proxy Streaming System Computer Science Department College of William and Mary Lei Guo, Songqing Chen, and Xiaodong.
P2P Live Streaming: Selected Systems Dmitri Moltchanov Tampere University of Technology Department of Electronics and Communications Engineering 1.
Peer-to-Peer Media Streaming ZIGZAG - Ye Lin PROMISE – Chanjun Yang SASABE - Kung-En Lin.
ADVANCED COMPUTER NETWORKS Peer-Peer (P2P) Networks 1.
March 2001 CBCB The Holy Grail: Media on Demand over Multicast Doron Rajwan CTO Bandwiz.
SHADOWSTREAM: PERFORMANCE EVALUATION AS A CAPABILITY IN PRODUCTION INTERNET LIVE STREAM NETWORK ACM SIGCOMM CING-YU CHU.
Network and Systems Laboratory nslab.ee.ntu.edu.tw Yipeng Zhou, Dah Ming Chiu, and John C.S. Lui Information Engineering Department The Chinese University.
CS Spring 2014 CS 414 – Multimedia Systems Design Lecture 30 – Final Comments on DASH and Client-Server Buffer Management Klara Nahrstedt Spring.
A Case for End System Multicast 學號: 報告人:通訊所 吳瑞益 指導教授:楊峻權 日期: ACM SIGMETRICS.
CS Spring 2012 CS 414 – Multimedia Systems Design Lecture 37 – Introduction to P2P (Part 1) Klara Nahrstedt.
1 A Case For End System Multicast Yang-hua Chu, Sanjay Rao and Hui Zhang Carnegie Mellon University.
09/13/04 CDA 6506 Network Architecture and Client/Server Computing Peer-to-Peer Computing and Content Distribution Networks by Zornitza Genova Prodanoff.
An Analysis of Internet Content Delivery Systems 19 rd November, 2007 Youngsub CSE, SNU.
Cost-Effective Video Streaming Techniques Kien A. Hua School of EE & Computer Science University of Central Florida Orlando, FL U.S.A.
Streaming Audio and Video, Content Delivery
Klara Nahrstedt Spring 2009
Mohammad Malli Chadi Barakat, Walid Dabbous Alcatel meeting
Overlay Networking Overview.
EE 122: Lecture 22 (Overlay Networks)
Presentation transcript:

CS Spring 2009 CS 414 – Multimedia Systems Design Lecture 37 – P2P Applications/PPLive Klara Nahrstedt Spring 2009

Administrative Peer Evaluation Document is posted on the web Peer Evaluations are due May 8 (Friday), 5pm Sign-up sheet for Thursday MP4 demonstration will be provided during Wednesday class MP4 finalist selection is on Thursday, 5-7pm in 216 SC MP4 competition of the finalists is 5-7, May 1, in 216 SC CS Spring 2009

Outline Background IP Multicast Content delivery networks Case study: PPLive CS Spring 2009

Reading “ Opportunities and Challenges of Peer-to-Peer Internet Video Broadcast” by Liu et al. “Insights into PPLive: A Measurement Study of a Large- Scale P2P IPTV System” by Hei et al. “Mapping the PPLive Network: Studying the Impacts of Media Streaming on P2P Overlays” by Vu et al. Some lecture material borrowed from the following sources  Sanjay Rao’s lecture on P2P multicast in his ECE 695B course at Purdue  “Insights into PPLive: A Measurement Study of a Large-Scale P2P IPTV System” by Hei et al.  “Mapping the PPLive Network: Studying the Impacts of Media Streaming on P2P Overlays” by Vu et al. CS Spring 2009

Background Large-scale video broadcast over Internet (Internet TV such as PPLIve, YouTube)  Real-time video streaming  Need to support large numbers of viewers AOL Live 8 broadcast peaked at 175,000 (July 2005) CBS NCAA broadcast peaked at 268,000 (March 2006)  Very high data rate TV quality video encoded with MPEG-4 would require 1.5 Tbps aggregate capacity for 100 million viewers NFL Superbowl 2007 had 93 million viewers in the U.S. (Nielsen Media Research) CS Spring 2009

Possible Solutions Single server IP multicast Content delivery networks (CDNs) Application end points (pure P2P) CS Spring 2009

Single Server Application-layer solution  Single media server unicasts to all clients Needs very high capacity to serve large number of clients  CPU  Main memory  Bandwidth Impractical for millions of simultaneous viewers CS Spring 2009

Single Server P C C C C C C C C C CS Spring 2009

IP Multicast Network-layer solution  Routers responsible for multicasting Efficient bandwidth usage Requires per-group state in routers  Scalability concern  Violates end-to-end design principle Slow deployment  IP multicast is often disabled in routers Difficult to support higher layer functionality CS Spring 2009

IP Multicast “Smart Network” Berkeley Gatech Stanford Per-group Router State Source: Purdue Source: Sanjay Rao’s lecture from Purdue CS Spring 2009

Overlay Network Consists of application-layer links Application-layer link is logical link consisting of one or more links in underlying network Used by both CDNs and pure P2P systems R1R2 AB R3 CD CS Spring 2009

Content Delivery Networks Strategically located replicas unicast content to nearby clients  Reduces burden on primary server  Improves perceived performance at client Akamai CDN is the largest  Reports peak aggregate capacity of 200 Gbps  Not enough for 1.5 Tbps requirement for 100 million simultaneous viewers Limelight CDN served YouTube content CS Spring 2009

Content Delivery Networks P R1 R2 R3 C C C C C C C C C CS Spring 2009

P2P Applications Many P2P applications since the 1990s  File sharing Napster, Gnutella, KaZaa, BitTorrent  Internet telephony Skype  Internet television PPLive, CoolStreaming CS Spring 2009

Why P2P? Every node is both a server and client  Easier to deploy applications at endpoints  No need to build and maintain expensive infrastructure  Potential for both performance improvement and additional robustness  Additional clients create additional servers for scalability CS Spring 2009

Purdue Stan1 Stan2 Berk2 Overlay Tree Stanford Berkeley Dumb Network Gatech Berk1 Stan1 Stan2 Berk1 Berk2 Source: Purdue P2P Multicast Source: Sanjay Rao’s lecture from Purdue CS Spring 2009

Overlay Performance Even a well-designed overlay cannot be as efficient as IP Mulitcast But performance penalty can be kept low Trade-off some performance for other benefits Increased Delay Dumb Network Gatech Duplicate Packets: Bandwidth Wastage Stanford Berkeley Source: Sanjay Rao’s lecture from Purdue CS Spring 2009

Case Study: PPLive Very popular P2P IPTV application  From Huazhong U. of Science and Technology, China  Free for viewers  Over 100,000 simultaneous viewers and 400,00 viewers daily  Over 200+ channels  Windows Media Video and Real Video format CS Spring 2009

PPLive Overview

PPLive Design Characteristics Gossip-based protocols  Peer management  Channel discovery  TCP used for signaling Data-driven p2p streaming  TCP used for video streaming  Peer client contacts multiple active peers to download media content of the channel  Cached contents can be uploaded from a client peer to other peers watching the same channel  Received video chunks are reassembled in oder and buffered in queue of PPLive TV Engine (local streaming) CS Spring 2009

PPLive Architecture 1. Contact channel server for available channels 2. Retrieve list of peers watching selected channel 3. Find active peers on channel to share video chunks Source: “Insights into PPLive: A Measurement Study of a Large-Scale P2P IPTV System” by Hei et al. CS Spring 2009

P2P Streaming Process CS Spring 2009 TV Engine – responsible for downloading video chunks from PPLive network streaming downloaded video to local media player

Some Interesting Measurements (TCP session duration versus TCP average segment size for CCTV3-Campus) CS Spring 2009

Download and Upload Video Rate over Time at CCTV3 Campus CS Spring 2009

Evolution of active video peer connections on CCTV3 Network CS Spring 2009

Rendering PPLive Topology CS Spring 2009

Characterizing and Modeling Node Degree Distribution CS Spring 2009

28 Channel Size Varies over a day Peaks at noon and night A varies 10 times, B and C varies 2 times Different from P2P file sharing [Bhagwan 03]

29 Channel Size Varies over Consecutive Days The same channel, same program: Peaks drift Peaks depend on time and channel content First day Second day

PPLive Channel Size Analysis CS Spring 2009

Conclusion Couple of Lessons Learned  Structure of PPLive overlay is close to random  PPLive peers slightly peer to have closer neighbors and peers can attend simultaneous overlays Improves streaming quality  Geometrically distributed session lenghts of nodes can be used to accurately model node arrival and departure Major differences between PPLive overlays and P2P file-sharing overlays!!! CS Spring 2009