1 BiToS: Enhancing BitTorrent for Supporting Streaming Applications Aggelos Vlavianos, Marios Iliofotou and Michalis Faloutsos Department of Computer Science.

Slides:



Advertisements
Similar presentations
Rarest First and Choke Algorithms are Enough Arnaud LEGOUT INRIA, Sophia Antipolis France G. Urvoy-Keller and P. Michiardi Institut Eurecom France.
Advertisements

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 Author: Bram Cohen Presenter: Brian Liao.
Incentives Build Robustness in BitTorrent- Bram Cohen Presented by Venkatesh Samprati.
Incentives Build Robustness in BitTorrent Bram Cohen.
Bit Torrent (Nick Feamster) February 25, BitTorrent Steps for publishing – Peer creates.torrent file and uploads to a web server: contains metadata.
Clayton Sullivan PEER-TO-PEER NETWORKS. INTRODUCTION What is a Peer-To-Peer Network A Peer Application Overlay Network Network Architecture and System.
Playback delay in p2p streaming systems with random packet forwarding Viktoria Fodor and Ilias Chatzidrossos Laboratory for Communication Networks School.
On Large-Scale Peer-to-Peer Streaming Systems with Network Coding Chen Feng, Baochun Li Dept. of Electrical and Computer Engineering University of Toronto.
Cooperative Overlay Networking for Streaming Media Content Feng Wang 1, Jiangchuan Liu 1, Kui Wu 2 1 School of Computing Science, Simon Fraser University.
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.
Network Coding in Peer-to-Peer Networks Presented by Chu Chun Ngai
Analyzing and Improving BitTorrent Ashwin R. Bharambe ( Carnegie Mellon University ) Cormac Herley ( Microsoft Research, Redmond ) Venkat Padmanabhan (
Exploiting BitTorrent For Fun (But Not Profit) Nikitas Liogkas, Robert Nelson, Eddie Kohler, Lixia Zhang University of California, Los Angeles.
CompSci 356: Computer Network Architectures Lecture 21: Content Distribution Chapter 9.4 Xiaowei Yang
Peer to Peer (P2P) Networks and File sharing. By: Ryan Farrell.
Using Layered Video to Provide Incentives in P2P Live Streaming
1 Inside the New Coolstreaming: Principles, Measurements and Performance Implications Bo Li, Susu Xie, Yang Qu, Gabriel Y. Keung, Chuang Lin, Jiangchuan.
ZIGZAG A Peer-to-Peer Architecture for Media Streaming By Duc A. Tran, Kien A. Hua and Tai T. Do Appear on “Journal On Selected Areas in Communications,
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.
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.
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.
Understanding Mesh-based Peer-to-Peer Streaming Nazanin Magharei Reza Rejaie.
1 Incentives Build Robustness in BitTorrent? Analysis on Bit Torrent Client performance By Jimmy Wong.
An Overlay Multicast Infrastructure for Live/Stored Video Streaming Visual Communication Laboratory Department of Computer Science National Tsing Hua University.
Differentiated Multimedia Web Services Using Quality Aware Transcoding S. Chandra, C.Schlatter Ellis and A.Vahdat InfoCom 2000, IEEE Journal on Selected.
A P2P file distribution system ——BitTorrent Fan Bin Sep,25,2004.
1 BitTorrent and fountain codes: friends or foes? Salvatore Spoto, Rossano Gaeta, Marco Grangetto, Matteo Sereno Department of Computer Science, University.
Incentives Build Robustness in BitTorrent 1st Workshop on Economics of Peer-to-Peer Systems 2003 Bram Cohen
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.
Peer-To-Peer Multimedia Streaming Using BitTorrent Purvi Shah, Jehan-François Pâris University of Houston Houston, TX.
Content Overlays (Nick Feamster) February 25, 2008.
Bit Torrent (Nick Feamster) February 25, BitTorrent Steps for publishing – Peer creates.torrent file and uploads to a web server: contains metadata.
1 Speaker : 童耀民 MA1G Authors: Ze Li Dept. of Electr. & Comput. Eng., Clemson Univ., Clemson, SC, USA Haiying Shen ; Hailang Wang ; Guoxin.
Exploring VoD in P2P Swarming Systems By Siddhartha Annapureddy, Saikat Guha, Christos Gkantsidis, Dinan Gunawardena, Pablo Rodriguez Presented by Svetlana.
Cluster and Grid Computing Lab, Huazhong University of Science and Technology, Wuhan, China Supporting VCR Functions in P2P VoD Services Using Ring-Assisted.
BitTorrent Presentation by: NANO Surmi Chatterjee Nagakalyani Padakanti Sajitha Iqbal Reetu Sinha Fatemeh Marashi.
1 V1-Filename.ppt / yyyy-mm-dd / Initials P2P content distribution T Applications and Services in Internet, Fall 2008 Jukka K. Nurminen.
DELAYED CHAINING: A PRACTICAL P2P SOLUTION FOR VIDEO-ON-DEMAND Speaker : 童耀民 MA1G Authors: Paris, J.-F.Paris, J.-F. ; Amer, A. Computer.
BitTorrent Dr. Yingwu Zhu. Bittorrent A popular P2P application for file exchange!
A P2P file distribution system ——BitTorrent Pegasus Team CMPE 208.
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.
David A. Bryan, PPSP Workshop, Beijing, China, June 17th and 18th 2010 PPSP Protocol Considerations.
MULTI-TORRENT: A PERFORMANCE STUDY Yan Yang, Alix L.H. Chow, Leana Golubchik Internet Multimedia Lab University of Southern California.
HUAWEI TECHNOLOGIES CO., LTD. Page 1 Survey of P2P Streaming HUAWEI TECHNOLOGIES CO., LTD. Ning Zong, Johnson Jiang.
Application Layer 2-1 Chapter 2 Application Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012.
On the Optimal Scheduling for Media Streaming in Data-driven Overlay Networks Meng ZHANG with Yongqiang XIONG, Qian ZHANG, Shiqiang YANG Globecom 2006.
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
SocialTube: P2P-assisted Video Sharing in Online Social Networks
Daniel A. G. Manzato and Nelson L. S. da Fonseca Institute of Computing, State University of Campinas Campinas, Brazil speaker: 吳麟佑.
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.
PEAR TO PEAR PROTOCOL. Pure P2P architecture no always-on server arbitrary end systems directly communicate peers are intermittently connected and change.
Buffer Analysis of Live P2P Media Streaming Approaches Atif Nazir BSc ’07, LUMS.
Peer-to-Peer Networks 10 Fast Download Christian Schindelhauer Technical Faculty Computer-Networks and Telematics University of Freiburg.
November 19, 2016 Guide:- Mrs. Kale J. S. Presented By:- Hamand Amol Sambhaji. Hamand Amol Sambhaji. Pardeshi Dhananjay Rajendra. Pardeshi Dhananjay Rajendra.
An example of peer-to-peer application
Introduction to BitTorrent
Small Is Not Always Beautiful
The BitTorrent Protocol
PEER-TO-PEER SYSTEMS.
Presentation transcript:

1 BiToS: Enhancing BitTorrent for Supporting Streaming Applications Aggelos Vlavianos, Marios Iliofotou and Michalis Faloutsos Department of Computer Science and Engineering University of California Riverside Riverside, CA IEEE 9th Global Internet Workshop (in Conjunction with IEEE INFOCOM 2006)

2 Outlines Introductions BT (BitTorrent) BiToS (BitTorrent Streaming) Simulation results Conclusions

3 Introductions Characteristics of streaming systems Large scale More than thousands of simultaneous participating clients. Bandwidth demand Time sensitive Real-time constraints, requiring timely and continuously streaming delivery. Content delivery with time constrains.

4 Taxonomy of architectures for streaming CentralizedDecentralized IP-Layer Scheme Application-Layer Scheme IP Multicast Infrastructure-Centric End-to-end system (with infrastructure) End-to-end system (without infrastructure) Client-server Peer-to-Peer Streaming System CDNs P2Cast, P2VoD, AnySee CoolStreaming, BiToS

5 Introductions Different Types of Overlay Tree-based approaches Organizing peers to deliver content Peers have well-defined “parent-child” relationships Single-tree  P2VoD  P2Cast Multiple-trees  AnySee Data-driven approaches Peers do not construct and maintain an explicit structure Mesh  CoolStreaming  BiToS

6 Motivation of CoolStreaming Provide peer-to-peer live streaming broadcasting Network heterogeneity No QoS guarantee Data-driven design Don’t use any tree, mesh, or any other structures Data flows are guided by the availability of data 317& by hhchen 317&

7 Core operations of DONet / CoolStreaming DONet: Data-driven Overlay Network CoolStream: Cooperative Overlay Streaming A practical DONet implementation Every node periodically exchanges data availability information with a set of partners Retrieve unavailable data from one or more partners, or supply available data to partners The more people watching the streaming data, the better the watching quality will be The idea is similar to BitTorrent (BT)

8 BT (Basic idea) Chop file into many pieces. piece : typically 256KB in size. Replicate different pieces on different peers as soon as possible. As soon as a peer has a complete piece, it can trade it with other peers. Hopefully, we will be able to assemble the entire file at the end.

9 BT (Basic components) Seed Peer that has the entire file. Leacher Peer that has an incomplete copy of the file. A Torrent file Passive component. Files are typically fragmented into 256KB pieces. The torrent file lists the hashes of all the pieces to allow peers to verify integrity. Typically hosted on a web server. A Tracker Active component. The tracker is responsible to help the peers find each other and to keep the download/upload statistics of each peer. Returns a random list of peers.

10 BT (Operation)

11 BT Free-Riders phenomenon The selfish peers choose only to download the file without uploading. Tit-for-Tat policy Each peer chooses to upload to its peer as long as it takes something in return. The Piece Selection mechanism Peers always select to download the rarest pieces within their peer set. Rare pieces that are currently available, might not be available in the future. Peers that have these pieces might leave the network or fail. By acquiring these rare pieces before they become extinct we can increase the QoS. The Incentive mechanism This mechanism in case of time sensitive data distribution is even more beneficial for the welfare of the swarm. Use the Tit-for-Tat policy to resist the Free-Riders problem. Time constrained data distribution provides stronger incentives to peers to avoid being Free-Riders.

12 Rarest Piece First Policy : Determine the pieces that are most rare among your peers and download those first. This ensures that the most common pieces are left till the end to download. Rarest first also ensures that a large variety of pieces are downloaded from the seed.

13 Choking One of BitTorrent ’ s most powerful idea is the choking mechanism It ensures that nodes cooperate and eliminates the free-rider problem. Cooperation involves uploaded sub-pieces that you have to your peer. Choking is a temporary refusal to upload; downloading occurs as normal. Based on Tit-for-tat policy.

14 BiToS BiToS (BitTorrent Streaming) A protocol with the ability to support streaming based on BT. Apply time sensitive function into BitTorrent(BT), which can distribution of time insensitive content. Minimize the change of BT mechanism to achieve this To reduce start-up time To evaluate the video quality To view the downloading video first (in highly polluted network) view-as-you-download service The rarest first order (enabling the use of parallel downloading of pieces) V.S. playing order (enabling playback smooth) Tunable between pure streaming and original BT Three different piece selection mechanisms Only need to change this part in BT.

15 BiToS BASS: BitTorrent Assisted Streaming System for Video-on- Demand Client will not download any data prior to the current playback time Time constrained data  stronger incentive with Tit-for-Tat policy  peers will avoid to be Free-Riders Use BT to handle live streaming, change the tracker entity and some parts of peer communication protocol.

16 BiToS 3 components: Received Pieces Set Contains all the downloaded pieces of the video stream, that the peer has ever downloaded. The state of a piece can be Downloaded, Not-Downloaded or Missed.  A piece has state Missed, if it didn’t meet its deadline to be reproduced by the player. High Priority Set Contains the pieces of the Video Stream that have not been Downloaded yet, are not Missed and are close to be reproduced by the player. Thus, these pieces have higher priority to be requested over the rest of the pieces. A piece in this set can be in the following states: Not-Requested or Currently- Downloading. Remaining Pieces Contains the pieces that have not been Downloaded, are not Missed and are not in the High Priority Set. A piece can be in the Not-Requested or Currently-Downloading state.

17 BiToS Approach a Small Windows Storing buffer Remaining Windows

18 BiToS Probability p to download a piece in the High Priority set (p can be adjust to adapt different condition). Probability (1-p) to download a piece in the Remaining Pieces set. One more function to determine if the piece can be downloaded on time or not. Compare the expected playback time and minimum time. A minor change of the Rarest First mechanism is that if two or more pieces have the same rareness, the piece which is closer to meet its deadline will be chosen. The Received Pieces Set contains the downloaded pieces that can be shared with other peers.

19 BiToS Adaptation of probability p can be triggered by playback deadline missing. Large values of p The pieces that will be reproduced soon, will be requested for downloading earlier than the rest of the pieces of the video stream. The peer chooses to download pieces that most of the peers have. The peer wouldn’t have any rare pieces to exchange and consequently would be choked by most of the peers. The decrease of the value of the probability p can be helpful in order to acquire some rare pieces. The original BT behavior corresponds approximately to p = 1 and High Priority Set Size equals to 100% of the file.

20 Simulation setting(I) 4 seeders and 400 leechers. Flash crowds at the beginning. 10 minutes length, video quality 500Kbps. Download/Upload rate 500/500Kbps. Other use BT default settings (256Kb per piece). No dynamic adaptation of probability p. No peer dynamic. Only one performance metrics continuity index (CI) from Coolstreaming. The Continuity Index is defined as the number of pieces that arrived before the playback deadline over the total number of pieces.

21 Simulation setting(II) 3 different mechanisms in selecting pieces Sequential (p = 1) The pieces are requested in order within the High Priority Set, without taking into account their rareness. Rarest First (p = 1) The pieces are requested only within the High Priority Set, using the Rarest First mechanism. Rarest First (p = 0.8) The pieces are requested with probability 80% within the High Priority Set and with 20% probability within the Remaining Pieces Set, using the Rarest First mechanism.

22 Simulation result (I) Missing playback deadline Why not decrease further? Since the flash crowd of peer at beginning of simulation The optimal size of the High Priority Set (≈8%) must capture the pieces that will be needed soon for the playback.

23 Simulation result (II) Time for seeder stay in the network Use 5 min length video-file With the rarest first algorithm each peer chooses to download rare pieces which might not be available in the future.

24 Existing BT application for streaming Current BT application for streaming: FoxTorrent Streaming Fast Delivery: Watch video and listen to audio as it downloads. Open source FoxTorrent, Firefox extension that lets users stream torrents as they download, from their web browser.

25 Conclusions We shown that Streaming in BT is possible under our proposed approach. We have shown through simulations that our approach is feasible and can be easily (with minor modifications) incorporated into the original BT protocol.

26 References [1] Bram Cohen. Incentives build robustness in bittorrent. In 1st Workshop on the Economics of Peer-2-Peer Systems, Berkley, CA, June [3] C. Dana, D. Li, D. Harrison, and C. Chuah. Bass: Bittorrent assisted streaming system for video-on-demand. In International Workshop on Multimedia Signal Processing(MMsP) IEEE Press, [11] X. Zhang, J. Liu, B. Li, and T.P. Yum. Coolstreaming/donet: A data-driven overlay network for peer-to-peer live media streaming. In Proceedings of IEEE/INFOCOM, Miami, March Xiaofei Liao, Hai Jin, Yunhao Liu, Lionel M. Ni and Dafu Deng, “ AnySee: Peer-to-Peer Live Streaming, ” in INFOCOM 2006.