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.

Slides:



Advertisements
Similar presentations
謝文婷 SocialTube: P2P-assisted Video Sharing in Online Social Networks Authors: Ze Li ; Haiying Shen ; Hailang Wang ; Guoxin Liu ; Jin Li.
Advertisements

Incentives Build Robustness in BitTorrent Bram Cohen.
Novasky: Cinematic-Quality VoD in a P2P Storage Cloud Speaker : 童耀民 MA1G Authors: Fangming Liu†, Shijun Shen§,Bo Li†, Baochun Li‡, Hao Yin§,
Playback delay in p2p streaming systems with random packet forwarding Viktoria Fodor and Ilias Chatzidrossos Laboratory for Communication Networks School.
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.
A simple model for analyzing P2P streaming protocols. Seminar on advanced Internet applications and systems Amit Farkash. 1.
Lava: A Reality Check of Network Coding in Peer-to-Peer Live Streaming Mea Wang, Baochun Li Department of Electrical and Computer Engineering University.
A Lightweight Currency-based P2P VoD Incentive Mechanism Presented by Svetlana Geldfeld by Chi Wang, Hongbo Wang, Yu Lin, and Shanzhi Chen.
Stochastic Analysis of File Swarming Systems The Chinese University of Hong Kong John C.S. Lui Collaborators: D.M. Chiu, M.H. Lin, B. Fan.
Network Coding in Peer-to-Peer Networks Presented by Chu Chun Ngai
Gossip algorithms : “infect forever” dynamics Low-level objectives: – One-to-all: Disseminate rumor from source node to all nodes of network – All-to-all:
A Server-less Architecture for Building Scalable, Reliable, and Cost-Effective Video-on-demand Systems Jack Lee Yiu-bun, Raymond Leung Wai Tak Department.
Cloud Download : Using Cloud Utilities to Achieve High-quality Content Distribution for Unpopular Videos Yan Huang, Tencent Research, Shanghai, China Zhenhua.
The Tension Between High Video Rate and No Rebuffering Te-Yuan (TY) Huang Stanford University IRTF Open 87 July 30th, 2013 Joint work Prof.
Performance Analysis of Orb Rabin Karki and Thangam V. Seenivasan 1.
Chapter 101 Virtual Memory Chapter 10 Sections and plus (Skip:10.3.2, 10.7, rest of 10.8)
Scalable and Continuous Media Streaming on Peer-to-Peer Networks M. Sasabe, N. Wakamiya, M. Murata, H. Miyahara Osaka University, Japan Presented By Tsz.
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.
Peer-to-Peer 3D Streaming ACM Multimedia 2007 submission Presenter: Shun-Yun Hu ( 胡舜元 ) Adaptive Computing and Network Lab Dept. of CSIE,
Peer-to-Peer Based Multimedia Distribution Service Zhe Xiang, Qian Zhang, Wenwu Zhu, Zhensheng Zhang IEEE Transactions on Multimedia, Vol. 6, No. 2, April.
Perceptual Quality Assessment of P2P Assisted Streaming Video for Chunk-level Playback Controller Design Tom Z.J. Fu, CUHK W. T. Leung, CUHK P. Y. Lam,
APEX: A Personalization Framework to Improve Quality of Experience for DVD-like Functions in P2P VoD Applications Tianyin Xu, Baoliu Ye, Qinhui Wang, Wenzhong.
Improving Proxy Cache Performance: Analysis of Three Replacement Policies Dilley, J.; Arlitt, M. A journal paper of IEEE Internet Computing, Volume: 3.
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.
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,
1 Simultaneous Distribution Control and Privacy Protection for Proxy based Media Distribution George Mason University Songqing Chen (George Mason University)
Associative Cache Mapping A main memory block can load into any line of cache Memory address is interpreted as tag and word (or sub-address in line) Tag.
Performance Evaluation of Peer-to-Peer Video Streaming Systems Wilson, W.F. Poon The Chinese University of Hong Kong.
Squirrel: A decentralized peer- to-peer web cache Paul Burstein 10/27/2003.
Efficient Sub-stream Encoding and Transmission for P2P Video on Demand 1 Efficient Sub-Stream Encoding and Transmission for P2P Video on Demand Zhengye.
On-Demand Media Streaming Over the Internet Mohamed M. Hefeeda, Bharat K. Bhargava Presented by Sam Distributed Computing Systems, FTDCS Proceedings.
Comprehensive View of a Live Network Coding P2P System Presented by: Kenny, W. K. Cheung C. M. Fung.
CUHK Analysis of Movie Replication and Benefits of Coding in P2P VoD Yipeng Zhou Aug 29, 2012.
# Idowu Samuel O. # Kashif Shahzad # Arif Kamal M7001E - Multimedia systems [ltu.se] ©2011.
Can Internet Video-on-Demand Be Profitable? SIGCOMM 2007 Cheng Huang (Microsoft Research), Jin Li (Microsoft Research), Keith W. Ross (Polytechnic University)
Challenges, Design and Analysis of a Large-scale P2P-VoD System Dr. Yingwu Zhu.
Can Network Coding Help in P2P Networks? Dah Ming Chiu, Raymond W Yeung, Jiaqing Huang and Bin Fan Chinese University of Hong Kong Presented by Arjumand.
1 One-Click Hosting Services: A File-Sharing Hideout Demetris Antoniades Evangelos P. Markatos ICS-FORTH Heraklion,
Exploring VoD in P2P Swarming Systems By Siddhartha Annapureddy, Saikat Guha, Christos Gkantsidis, Dinan Gunawardena, Pablo Rodriguez Presented by Svetlana.
Submitted By :-  Megha Bagde  Maheshwary Dhanker  Muskan Thantharate  Chitra Netam.
Can Internet VoD be Profitable? Cheng Huang (MSR), Jin Li (MSR), Keith W. Ross (NY Polytechnique)
COCONET: Co-Operative Cache driven Overlay NETwork for p2p VoD streaming Abhishek Bhattacharya, Zhenyu Yang & Deng Pan.
Protocol Analysis of PPlive and PPstream by Internet Measurement Yunfei Zhang China Mobile
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.
Bargaining Towards Maximized Resource Utilization in Video Streaming Datacenters Yuan Feng 1, Baochun Li 1, and Bo Li 2 1 Department of Electrical and.
1 V1-Filename.ppt / yyyy-mm-dd / Initials P2P content distribution T Applications and Services in Internet, Fall 2008 Jukka K. Nurminen.
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.
Department of Information Engineering The Chinese University of Hong Kong A Framework for Monitoring and Measuring a Large-Scale Distributed System in.
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.
Problem Statement of Peer to Peer Streaming Protocol (PPSP) Yunfei Zhang Ning Zong Gonzalo Camarillo David Byran Hirold Liu Yingjie Gu.
COT 4600 Operating Systems Fall 2009 Dan C. Marinescu Office: HEC 304 Office hours: Tu-Th 3:00-4:00 PM.
P2P Streaming Protocol (PPSP) Requirements draft-zong-ppsp-reqs-03.
A Simple Model for Analyzing P2P Streaming Protocols Zhou Yipeng Chiu DahMing John, C.S. Lui The Chinese University of Hong Kong.
PROP: A Scalable and Reliable P2P Assisted Proxy Streaming System Computer Science Department College of William and Mary Lei Guo, Songqing Chen, and Xiaodong.
SocialTube: P2P-assisted Video Sharing in Online Social Networks
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.
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.
MiddleMan: A Video Caching Proxy Server NOSSDAV 2000 Brian Smith Department of Computer Science Cornell University Ithaca, NY Soam Acharya Inktomi Corporation.
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.
Improving QoS in BitTorrent-like VoD Systems Yan Yang Alix L.H. Chow Leana Golubchik Dannielle Bragg Univ. of Southern California Harvard University InfoCom.
PEAR TO PEAR PROTOCOL. Pure P2P architecture no always-on server arbitrary end systems directly communicate peers are intermittently connected and change.
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.
COT 4600 Operating Systems Spring 2011 Dan C. Marinescu Office: HEC 304 Office hours: Tu-Th 5:00-6:00 PM.
Geethanjali College Of Engineering and Technology Cheeryal( V), Keesara ( M), Ranga Reddy District. I I Internal Guide Mrs.CH.V.Anupama Assistant Professor.
Swapping Segmented paging allows us to have non-contiguous allocations
COT 4600 Operating Systems Spring 2011
Balancing Throughput, Robustness, and In-Order Delivery in P2P VoD
Presentation transcript:

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 University of Hong Kong

