Challenges, Design and Analysis of a Large-scale P2P-VoD System Yan Huang, Tom Z. J. Fu, Dah-Ming Chiu, John C. S. Lui and Cheng Huang 2008. 10. 6. SeungHo.

Slides:



Advertisements
Similar presentations
Dissemination-based Data Delivery Using Broadcast Disks.
Advertisements

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.
Challenges, Design and Analysis of a Large-scale P2P-VoD System
Kangaroo: Video Seeking in P2P Systems Xiaoyuan Yang †, Minas Gjoka ¶, Parminder Chhabra †, Athina Markopoulou ¶, Pablo Rodriguez † † Telefonica Research.
Peer-assisted On-demand Streaming of Stored Media using BitTorrent-like Protocols Authors: Niklas Carlsson & Derek L. Eager Published in: Proc. IFIP/TC6.
A Lightweight Currency-based P2P VoD Incentive Mechanism Presented by Svetlana Geldfeld by Chi Wang, Hongbo Wang, Yu Lin, and Shanzhi Chen.
Network Coding in Peer-to-Peer Networks Presented by Chu Chun Ngai
Cloud Download : Using Cloud Utilities to Achieve High-quality Content Distribution for Unpopular Videos Yan Huang, Tencent Research, Shanghai, China Zhenhua.
CompSci 356: Computer Network Architectures Lecture 21: Content Distribution Chapter 9.4 Xiaowei Yang
Internet Networking Spring 2006 Tutorial 12 Web Caching Protocols ICP, CARP.
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.
Designing QoE experiments to evaluate Peer-to-Peer streaming applications Tom Z.J. Fu, CUHK Dah Ming Chiu, CUHK Zhibin Lei, ASTRI VCIP 2010, Huang Shan,
A Trust Based Assess Control Framework for P2P File-Sharing System Speaker : Jia-Hui Huang Adviser : Kai-Wei Ke Date : 2004 / 3 / 15.
Presented by Stephen Kozy. Presentation Outline Definition and explanation Comparison and Examples Advantages and Disadvantages Illegal and Legal uses.
Exploiting Content Localities for Efficient Search in P2P Systems Lei Guo 1 Song Jiang 2 Li Xiao 3 and Xiaodong Zhang 1 1 College of William and Mary,
Peer-to-Peer Intro Jani & Sami Peltotalo.
Understanding Mesh-based Peer-to-Peer Streaming Nazanin Magharei Reza Rejaie.
Performance Evaluation of Peer-to-Peer Video Streaming Systems Wilson, W.F. Poon The Chinese University of Hong Kong.
Efficient Sub-stream Encoding and Transmission for P2P Video on Demand 1 Efficient Sub-Stream Encoding and Transmission for P2P Video on Demand Zhengye.
CS 524 (Wi 2003/04) - Asim LUMS 1 Cache Basics Adapted from a presentation by Beth Richardson
P2P WeeSan Lee
On-Demand Media Streaming Over the Internet Mohamed M. Hefeeda, Bharat K. Bhargava Presented by Sam Distributed Computing Systems, FTDCS Proceedings.
Some recent work on P2P content distribution Based on joint work with Yan Huang (PPLive), YP Zhou, Tom Fu, John Lui (CUHK) August 2008 Dah Ming Chiu Chinese.
CS Spring 2012 CS 414 – Multimedia Systems Design Lecture 34 – Media Server (Part 3) Klara Nahrstedt Spring 2012.
# Idowu Samuel O. # Kashif Shahzad # Arif Kamal M7001E - Multimedia systems [ltu.se] ©2011.
NovaBACKUP 10 xSP Technical Training By: Nathan Fouarge
Challenges, Design and Analysis of a Large-scale P2P-VoD System Dr. Yingwu Zhu.
Computer Measurement Group, India Reliable and Scalable Data Streaming in Multi-Hop Architecture Sudhir Sangra, BMC Software Lalit.
Introduction Widespread unstructured P2P network
Research on cloud computing application in the peer-to-peer based video-on-demand systems Speaker : 吳靖緯 MA0G rd International Workshop.
1 The Google File System Reporter: You-Wei Zhang.
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.
Cluster and Grid Computing Lab, Huazhong University of Science and Technology, Wuhan, China Supporting VCR Functions in P2P VoD Services Using Ring-Assisted.
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 Network Anas Hardan. What is a Network? What is a Network? A network is a group of computers and other devices (such as printers) that are.
BitTorrent Internet Technologies and Applications.

