Peer-To-Peer Multimedia Streaming Using BitTorrent Purvi Shah, Jehan-François Pâris University of Houston Houston, TX.

Slides:



Advertisements
Similar presentations
Presentation of M.Sc. Thesis Work Presented by: S. M. Farhad [ P] Department of Computer Science and Engineering, BUET Supervised by: Dr. Md. Mostofa.
Advertisements

The BitTorrent Protocol. What is BitTorrent?  Efficient content distribution system using file swarming. Does not perform all the functions of a typical.
The BitTorrent protocol A peer-to-peer file sharing protocol.
Incentives Build Robustness in BitTorrent Bram Cohen.
Agenda Introduction BT + Multimedia Experimental Conclusion 2.
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.
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 (
Resilient Peer-to-Peer Streaming Paper by: Venkata N. Padmanabhan Helen J. Wang Philip A. Chou Discussion Leader: Manfred Georg Presented by: Christoph.
CompSci 356: Computer Network Architectures Lecture 21: Content Distribution Chapter 9.4 Xiaowei Yang
Web Caching Schemes1 A Survey of Web Caching Schemes for the Internet Jia Wang.
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,
Network Coding for Large Scale Content Distribution Christos Gkantsidis Georgia Institute of Technology Pablo Rodriguez Microsoft Research IEEE INFOCOM.
Motivation Due to the development of new Internet access technologies (DSL's and HFC's), VoD services have become increasingly popular Despite the continuous.
Peer-Assisted Content Distribution Networks: Techniques and Challenges Pei Cao Stanford University.
Prefix Caching assisted Periodic Broadcast for Streaming Popular Videos Yang Guo, Subhabrata Sen, and Don Towsley.
Understanding Mesh-based Peer-to-Peer Streaming Nazanin Magharei Reza Rejaie.
Scalable Live Video Streaming to Cooperative Clients Using Time Shifting and Video Patching Meng Guo and Mostafa H. Ammar INFOCOM 2004.
Peer-to-peer Multimedia Streaming and Caching Service by Won J. Jeon and Klara Nahrstedt University of Illinois at Urbana-Champaign, Urbana, USA.
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.
1 CMSCD1011 Introduction to Computer Audio Lecture 10: Streaming audio for Internet transmission Dr David England School of Computing and Mathematical.
1 Vehicular Networks - Content distribution and data retrieval Slides are integrated from researchers at UCLA.
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.
1 V1-Filename.ppt / yyyy-mm-dd / Initials P2P content distribution T Applications and Services in Internet, Fall 2008 Jukka K. Nurminen.
BitTorrent Under a Microscope: Towards Static QoS Provision in Dynamic Peer-to-Peer Networks Tom H. Luan*, Xuemin (Sherman) Shen* and Danny H. K. Tsang.
ON DESIGING END-USER MULTICAST FOR MULTIPLE VIDEO SOURCES Y.Nakamura, H.Yamaguchi, A.Hiromori, K.Yasumoto †, T.Higashino and K.Taniguchi Osaka University.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Identifying Application Impacts on Network Design Designing and Supporting Computer.
2: Application Layer1 Chapter 2: Application layer r 2.1 Principles of network applications r 2.2 Web and HTTP r 2.3 FTP r 2.4 Electronic Mail  SMTP,
Do incentives build robustness in BitTorrent? Michael Piatek, Tomas Isdal, Thomas Anderson, Arvind Krishnamurthy, Arun Venkataramani.
Network Technologies essentials Week 9: Distributed file sharing & multimedia Compilation made by Tim Moors, UNSW Australia Original slides by David Wetherall,
Overlay Network Physical LayerR : router Overlay Layer N R R R R R N.
Streaming over Subscription Overlay Networks Department of Computer Science Iowa State University.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicITE I Chapter 6 1 Identifying Application Impacts on Network Design Designing and Supporting.
ACM NOSSDAV 2007, June 5, 2007 IPTV Experiments and Lessons Learned Panelist: Klara Nahrstedt Panel: Large Scale Peer-to-Peer Streaming & IPTV Technologies.
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.
2: Application Layer1 Chapter 2: Application layer r 2.1 Principles of network applications  app architectures  app requirements r 2.2 Web and HTTP r.
Fair Layered Coding Streaming Jaime García-Reinoso  Iván Vidal  Francisco Valera University Carlos III of Madrid Alex Bikfalvi IMDEA Networks.
Peer-Assisted Content Distribution Pablo Rodriguez Christos Gkantsidis.
P2P Streaming Protocol (PPSP) Requirements draft-zong-ppsp-reqs-03.
Flashback: A Peer-to-Peer Web Server for Flash Crowds Presented by Tom Batkiewicz CS 587x Fall ‘07.
A P2P-Based Architecture for Secure Software Delivery Using Volunteer Assistance Purvi Shah, Jehan-François Pâris, Jeffrey Morgan and John Schettino IEEE.
Peer-to-Peer Media Streaming ZIGZAG - Ye Lin PROMISE – Chanjun Yang SASABE - Kung-En Lin.
ADVANCED COMPUTER NETWORKS Peer-Peer (P2P) Networks 1.
Peer-to-Peer Streaming of Scalable Video in Future Internet Application Speaker : 吳靖緯 MA0G0101 Communications Magazine, IEEE, On page(s): 128.
A simple model for analyzing P2P streaming protocols. Seminar on advanced Internet applications and systems Amit Farkash. 1.
CoopNet: Cooperative Networking
SHADOWSTREAM: PERFORMANCE EVALUATION AS A CAPABILITY IN PRODUCTION INTERNET LIVE STREAM NETWORK ACM SIGCOMM CING-YU CHU.
Analyzing and Improving BitTorrent Ashwin R. Bharambe ( Carnegie Mellon University ) Cormac Herley ( Microsoft Research, Redmond ) Venkat Padmanabhan (
1 Reforming Software Delivery Using P2P Technology Purvi Shah Advisor: Jehan-François Pâris Department of Computer Science University of Houston Jeffrey.
Bit Torrent Nirav A. Vasa. Topics What is BitTorrent? Related Terms How BitTorrent works Steps involved in the working Advantages and Disadvantages.
PEAR TO PEAR PROTOCOL. Pure P2P architecture no always-on server arbitrary end systems directly communicate peers are intermittently connected and change.
Malugo – a scalable peer-to-peer storage system..
Large-Scale and Cost-Effective Video Services CS587x Lecture Department of Computer Science Iowa State University.
Peer-to-Peer Networks 10 Fast Download Christian Schindelhauer Technical Faculty Computer-Networks and Telematics University of Freiburg.
Cost-Effective Video Streaming Techniques Kien A. Hua School of EE & Computer Science University of Central Florida Orlando, FL U.S.A.
Accelerating Peer-to-Peer Networks for Video Streaming
An example of peer-to-peer application
Introduction to BitTorrent
Video On Demand.
The BitTorrent Protocol
Challenges with developing a Commercial P2P System
Pure P2P architecture no always-on server
Presentation transcript:

Peer-To-Peer Multimedia Streaming Using BitTorrent Purvi Shah, Jehan-François Pâris University of Houston Houston, TX

Problem Definition Objectives –Customer satisfaction: Minimize customer waiting time –Cost effectiveness: Reduce operational costs (mostly hardware costs) One Server Transferring videos is a resource intensive task! Many Customers

Transferring Videos Video download: –Just like any other file –Simplest case: file downloaded using conventional protocol –Playback does not overlap with the transfer Video streaming from a server: –Playback of video starts while video is downloaded –No need to wait until download is completed –New challenge: ensuring on-time delivery of data Otherwise the client cannot keep playing the video

Why use P2P Architecture? Infrastructure-based approach (e.g. Akamai) –Most commonly used –Client-server architecture –Expensive: Huge server farms –Best effort delivery –Client upload capacity completely unutilized –Not suitable for flash crowds

Why use P2P Architecture? IP Multicast –Highly efficient bandwidth usage –Several drawbacks so far Infrastructure level changes make most administrators reluctant to provide it Security flaws No effective & widely accepted transport protocol on IP multicast layer

P2P Architecture Leverage power of P2P networks –Multiple solutions are possible Tree based structured overlay networks –Leaf clients’ bandwidth unutilized –Less reliable –Complex overlay construction –Content bottlenecks –Fairness issues

Our Solution Mesh based unstructured overlay –Based on widely-used BitTorrent content distribution protocol –A P2P protocol started ~ 2002 –Linux distributors such as Lindows offer software updates via BT –Blizzard uses BT to distribute game patches –Start to distribute films through BT this yea r

BitTorrent (I)

BitTorrent (II) Has a central tracker –Keeps information on peers –Responds to requests for that information –Service subscription Built-in incentives: Rechoking –Give preference to cooperative peers: Tit- for-tat exchange of content chunks –Random search: Optimistic un-choke When all chunks are downloaded, peers can reconstruct the whole file –Not tailored to streaming applications

Evaluation Methodology Simulation-based –Answers depend on many parameters –Hard to control in measurements or to model Java based discrete-event simulator –Models queuing delay and transmission delay –Remains faithful to BT specifications

BT Limitations BT does not account for the real-time needs of streaming applications –Chunk selection Peers do not download chunks in sequence –Neighbor selection Incentive mechanism makes too many peers to wait for too long before joining the swarm

Chunk Selection Policy Replace BT rarest first policy by a sliding window policy –Forward moving window is equal to viewing delay missed chunk playback delay playback start Download window chunk not yet received received chunk

Two Options S equential policy –Peers download first the chunks at the beginning of the window –Limit the opportunity to exchange chunks between the peers Rarest-first policy –Peers download first the chunks within the window that are least replicated among its neighbors –Feasibility of swarming by diversifying available chunks among peers

Best Worst

Discussion Switching to a sliding window policy greatly increases quality of service –Must use a rarest first inside window policy –Change does not suffice to achieve a satisfactory quality of service

Neighbor Selection Policy BT tit-for-tat policy –Peers select other peers according to their observed behaviors –Significant number of peers suffer from slow start Randomized tit-for-tat policy –At the beginning of every playback each peer selects neighbors at random –Rapid diffusion of new chunks among peers –Gives more free tries to a larger number of peers in the swarm to download chunks

Discussion Should combine our neighbor selection policy with our sliding window chunk selection policy Can then achieve an excellent QoS with playback delays as short as 30 s as long as video consumption rate does not exceed 60 % of network link bandwidth.

Comparison with Client-Server Solutions

Chunk size selection Small chunks –Result in faster chunk downloads – Occasion more processing overhead Larger chunks –Cause slow starts for every sliding window Our simulations indicate that 256KB is a good compromise

Premature Departures Peer departures before the end of the session –Can be voluntary or resulting from network failures –When a peer leaves the swarm, it tears down connections to its neighbors –Each of its neighbors to lose one of their active connections

Can tolerate the loss of at least 60 % of the peers

Future Work Current work –On-demand streaming Robustness –Detect malicious and selfish peers –Incorporate a trust management system into the protocol Performance evaluation –Conduct a comparison study

Thank You – Questions?

Extra slides

nVoD Dynamics of client participations, i.e. churn –Clients do no synchronize their viewing times Serve many peers even if they arrive according to different patterns

Admission control policy (I) Determine if a new peer request can be accepted without violating the QoS requirements of the existing customers Based on server oriented staggered broadcast scheme –Combine P2P streaming and staggered broadcasting ensures high QoS –Beneficial for popular videos

Admission control policy (II) Use tracker to batch clients arriving close in time form a session –Closeness is determined by threshold θ Service latency, though server oriented, is independent of number of clients –Can handle flash crowds Dedicate η channels for each video making worst service latency, w  D/η

Results We use the M/D/η queuing model to estimate the effect on the playback delay experienced by the peers