The case for P2P VoD  Client-server VoD is expensive, even with CDN support  The case for peer-assisted VoD (Sigcomm 2007)  The Key challenges  P2P live streaming, already very successful, relies on peers watching video at the same time  For P2P VoD, much less synchrony in time Peers watching different movies Peers watching different parts of the same movie

The PPLive VoD System  Deployed in the fall of 2007  100K+ subscribers  1000s simultaneous users at a time  100s of movies at resolution of Kb/s  Server loading around 11 percent at busy time  Reasonable user satisfaction  Objective measurements  Subjective survey

Contrast with P2P Streaming  Both make use of peers uplink bandwidth  For P2P streaming  Peers are viewing the same video simultaneously  For P2P VoD  Peers are viewing different videos  Peers are viewing different parts of the same movie time

What is the secret?  Make users contribute storage!  Each peer contributes 0.5 to 1GB of hard disk  The key problem of VoD: content replication! Peers periodically report replication state to tracker Replication algorithm to decide what to keep  Less autonomy, less free riding  Peers have little control in upload BW, cache  Other less technical factors  Working with ISPs  Get good content to draw eyeballs  Get Ads to finance operation

Content replication  Multiple video replication  Tracker system to map movies to on-line peers “ Holding a movie” means holding at least some chunks of a movie, in memory or disk  Bring movies from disk to memory when requested  Replication at chunk level (same as p2p streaming)  Peers gossip to get bitmap  Size of chunk = 2MB  Size of bitmap ~ 100 bits

