Balancing Throughput, Robustness, and In-Order Delivery in P2P VoD

Slides:



Advertisements
Similar presentations
Optimal Scheduling in Peer-to-Peer Networks Lee Center Workshop 5/19/06 Mortada Mehyar (with Prof. Steven Low, Netlab)
Advertisements

Rarest First and Choke Algorithms are Enough Arnaud LEGOUT INRIA, Sophia Antipolis France G. Urvoy-Keller and P. Michiardi Institut Eurecom France.
The BitTorrent Protocol. What is BitTorrent?  Efficient content distribution system using file swarming. Does not perform all the functions of a typical.
Incentives Build Robustness in BitTorrent Bram Cohen.
Presented by: Su Yingbin. Outline Introduction SocialSwam Design Notations Algorithms Evaluation Conclusion.
Novasky: Cinematic-Quality VoD in a P2P Storage Cloud Speaker : 童耀民 MA1G Authors: Fangming Liu†, Shijun Shen§,Bo Li†, Baochun Li‡, Hao Yin§,
Agenda Introduction BT + Multimedia Experimental Conclusion 2.
Cameron Dale and Jiangchuan LiuA Measurement Study of Piece Population in BitTorrent Introduction BitTorrent Experiment Results Simulation Discussion A.
Kangaroo: Video Seeking in P2P Systems Xiaoyuan Yang †, Minas Gjoka ¶, Parminder Chhabra †, Athina Markopoulou ¶, Pablo Rodriguez † † Telefonica Research.
Session 8b, 5 th July 2012 Future Network & MobileSummit 2012 Copyright 2012 Mobile Multimedia Laboratory Realistic Media Streaming over BitTorrent George.
Peer-assisted On-demand Streaming of Stored Media using BitTorrent-like Protocols Authors: Niklas Carlsson & Derek L. Eager Published in: Proc. IFIP/TC6.
CHAINING COSC Content Motivation Introduction Multicasting Chaining Performance Study Conclusions.
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.
Modelling and Performance Analysis of BitTorrent-Like Peer-to-Peer Networks.
Analyzing and Improving BitTorrent Ashwin R. Bharambe ( Carnegie Mellon University ) Cormac Herley ( Microsoft Research, Redmond ) Venkat Padmanabhan (
CompSci 356: Computer Network Architectures Lecture 21: Content Distribution Chapter 9.4 Xiaowei Yang
Peer-to-peer Multimedia Streaming and Caching Service Jie WEI, Zhen MA May. 29.
Network Coding for Large Scale Content Distribution Christos Gkantsidis Georgia Institute of Technology Pablo Rodriguez Microsoft Research IEEE INFOCOM.
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.
Improving ISP Locality in BitTorrent Traffic via Biased Neighbor Selection Ruchir Bindal, Pei Cao, William Chan Stanford University Jan Medved, George.
A BitTorrent Module for the OMNeT++ Simulator MASCOTS 2009, London, UK G. Xylomenos (with K. Katsaros, V.P. Kemerlis and C. Stais)
Peer-to-Peer Based Multimedia Distribution Service Zhe Xiang, Qian Zhang, Wenwu Zhu, Zhensheng Zhang IEEE Transactions on Multimedia, Vol. 6, No. 2, April.
Bounds on the Performance of P2P Networks Using Tit-for-Tat Strategies Dimitri DeFigueiredo Balaji Venkatachalam S. Felix Wu.
1 Denial-of-Service Resilience in P2P File Sharing Systems Dan Dumitriu (EPFL) Ed Knightly (Rice) Aleksandar Kuzmanovic (Northwestern) Ion Stoica (Berkeley)
Issues in Offering Live P2P Streaming Service to Residential Users Nazanin Magharei, *Yang Guo, and Reza Rejaie Dept. of Computer and Information Science.
Quality-Aware Segment Transmission Scheduling in Peer-to-Peer Streaming Systems Cheng-Hsin Hsu Senior Research Scientist Deutsche Telekom R&D Lab USA Los.
Understanding Mesh-based Peer-to-Peer Streaming Nazanin Magharei Reza Rejaie.
High Performance Cooperative Data Distribution [J. Rick Ramstetter, Stephen Jenks] [A scalable, parallel file distribution model conceptually based on.
Efficient Sub-stream Encoding and Transmission for P2P Video on Demand 1 Efficient Sub-Stream Encoding and Transmission for P2P Video on Demand Zhengye.
CUHK Analysis of Movie Replication and Benefits of Coding in P2P VoD Yipeng Zhou Aug 29, 2012.
1 Enabling near-VoD via P2P Networks Siddhartha Annapureddy Saikat Guha, Dinan Gunawardena Christos Gkantsidis, Pablo Rodriguez World Wide Web, 2007.
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 Napster & Gnutella An Overview. 2 About Napster Distributed application allowing users to search and exchange MP3 files. Written by Shawn Fanning in.
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.
BitTorrent How it applies to networking. What is BitTorrent P2P file sharing protocol Allows users to distribute large amounts of data without placing.
Chun-Yuan Chang, Cheng-Fu Chou * and Ming-Hung Chen Presenter: Prof. Cheng-Fu Chou National Taiwan University
DELAYED CHAINING: A PRACTICAL P2P SOLUTION FOR VIDEO-ON-DEMAND Speaker : 童耀民 MA1G Authors: Paris, J.-F.Paris, J.-F. ; Amer, A. Computer.
1 BitHoc: BitTorrent for wireless ad hoc networks Jointly with: Chadi Barakat Jayeoung Choi Anwar Al Hamra Thierry Turletti EPI PLANETE 28/02/2008 MAESTRO/PLANETE.
Do incentives build robustness in BitTorrent? Michael Piatek, Tomas Isdal, Thomas Anderson, Arvind Krishnamurthy, Arun Venkataramani.
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.
Scheduling P2P Multimedia Streams: Can We Achieve Performance and Robustness? Luca Abeni, Csaba Kiraly, Renato Lo Cigno DISI – University of Trento, Italy.
Segment-Based Proxy Caching of Multimedia Streams Authors: Kun-Lung Wu, Philip S. Yu, and Joel L. Wolf IBM T.J. Watson Research Center Proceedings of The.
MULTI-TORRENT: A PERFORMANCE STUDY Yan Yang, Alix L.H. Chow, Leana Golubchik Internet Multimedia Lab University of Southern California.
Efficient P2P backup through buffering at the edge S. Defrance, A.-M. Kermarrec (INRIA), E. Le Merrer, N. Le Scouarnec, G. Straub, A. van Kempen.
Quantitative Evaluation of Unstructured Peer-to-Peer Architectures Fabrício Benevenuto José Ismael Jr. Jussara M. Almeida Department of Computer Science.
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.
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.
A simple model for analyzing P2P streaming protocols. Seminar on advanced Internet applications and systems Amit Farkash. 1.
Analyzing and Improving BitTorrent Ashwin R. Bharambe ( Carnegie Mellon University ) Cormac Herley ( Microsoft Research, Redmond ) Venkat Padmanabhan (
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.
Inside the New Coolstreaming: Principles, Measurements and Performance Implications Bo Li, Susu Xie, Yang Qu, Gabriel Y. Keung, Chuang Lin, Jiangchuan.
Geethanjali College Of Engineering and Technology Cheeryal( V), Keesara ( M), Ranga Reddy District. I I Internal Guide Mrs.CH.V.Anupama Assistant Professor.
An example of peer-to-peer application
FairTorrent: BrinGing Fairness to Peer-to-Peer Systems
Introduction to BitTorrent
Building the foundations for innovation
Mohammad Malli Chadi Barakat, Walid Dabbous Alcatel meeting
Authors Alessandro Duminuco, Ernst Biersack Taoufik and En-Najjary
Peer-to-Peer Video Services
Small Is Not Always Beautiful
The BitTorrent Protocol
Challenges with developing a Commercial P2P System
PEER-TO-PEER SYSTEMS.
Presentation transcript:

Balancing Throughput, Robustness, and In-Order Delivery in P2P VoD Bin Fan+, David Andersen+, Michael Kaminsky* and Konstantina Papagiannaki* Good morning everyone, I am Bin Fan, a PhD student from Carnegie Mellon University. Today I am going to present you the work we’ve done to explore a fundamental tradeoff in peer-to-peer VoD delivery systems. Doing so, we will provide a framework that we hope useful to understand the current schemes and design future peer-to-peer VoD systems. + Carnegie Mellon University * Intel Labs Pittsburgh

Outline Motivation Tradeoff Analysis Experimental Validation

P2P Basics Peer1 Seed File Peer2 2 4 1 2 4 5 3 1 2 3 5 First let me briefly give you an overview of some basics of P2P transfers. Namely, this is how the famous BitTorrent works In a P2P swarm, we have a source of original content (or seed in BitTorrent terminology) pushing the file other downloaders. The served file is divided into different chunks. The source has every copy of the file. The source will send the chunks to peers in some way that we will talk about. The peers can download from either the source or each other. In VoD or streaming, we then playback the chunks we downloaded sequentially Peer2 1 2 3 5

P2P VoD Design Goals Large Design Space High Throughput Robustness Fully In Order Goals Large Design Space Which chunks to download Which peers to download/upload To build a efficient P2P VoD system, we need to achieve 3 goals: high throughput means users can get the chunks fast. Robustness means the system can still do well under presence of heterogeneous peers and churn. In addition to high tput and good robustness, p2p VoD systems also want to in order delivery to playback the chunks. Our major result is that we prove that among the three design choices. You can pick two of them, but you have to compromise for the third one Keep the goals in mind, however there is also a large design space. For example, you can design strategies to fetch chunks in different orders, and from different sources. You can also constrain your peers to serve certain kind of neighbors. People have come up with a number of different schemes for VoD purpose. The motivation of this paper is actually to provide a systematic way to understand and compare these schemes.

1st Attempt: BitTorrent Rarest Random Fetch the rarest chunk Peer-to-peer technique has achieved a huge success for file transfers and why don’t we try to just use it to deliver movie content? BitTorrent uses a strategy called rarest first or rarest random. It operates by grabbing the rarest chunk of the file for every peer. so everyone is likely to contribute to the swarm. Each bar represents a peer downloading and uploading, hence we show four peers here. Each blue arrow means a data transfer. As you can see, data transfer is likely to happen between any two peers since every one has something useful to the others. This’s a very effective strategy for peer-to-peer system to achieve high throughput.

# of Total Downloaded Chunks Use BitTorrent for VoD Select the rarest chunk to download Downloading complete # of Played Chunks # of Total Downloaded Chunks [Movie:] If we stop at xx, There are some chunks from the very early of the movie that we haven’t downloaded yet, because of the random downloading That prevents us from playing back the movie [Picture:] The number of chunks you have downloaded is linearly over time. So the downloading is efficient but we can’t playback when almost the chunks are done # of Useful Chunks Starting Playback t + Complete downloading soon - Can not start playback until the end

2nd Attempt: Naïve Sequential Rarest Random Fetch the rarest chunk Naïve Sequential Fetch the next chunk

Naive Sequential Downloading Change BitTorrent to download sequentially: Throughput collapsed # of Total Downloaded Chunks # of Played Chunks # of Useful Chunks t + Sequential download - Low througput

Question Can we achieve both high throughput and sequential peer-to-peer download?

Outline Motivation Tradeoff Analysis Experimental Validation Modeling throughput Study basic schemes TRS Trdeoff Experimental Validation

Per-chunk Capacity Peer1 Seed File File Peer2 Ci (Per-chunk capacity of chunk i): The aggregated uplink bandwidth for chunk i from seeds and peers Seed File 2 5 3 Uplink BW 1 2 4 5 3 File Peer2 Uplink Bandwidth 1 2 4 Uplink BW

Per-chunk Capacity & Throughput Ci: Per-chunk capacity for chunk i System throughput = Min{Ci} See proof in paper System Throughput C1 C2 C3 C4 C5 Chunk5: Bottleneck Chunk

Metrics Throughput Robustness Sequentiality Minimal Per-chunk capacity Number of sources to download each chunk Sequentiality Order of chunk arrival Let’s analyze the schemes and we are going to look specifically at three metrics. Tput as we already shown, related to perchunk capacity Robustness sequentiality

Three Basic Schemes Rarest Random Naïve Sequential Fetch the rarest chunk Naïve Sequential Fetch the next chunk Cascading [Annapureddy07, Yang09] Form a chain to fetch

Rarest Random Chunks uniformly distributed ✓ Each chunk gets about the same capacity to replicate C1=C2=…=Cm ✓ Many sources for each chunk ✗ Out of order C1 C2 C3 C4 C5

Naïve Sequential Many copies of 1st chunk, few copies of last chunk ✗ Low throughput: later chunk gets less chance to replicate C1>C2>…>Cm ✓ Many sources for each chunk, on average ✓ Fully in order C1 C2 C3 C4 C5

Cascading Skewed chunks distribution ✓ Each chunk gets same chance to replicate C1=C2=…=Cm ✗ Few sources for each chunk ✓ Fully in order C1 C2 C3 C4 C5

TRS Tradeoff TRS Tradeoff High Throughput See proof in paper Impossible to achieve at the same time: Maximal throughput purely sequential retrieval perfectly robust High Throughput Robustness Fully In Order Cascading Rarest Random See proof in paper Naïve Sequential

Intuition of TRS Tradeoff Caused by resource contention among chunks Downloading chunks in order leads to skewed distribution Skewed distribution imposes Either imbalanced per-chunk capacity allocation Or limited sources allowed to serve each chunk

TRS Tradeoff in the Real World Homogeneous nodes Heterogeneous nodes Rarest Random Naive Sequential Cascading

Balance the Tradeoff Maintain high throughput Ensure “less skewed” per-chunk capacity Slightly reduce sequentiality Intuition: 95% sequential is good enough for playback Slightly reduce robustness Intuition: 20 sources are nearly as robust as 100 sources

Three Hybrid Schemes Hybrid Sequential [Huang08] Segment random Rarest random + sequential Segment random Fetch segment in order Fetch chunks in one segment out of order Network coding [Annapureddy07] Each segment encoded Annapureddy07, Huang08

Outline Motivation Tradeoff Analysis Experimental Validation

Evaluation 50 Peers on Emulab 10 Mbps up, 20 Mbps down One seed Modified BitTornado Client

Homogeneous Peers 2 peers/min 6 peers/min 10 peers/min Tput of each Peer: Mpbs

Heterogeneous Peers With no slow peers With slow peers Tput of each Peer: Mpbs

Conclusion Motivated by how to build efficient p2p VoD TRS Tradeoff: Throughput vs Robustness vs Sequentiality Framework to understand tradeoff space Experimental Validation Outline Abstract Formalize the tradeoff, understand design space Enumerate design dimensions. Message we really want to deliver Illustrate the tradeoff