Peer-to-Peer Networking. Presentation Introduction Characteristics and Challenges of Peer-to-Peer Peer-to-Peer Applications Classification of Peer-to-Peer.
DELAYED CHAINING: A PRACTICAL P2P SOLUTION FOR VIDEO-ON-DEMAND Speaker : 童耀民 MA1G Authors: Paris, J.-F.Paris, J.-F. ; Amer, A. Computer.
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.
A Measurement Study of a Peer-to-Peer Video-on-Demand System Bin Cheng 1, Xuezheng Liu 2, Zheng Zhang 2 and Hai Jin 1 1 Huazhong University of Science.
HUAWEI TECHNOLOGIES CO., LTD. Page 1 Survey of P2P Streaming HUAWEI TECHNOLOGIES CO., LTD. Ning Zong, Johnson Jiang.
1 V1-Filename.ppt / / Jukka K. Nurminen Peer-to-peer T Applications and Services in Internet, Fall 2008 Jukka K. Nurminen.
Temporal-DHT and its Application in P2P-VoD Systems Abhishek Bhattacharya, Zhenyu Yang & Shiyun Zhang.
B IT T ORRENT T ECHNOLOGY Anthony Pervetich. H ISTORY Bram Cohen Designed the BitTorrent protocol in April 2001 Released July 2, 2001 Concept Late 90’s.
A Simple Model for Analyzing P2P Streaming Protocols Zhou Yipeng Chiu DahMing John, C.S. Lui The Chinese University of Hong Kong.
Efficient P2P Search by Exploiting Localities in Peer Community and Individual Peers A DISC’04 paper Lei Guo 1 Song Jiang 2 Li Xiao 3 and Xiaodong Zhang.
Flashback: A Peer-to-Peer Web Server for Flash Crowds Presented by Tom Batkiewicz CS 587x Fall ‘07.
PROP: A Scalable and Reliable P2P Assisted Proxy Streaming System Computer Science Department College of William and Mary Lei Guo, Songqing Chen, and Xiaodong.
1 Push-to-Peer Video-on-Demand System. 2 Abstract Content is proactively push to peers, and persistently stored before the actual peer-to-peer transfers.
Concepts of Video and File/Sharing System Reporters: Ma. Raizza M. Cantara Mary Jane Eule Richard Ravalo Maika Laguartilla.
BALANCING THROUGHPUT, ROBUSTNESS, AND IN- ORDER DELIVERY IN P2P VOD Bin Fan, David G. Andersen, Michael Kaminsky†, Konstantina Papagiannaki † Carnegie.
A simple model for analyzing P2P streaming protocols. Seminar on advanced Internet applications and systems Amit Farkash. 1.
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.
Content aware packet scheduling in peer-to-peer video streaming By: Reza Motamedi Advisor: Hamid Reza Rabiee.
Bit Torrent Nirav A. Vasa. Topics What is BitTorrent? Related Terms How BitTorrent works Steps involved in the working Advantages and Disadvantages.
Improving QoS in BitTorrent-like VoD Systems Yan Yang Alix L.H. Chow Leana Golubchik Dannielle Bragg Univ. of Southern California Harvard University InfoCom.
Inside the New Coolstreaming: Principles, Measurements and Performance Implications Bo Li, Susu Xie, Yang Qu, Gabriel Y. Keung, Chuang Lin, Jiangchuan.
California State University, LA Presented by Amanda Steven StevenAamirObaid.
Challenges, Design and Analysis of a Large-scale P2P-VoD System Yan Huang, Tom Z. J. Fu, Dah-Ming Chiu, John C. S. Lui and Cheng Huang Chinese University.
Cost-Effective Video Streaming Techniques Kien A. Hua School of EE & Computer Science University of Central Florida Orlando, FL U.S.A.
An example of peer-to-peer application
AWS Cloud Computing Masaki.
Part 4: Peer to Peer - P2P Applications
Balancing Throughput, Robustness, and In-Order Delivery in P2P VoD
PEER-TO-PEER SYSTEMS.
Presentation transcript:

Challenges, Design and Analysis of a Large-scale P2P-VoD System Yan Huang, Tom Z. J. Fu, Dah-Ming Chiu, John C. S. Lui and Cheng Huang SeungHo Lee

Outline  P2P overview  An architecture of a P2P-VoD system  Performance metrics  Measurement results and analysis  Future works

P2P Overview  Advantages of P2P Users help each other so that the server load is significantly reduced. P2P increases robustness in case of failures by replicating data over multiple peers.  P2P services P2P file downloading : BitTorrent and Emule P2P live streaming : Coolstreaming and PPLive P2P video-on-demand (P2P-VoD) : PPLive –Like P2P streaming systems, P2P-VoD systems also deliver the content by streaming, but peers can watch different parts of a video at the same time. –P2P-VoD systems require each user to contribute a small amount of storage (usually 1GB) instead of only the playback buffer in memory as in the P2P streaming systems

[Ref] P2P Protocols and Applications Network or Protocol UseApplications BitTorrent File sharing / Software distribution / Media distribution ABC, AllPeers, Vuze (formerly Azureus), BitComet, BitLord, BitTornado, BitTorrent, Burst!, Deluge, FlashGet, G3 Torrent, Halite, KTorrent, LimeWire, MLDonkey, Opera, Panthera, QTorrent, rTorrent, Shareaza, TorrentFlux, Transmission, Tribler, µTorrent, Thunder eDonkey File sharingaMule, eDonkey2000 (discontinued), eMule, eMule Plus, FlashGet, iMesh, Jubster, lMule, MLDonkey, Morpheus, Panthera, Pruna, Shareaza, xMule Gnutells File sharingAcquisition, BearShare, Cabos,FilesWire,FrostWire, Gnucleus, Grokster, gtk-gnutella, iMesh, Kiwi Alpha, LimeWire, MLDonkey, Morpheus, MP3 Rocket, Panthera, Poisoned, Shareaza, Swapper, XoloX Napster File sharingNapigator, Napster P2PTV Video stream / File sharing TVUPlayer, Joost, CoolStreaming, Cybersky-TV, TVants, PPLive, LiveStation

P2P-VoD system  Major components Peers Servers : the source of content Trackers : help peers connect to other peers to share the same content A bootstrap server : helps peers to find a suitable tracker and to perform other bootstrapping functions Other servers –log servers : log significant events for data measurement –transit servers : help peers behind NAT boxes

Segment sizes  How to divide a video into multiple pieces Small segment size gives more flexibility to schedule which piece should be uploaded from which neighboring peer. The larger the segment size the smaller the overhead. –Header overhead –Bitmap overhead –Protocol overhead The video player expects a certain minimum size for a piece of content to be viewable.  Segmentation of a movie in PPLive’s VoD system

Replication Strategy  Goal To make the chunks as available to the user population as possible to meet users’ viewing demand while without incurring excessive additional overheads  Considerations Whether to allow multiple movies be cached –Multiple movie cache (MVC) / single movie cache (SVC) Whether to pre-fetch or not Which chunk/movie to remove when the disk cache is full –Least recently used (LRU) / least frequently used (LFU)