Segment sizes  Chunk  Unit advertised in bitmap  Piece  minimum viewable unit  Subpiece  Transmission unit  May request different subpiece from different peers 16KB 1KB chunk piece subpiece

Important algorithms There are several important algorithms:  Piece selection algorithm  Replication algorithm  Transmission scheduling algorithm These are interesting algorithms worthy of further studies

Piece selection A mixture of strategies used for pulling data:  Sequential  Closest to playback first  Rarest first  Equivalent to Newest first, helps propagate content  Anchor-based  Sequential at different anchor points  Randomly select anchor-point, with some probability Neighbor buffer map X X playback Rarest FirstSequential Anchor Points Local buffer map

Replication algorithm  No pre-fetch; rely on what peer already has in its disk cache  Cache replacement  Many possibilities: LRU, LFU  Weigh-based approach How complete is the movie cached? Favors those more complete movies Once a movie is marked for discard, discard all chunks What is the Availability To Demand (ATD) ratio? This information is obtained from tracker

Transmission strategy When pulling a piece, or chunk:  Request (different) subpieces from different neighbors at the same time  The number of neighbors to try decided experimentally. For 500Kb/s, 8-20 can be tried simultaneously  Overly aggressive -> duplicate replies, higher system overheads  Overly conservative -> under- performance Neighbors holding piece Requesting peer

Measurement study  User behavior  Replication: demand and supply  User satisfaction  Other network conditions

Viewing traces MVR = Movie View Records UID = user’s unique ID MID = movie ID ST = start time ET = end time SP = start position

Typical movies Note: 1)Some users viewed entire movie, e.g. 5K watched entire movie 1 2)But large number of users are browsing…

Starting position of viewing

Peer residence time distribution 70% users staying more than 15 minPrime times of the day

Replication: supply  Movie level supply  Chunk-level supply = % time a chunk is held

Replication: supply and demand ATD = availability to demand ratio

User satisfaction Fluency = viewing time / total time (including buffering, freezes)

Servers  Some information about a typical server 48-hour Measurement Dell Power Edge server CPU: Intel DueCore1.6GHz RAM: 4GB Gigabit Ethernet Card Provide 100 movies.

Other network conditions  Uplink and downlink bandwidth distribution Recent one-day measuring result on May 12, 2008 Average peer contributed upload rate: 368Kbps Average download rate from other peers: 352Kbps Average download rate from server: 32Kbps Average server loading ratio: 8.3%

How to measure server loading  Server loading ratio = actual server uploading / server uploading w/o p2p  During non-prime time  server loading ratio may be high  absolute loading is not  Server loading ratio is defined as average over prime time  Achieved server loading ratio by PPLive  For P2P streaming, very low (e.g. 1-2%)  For P2P VoD, it was around 20% when the paper was written; after some optimization, the ratio was reduced to around 10-11%.

NAT  NAT Traverse

Concluding remarks  Main messages of this paper  Large scale P2P VoD can be realized  Design rationales and insights from the PPLive case  Some key research problems to take home  How to measure a P2P VoD system, and some insights from measurement  How to monitor a P2P VoD system, to optimize its operation