Peer-Assisted Content Distribution Pablo Rodriguez Christos Gkantsidis.

Slides:



Advertisements
Similar presentations
A Digital Fountain Approach to Reliable Distribution of Bulk Data
Advertisements

Digital Fountains: Applications and Related Issues Michael Mitzenmacher.
NUS.SOC.CS Roger Zimmermann (based in part on slides by Ooi Wei Tsang) Peer-to-Peer Streaming.
CodeTorrent: Content Distribution using Network Coding in VANET Uichin Lee, JoonSang Park, Joseph Yeh, Giovanni Pau, Mario Gerla Computer Science Dept,
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.
The BitTorrent protocol A peer-to-peer file sharing protocol.
Incentives Build Robustness in BitTorrent Bram Cohen.
Peer-assisted On-demand Streaming of Stored Media using BitTorrent-like Protocols Authors: Niklas Carlsson & Derek L. Eager Published in: Proc. IFIP/TC6.
Lava: A Reality Check of Network Coding in Peer-to-Peer Live Streaming Mea Wang, Baochun Li Department of Electrical and Computer Engineering University.
1 Communication Networks Kolja Eger, Prof. Dr. U. Killat 1 From Packet-level to Flow-level Simulations of P2P Networks Kolja Eger, Ulrich Killat Hamburg.
Scalable On-demand Media Streaming with Packet Loss Recovery Anirban Mahanti Department of Computer Science University of Calgary Calgary, AB T2N 1N4 Canada.
Distributed Multimedia Systems
Network Coding in Peer-to-Peer Networks Presented by Chu Chun Ngai
MMCN 19 Jan 2005 Ooi Wei Tsang Peer-to-Peer Streaming.
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 (
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
Network Coding in P2P-Systems Christian Ortolf. Overview ● Introduction ● Galois fields ● Encoding/Decoding of Files ● Gain – Coupon Collector's problem.
19 Historical overview Main challenge: How to distribute content in high quality over the Internet cost-effectively? • Traditional “Best-effort” model:
Peer-to-Peer Networks as a Distribution and Publishing Model Jorn De Boever (june 14, 2007)
Web Caching Schemes1 A Survey of Web Caching Schemes for the Internet Jia Wang.
1 Cooperative Communications in Networks: Random coding for wireless multicast Brooke Shrader and Anthony Ephremides University of Maryland October, 2008.
Network Coding for Large Scale Content Distribution Christos Gkantsidis Georgia Institute of Technology Pablo Rodriguez Microsoft Research IEEE INFOCOM.
1 University of Freiburg Computer Networks and Telematics Prof. Christian Schindelhauer Mobile Ad Hoc Networks Network Coding and Xors in the Air 7th Week.
ECS 152A Acknowledgement: slides from S. Kalyanaraman & B.Sikdar
Peer-Assisted Content Distribution Networks: Techniques and Challenges Pei Cao Stanford University.
Bounds on the Performance of P2P Networks Using Tit-for-Tat Strategies Dimitri DeFigueiredo Balaji Venkatachalam S. Felix Wu.
A Server-less Architecture for Building Scalable, Reliable, and Cost-Effective Video-on-demand Systems Presented by: Raymond Leung Wai Tak Supervisor:
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.
Accessing Multiple Mirror Sites in Parallel: Using Tornado Codes to Speed Up Downloads John Byers, Boston University Michael Luby, Digital Fountain, Inc.
Tradeoffs in CDN Designs for Throughput Oriented Traffic Minlan Yu University of Southern California 1 Joint work with Wenjie Jiang, Haoyuan Li, and Ion.
# Idowu Samuel O. # Kashif Shahzad # Arif Kamal M7001E - Multimedia systems [ltu.se] ©2011.
Locality-Aware Request Distribution in Cluster-based Network Servers Presented by: Kevin Boos Authors: Vivek S. Pai, Mohit Aron, et al. Rice University.
Can Internet Video-on-Demand Be Profitable? SIGCOMM 2007 Cheng Huang (Microsoft Research), Jin Li (Microsoft Research), Keith W. Ross (Polytechnic University)
1 Content Distribution Networks. 2 Replication Issues Request distribution: how to transparently distribute requests for content among replication servers.
Peer-To-Peer Multimedia Streaming Using BitTorrent Purvi Shah, Jehan-François Pâris University of Houston Houston, TX.
1 Enabling near-VoD via P2P Networks Siddhartha Annapureddy Saikat Guha, Dinan Gunawardena Christos Gkantsidis, Pablo Rodriguez World Wide Web, 2007.
Architectures for Peer-to-Peer Content Distribution Christos Gkantsidis Microsoft Research, Cambridge, UK Joint work with: Pablo Rodriguez, John Miller,
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.
 Zhichun Li  The Robust and Secure Systems group at NEC Research Labs  Northwestern University  Tsinghua University 2.
Exploring VoD in P2P Swarming Systems By Siddhartha Annapureddy, Saikat Guha, Christos Gkantsidis, Dinan Gunawardena, Pablo Rodriguez Presented by Svetlana.
1 V1-Filename.ppt / yyyy-mm-dd / Initials P2P content distribution T Applications and Services in Internet, Fall 2008 Jukka K. Nurminen.
A P2P file distribution system ——BitTorrent Pegasus Team CMPE 208.
ICOM 6115©Manuel Rodriguez-Martinez ICOM 6115 – Computer Networks and the WWW Manuel Rodriguez-Martinez, Ph.D. Lecture 3.
Distributing Layered Encoded Video through Caches Authors: Jussi Kangasharju Felix HartantoMartin Reisslein Keith W. Ross Proceedings of IEEE Infocom 2001,
CPSC 441: Multimedia Networking1 Outline r Scalable Streaming Techniques r Content Distribution Networks.
1 Optical Burst Switching (OBS). 2 Optical Internet IP runs over an all-optical WDM layer –OXCs interconnected by fiber links –IP routers attached to.
ECES 741: Stochastic Decision & Control Processes – Chapter 1: The DP Algorithm 31 Alternative System Description If all w k are given initially as Then,
MULTI-TORRENT: A PERFORMANCE STUDY Yan Yang, Alix L.H. Chow, Leana Golubchik Internet Multimedia Lab University of Southern California.
Kiew-Hong Chua a.k.a Francis Computer Network Presentation 12/5/00.
Center for Information and Communication Technologies Potentials and Challenges of Peer-to-Peer Technology Copenhagen, December 2, 2005 Halldor Matthias.
Distributed Information Systems. Motivation ● To understand the problems that Web services try to solve it is helpful to understand how distributed information.
Jennifer Rexford Fall 2014 (TTh 3:00-4:20 in CS 105) COS 561: Advanced Computer Networks TCP.
A P2P On-Demand Video Streaming System with Multiple Description Coding Yanming Shen, Xiaofeng Xu, Shivendra Panwar, Keith Ross, Yao Wang Polytechnic University.
NUS.SOC.CS5248 Ooi Wei Tsang 1 Proxy Caching for Streaming Media.
March 2001 CBCB The Holy Grail: Media on Demand over Multicast Doron Rajwan CTO Bandwiz.
CoopNet: Cooperative Networking
Analyzing and Improving BitTorrent Ashwin R. Bharambe ( Carnegie Mellon University ) Cormac Herley ( Microsoft Research, Redmond ) Venkat Padmanabhan (
Ming-Chen Zhao, Paarijaat Aditya, Yin Lin Andreas Haeberlen, Peter Druschel, Bruce Maggs, and William Wishon A First Look at a Hybrid Content Delivery.
Geethanjali College Of Engineering and Technology Cheeryal( V), Keesara ( M), Ranga Reddy District. I I Internal Guide Mrs.CH.V.Anupama Assistant Professor.
Cost-Effective Video Streaming Techniques Kien A. Hua School of EE & Computer Science University of Central Florida Orlando, FL U.S.A.
Network Processing Systems Design
Threads vs. Events SEDA – An Event Model 5204 – Operating Systems.
Peer-to-Peer Streaming: An Hierarchical Approach
TCP Congestion Control
EE 122: Lecture 22 (Overlay Networks)
Algorithms for Selecting Mirror Sites for Parallel Download
Presentation transcript:

Peer-Assisted Content Distribution Pablo Rodriguez Christos Gkantsidis

2 Traditional Content Distribution Often, large content needs to be distributed to millions of clients: Currently: Huge server farms Infrastructure-based solutions (e.g. Akamai) slow, expensive, non scalable Server Farm

3 Content Distribution Evolution Hype Realism Growth Caching IP Multicast CDNs Akamai Enterprise CDNs Layer-7 Switches Satellite CDNs P2P Disappointment

4 Peer-Assisted Content Distribution

5 Desktop PCs can help each other! Clients become new servers Capacity increases with the number of clients Limitless scalability and fast speeds at extremely low cost!! Server Farm 4 MB file. Server 100 Mbps. Client 1 Mbps

6 Examples Updates/Critical Patches –Adding large servers and egress capacity to absorb pick load is quite expensive –Alternative solution is to delay clients »Patches do not arrive on-time Software Distribution TV On-Demand. Movie/Music downloads PodCasting Enterprise content distribution

7 P2P Content Distribution Benefits: –Dramatically improves speed –Limitless scalability –Minimum server requirements –Very cheap Challenges: –Requires incentives for cooperation –Hard to ensure end2end full connectivity –Security –Manageability –Lack of locality increases transit costs for ISPs –Asymmetric links (traffic engineering) –Variable bandwidth, peers come and go –Need for more sophisticated distribution algorithms

8 P2P Swarming File is divided into many small pieces for distribution Clients request different pieces from the server or from other clients Clients become servers for those pieces downloaded When all pieces are downloaded, clients can re-construct the whole file Server [Rodriguez, Biersack, Infocom’00]

The Challenge Server If there are many users, deciding which is the best piece to download can be very hard!!  Incorrect decisions result in low throughput, nodes not able to finish, bandwidth wasted, etc. Solutions that require to have full knowledge of who has what are non- scalable

10 Avalanche: Improving file swarming using Coding Techniques

11 Goal Provide a very fast and robust Peer-Assisted solution for the distribution of legal content Current problems in existing File Swarming solutions: Rare-blocks are hard to obtain Tit-for-tat incentive mechanisms decrease speeds Arrival of new users slows down old users Heterogeneous nodes do not interact well Same information travels repeatedly over bottleneck links Too much dependency from seeds Sudden departures can prevent peers from finishing

12 Source The Problem of Efficient Scheduling of Information Node ANode B Block 1 Block 2 Node C Block 1 Block 1, or 2, or 1  2?

13 The Avalanche Magic To solve problems of existing P2P file distribution solutions, Avalanche uses special encoding algorithms Each encoded piece has the “DNA” of all pieces in the file. => A given encoded piece can be used by any peer in place of any piece Encoded pieces are created using linear equations that involve all pieces in the file Reconstructing the file requires collecting enough encoded pieces and solving the set of mathematical equations

14 Coding in general Assume file: F = [x 1 x 2 ], where x i is a block. Define code E i (a i,1, a i,2 ) = a i,1 *x 1 + a i,2 *x 2, where a i,1, a i,2 are numbers. “Infinite” number of E i ’s. Any two linearly independent E i (a i,1, a i,2 ) can recover [x 1 x 2 ]. –Similar as solving a system of linear equations. Operations in finite fields [such as GF(2 16 )].

15 Avalanche Coding B1B1 B2B2 BnBn Server 11 22 Client A 11 22 nn E1E1 E2E2 Client B 11 22 E3E3 [Chou et al., ’03] Content is encoded at the server Clients can produce new encoded packets out of partial files nn File

16 Avalanche Robustness If server suddenly goes down (after serving the full file one), all Avalanche users are able to complete the download. Only 10% of users using typical file-swarming techniques are able to complete. Typical file-swarming systems Avalanche

17 Avalanche Download Time Finish Times Nodes (sorted by order of arrival) Avalanche Typical swarming Peers using typical file- swarming techniques that did not finish. => Much lower and predictable download times

18 No need for nodes to stay around… With Avalanche, there is no need for nodes to stay after they finish the download to help other nodes (the performance remains unchanged) Nodes stay for ever Nodes leave immediately Nodes (sorted by order of arrival) Finish Times

19 Minimum Server Requirements Less than half the server requirements compared to systems based on current file-swarming techniques.

20 Decoding Performance Avalanche trades-off better speeds and less server load for more processing power at each node File Size (MB)BlocksTime sec sec 100 2m 21 sec m 38 sec Note: Pentium III, 650MHz, 512MB RAM. Decoding time is less than 4% of the total download

21 Summary Adding resources in an arbitrary fashion is not efficient or cost effective We are witnessing a new Revolution Peer-Assisted solutions can be used by content providers to provide hugely scalable, and very fast distribution of legal content at low cost