Content Discovery  Content advertising and look-up methods Trackers –Used to keep track of which peers replicate a given movie –As soon as a user starts watching a movie, the peer informs its tracker that it is replicating that movie. –When a peer wants to start watching movie, it goes to the tracker to find out which other peers have that movie. Gossip method –Discovering where chunks are is by the gossip method. –This cuts down on the reliance on the tracker, and makes the system more robust. DHT –Used to automatically assign movies to trackers to achieve some level of load balancing.

Piece Selection  Which piece to download first Sequential : select the piece that is closest to what is needed for the video playback Rarest first : selecting the rarest piece helps speeding up the spread of pieces, hence indirectly helps streaming quality. Anchor-based : when a user tries to jump to a particular location in the movie, if the piece for that location is missing then the closest anchor point is used instead.

Transmission Strategy  Goals Maximize downloading rate Minimize the overheads  Strategies (by levels of aggressiveness) A peer can send a request for the same content to multiple neighbors simultaneously A peer can request for different content from multiple neighbors simultaneously (PPLive’s choice) –For playback rate of 500Kbps, 8-20 neighbors is the best. More than this number can still improve the achieved rate, but at the expense of heavy duplication rate. A peer can work with one neighbor at a time.

Other Design Issues  NAT and firewalls Discovering different types of NAT boxes Pacing the upload rate and request rate  Content authentication Chunk level authentication –Some pieces may be polluted and cause poor viewing experience locally at a peer. –If a peer detects a chunk is bad, discard it. Piece level authentication

What to measure  User behavior includes the user arrival patterns, and how long they stayed watching a movie used to improve the design of the replication strategy  External performance metrics includes user satisfaction and server load used to measure the system performance perceived externally  Health of replication measures how well a P2P-VoD system is replicating a content used to infer how well an important component of the system is doing

User Behavior  MVR (movie viewing record)

User Satisfaction  Simple fluency measures the fraction of time a user spends watching a movie out of the total time he spends waiting for and watching that movie R(m, i) : the set of all MVRs for a given movie m and user i n(m, i) : the number of MVRs in R(m, i) r : one of the MVRs in R(m, i)

User Satisfaction (cont’)  User satisfaction index considers the quality of the delivery of the content r(Q) : a grade for the average viewing quality for an MVR r

Health of Replication  Three levels Movie level –The number of active peers who have advertised storing chunks of that movie –The information that the tracker collects about movies Weighted movie level –Considers the fraction of chunks a peer has in computing the index Chunk bitmap level –The number of copies each chunk of a movie is stored by peers –Various other statistics can be computed; the average number of copies of a chunk in a movie, the minimum number of chunks, the variance of the number of chunks.

Statistics on video objects  Overall statistics of the three typical movies

Statistics on user behavior (1)  Interarrival time distribution of viewers

Statistics on user behavior (2)  View duration distribution

Statistics on user behavior (3)  Start position distribution

Health index of Movies (1)  Number of peers that own the movie

Health index of Movies (2)  Average owning ratios for different chunks

Health index of Movies (3)  Chunk availability and chunk demand

Health index of Movies (4)  The available to demand ratios

User Satisfaction Index (1)  Generating fluency index The computation of F(m, i) is carried out by the client software. The client software reports all MVRs and the fluency F(m, i) to the log server whenever a “stop-watching” event occurs. –The STOP button is pressed –Another movie/programme is selected –The user turns off the P2P-VoD software

User Satisfaction Index (2)  The number of fluency records A good indicator of the number of viewers of the movie

User Satisfaction Index (3)  The distribution of fluency index

Future works  Further research in P2P-VoD systems How to design a highly scalable P2P-VoD system to support millions of simultaneous users How to perform dynamic movie replication, replacement, and scheduling so as reduce the workload at the content servers How to quantify various replication strategies so as to guarantee a high health index How to select proper chunk and piece transmission strategies so as to improve the viewing quality How to accurately measure and quantify the user satisfaction level