BitTorrent and fountain codes: friends or foes? Salvatore Spoto, Rossano Gaeta, Marco Grangetto, Matteo Sereno Dipartimento di informatica Università di.

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

Neighbour selection strategies in BitTorrent- like Peer-to-Peer systems L.G. Alex Sung, Herman Li March 30, 2005 for CS856 Web Data Management University.
Speaker: Li-Wei Wu Advisor: Dr. Kai-Wei Ke 1.  Introduction  Coolstreaming  Proposed system  Simulation  Conclusion  Reference 2.
Rarest First and Choke Algorithms Are Enough
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.
Cameron Dale and Jiangchuan LiuA Measurement Study of Piece Population in BitTorrent Introduction BitTorrent Experiment Results Simulation Discussion A.
On Large-Scale Peer-to-Peer Streaming Systems with Network Coding Chen Feng, Baochun Li Dept. of Electrical and Computer Engineering University of Toronto.
Kangaroo: Video Seeking in P2P Systems Xiaoyuan Yang †, Minas Gjoka ¶, Parminder Chhabra †, Athina Markopoulou ¶, Pablo Rodriguez † † Telefonica Research.
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.
Fabian Kuhn, Microsoft Research, Silicon Valley
Network Coding in Peer-to-Peer Networks Presented by Chu Chun Ngai
1 Rateless codes and random walks for P2P resource discovery in Grids IEEE TRANSACTIONS ON PARALLEL AND DISTRIBUTED SYSTEMS, NOV Valerio Bioglio.
Seed Scheduling for Peer-to-Peer Networks Flavio Esposito Ibrahim Matta Pietro Michiardi Nobuyuki Mitsutake Damiano Carra.
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
Using Layered Video to Provide Incentives in P2P Live Streaming
Small-world Overlay P2P Network
1 Live P2P Streaming with Scalable Video Coding and Network Coding Shabnam Mirshokraie, Mohamed Hefeeda School of Computing Science Simon Fraser University,
A Comparison of Layering and Stream Replication Video Multicast Schemes Taehyun Kim and Mostafa H. Ammar.
Network Coding for Large Scale Content Distribution Christos Gkantsidis Georgia Institute of Technology Pablo Rodriguez Microsoft Research IEEE INFOCOM.
Improving ISP Locality in BitTorrent Traffic via Biased Neighbor Selection Ruchir Bindal, Pei Cao, William Chan Stanford University Jan Medved, George.
Sliding-Window Digital Fountain Codes for Streaming of Multimedia Contents Matta C.O. Bogino, Pasquale Cataldi, Marco Grangetto, Enrico Magli, Gabriella.
Kyushu University Graduate School of Information Science and Electrical Engineering Department of Advanced Information Technology Supervisor: Professor.
1 rStream: Resilient and Optimal Peer-to-Peer Streaming with Rateless Codes Chuan Wu, Baochun Li Department of Electrical and Computer Engineering University.
1 BitTorrent and fountain codes: friends or foes? Salvatore Spoto, Rossano Gaeta, Marco Grangetto, Matteo Sereno Department of Computer Science, University.
A Framework for Cost-Effective Peer-to- Peer Content Distribution Mohamed Hefeeda and Bharat Bhargava Department of Computer Sciences Purdue University.
Project Mimir A Distributed Filesystem Uses Rateless Erasure Codes for Reliability Uses Pastry’s Multicast System Scribe for Resource discovery and Utilization.
Data Consistency in the Structured Peer-to-Peer Network Cheng-Ying Ou, Polly Huang Network and Systems Lab 台灣大學電機資訊學院電機所.
Peer-To-Peer Multimedia Streaming Using BitTorrent Purvi Shah, Jehan-François Pâris University of Houston Houston, TX.
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.
GPS: A General Peer-to-Peer Simulator and its Use for Modeling BitTorrent Weishuai Yang Nael Abu-Ghazaleh
Rateless Codes with Optimum Intermediate Performance Ali Talari and Nazanin Rahnavard Oklahoma State University, USA IEEE GLOBECOM 2009 & IEEE TRANSACTIONS.
Thesis Proposal Data Consistency in DHTs. Background Peer-to-peer systems have become increasingly popular Lots of P2P applications around us –File sharing,
Optimal Degree Distribution for LT Codes with Small Message Length Esa Hyytiä, Tuomas Tirronen, Jorma Virtamo IEEE INFOCOM mini-symposium
Computer Science Informed Content Delivery Across Adaptive Overlay Networks Overlay networks have emerged as a powerful and highly flexible method for.
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.
1 Insertion of ISP-owned Peer & Locality Awareness in BitTorrent Ioanna Papafili, George D. Stamoulis, Sergios Soursos AUEB EuroNF workshop, Athens October.
11/10/20151 A Standalone Content Sharing Application for Spontaneous Communities of Mobile Handhelds Authors: Amir Krifa –
An Optimal Partial Decoding Algorithm for Rateless Codes Valerio Bioglio, Rossano Gaeta, Marco Grangetto, and Matteo Sereno Dipartimento di Informatica.
Chih-Ming Chen, Student Member, IEEE, Ying-ping Chen, Member, IEEE, Tzu-Ching Shen, and John K. Zao, Senior Member, IEEE Evolutionary Computation (CEC),
MULTI-TORRENT: A PERFORMANCE STUDY Yan Yang, Alix L.H. Chow, Leana Golubchik Internet Multimedia Lab University of Southern California.
CprE 545 project proposal Long.  Introduction  Random linear code  LT-code  Application  Future work.
1 Measuring P2P IPTV Systems Thomas Silverston, Olivier Fourmaux Universit ´e Pierre et Marie Curie - Paris 6 ACM NOSSDAV th International workshop.
Paper # – 2009 A Comparison of Heterogeneous Video Multicast schemes: Layered encoding or Stream Replication Authors: Taehyun Kim and Mostafa H.
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.
P2P streaming with LT codes: a prototype experimentation
Multi-Edge Framework for Unequal Error Protecting LT Codes H. V. Beltr˜ao Neto, W. Henkel, V. C. da Rocha Jr. Jacobs University Bremen, Germany IEEE ITW(Information.
Pei-Chuan Tsai Chih-Ming Chen Ying-ping Chen WCCI 2012 IEEE World Congress on Computational Intelligence Sparse Degrees Analysis for LT Codes Optimization.
Nour KADI, Khaldoun Al AGHA 21 st Annual IEEE International Symposium on Personal, Indoor and Mobile Radio Communications 1.
Analyzing and Improving BitTorrent Ashwin R. Bharambe ( Carnegie Mellon University ) Cormac Herley ( Microsoft Research, Redmond ) Venkat Padmanabhan (
Peer-to-Peer Systems: An Overview Hongyu Li. Outline  Introduction  Characteristics of P2P  Algorithms  P2P Applications  Conclusion.
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.
Bit Torrent Nirav A. Vasa. Topics What is BitTorrent? Related Terms How BitTorrent works Steps involved in the working Advantages and Disadvantages.
INTERNET TECHNOLOGIES Week 10 Peer to Peer Paradigm 1.
Mobile Peer-to-Peer Video Streaming over Information-Centric Networks The International Journal of Computer and Telecommunications Networking, 2015 Andrea.
Peer-to-Peer Networks 10 Fast Download Christian Schindelhauer Technical Faculty Computer-Networks and Telematics University of Freiburg.
Introduction to BitTorrent
Nuno Salta Supervisor: Manuel Ricardo Supervisor: Ricardo Morla
Economics and Computation Week 7: The economics of P2P file sharing
The BitTorrent Protocol
IFIP – Performance 2007 A Modeling Framework to Understand the Tussle between ISPs and Peer-to-Peer File Sharing Users Michele Garetto - unito.
Pure P2P architecture no always-on server
Chapter 2 Application Layer
Presentation transcript:

BitTorrent and fountain codes: friends or foes? Salvatore Spoto, Rossano Gaeta, Marco Grangetto, Matteo Sereno Dipartimento di informatica Università di Torino

Peer to peer and file sharing applications Peer to peer paradigm has a huge diffusion nowadays [1] It can be employed for a lot of different applications: File sharing: BitTorrent [2][3], eDonkey, eMule, DC++ Video Streaming : SopCast, PPLive, PPStream Distribuited portals: Osiris Others: Skype, Sciencenet, Spotify BitTorrent is doubtless the reference architecture for file sharing

b1 b2 b3 b4 … BitTorrent protocol 1 BitTorrent adopts a multi-part download scheme: Piece’s blocks File’s pieces The file is divided into pieces, each piece into blocks. Peers are synchronized between them at piece level. Each client knows what pieces have been completely downloaded from his neighbors. Peers exchange between them piece’s blocks

BitTorrent protocol 2: rarest first and tit for tat Main BitTorrent’s strategies: - Tit-for-Tat: assures reciprocity between downloading and uploading rates. - Rarest first: assures a fair distribution of file’s pieces Note that only complete pieces can be shared and distributed Many research works claim that BitTorrent has near-optimal performance [4] [5] [6]

Flash crowd, high churn rates Some phenomena can cripple BitTorrent performance: Example of simulated population's dynamics in a network affected by flash crowd and high Churn rates. Flash crowd: many peer join or leave the network at the same time High churn rates: peers join and leave the network at high rates Many peer leave the overlay network at the same time

Modifying BitTorrent protocol 1: Luby-transform codes LT codes [7][8] are a class a fountain codes that use simple XOR operations to encode and decode the message. The decoding process has a certain overhead ε : the recipient needs to receive a number of packets that exceed in percentage the original size of the message by a certain amount. If k is the original number of non coded blocks, the decoding process succeeds when k (1+ ε ) packets are received. Benefits - Avoid content reconciliation - A peer can share partially downloaded file parts - File parts can be download concurrently from different peers Drawbacks - Decoding overhead - Encoder/decoder complexity Coded blocks can be sended without content reconciliation

Modifying BitTorrent protocol 2: Rarest first on partial pieces GPS simulator Summary of protocol modifications: Use LT codes to code file’s pieces. The file’s piece subdivision is different in accordance with the requirements of encoding. The decoding overhead is about 10% Share partial file’s piece A piece can be downloaded from more peers at same time without content reconciliation The protocol requests first the rarest complete piece. If there are not complete pieces available, a peer requests the rarest partial piece If a piece is fully decoded a peer sends new coded blocks We use General purpose simulator GPS [9] simulator in order to test our modified protocol

Experimental results: simple three peer topology A simple topology with a seeder and two leechers Seeder Leecher

Experimental results: single flash crowd scenario Single flash crowd scenario set up: Time 0: a flash crowd of 50 peers occurs Time 50: 20 random selected peers leave the network, regardless of the state of the download

Experimental results: downloading times distribution Comparison of downloading time distributions between original protocol and the modified one

Experimental results: a more complex scenario 1 Example of simulated population's dynamics in a network affected by flash crowd and high Churn rates. During the simulation multiple flash crowd and massive departure of peer occur

Conclusions In this paper we proposed a novel modifications of the BitTorrent protocol by introducing the LT encoding Then we proved by simulations that better performance can be achieved considering file of small size and in adverse network conditions. In such situation our proposed protocol yields a gain that is above the 10% in all simulated scenarios, in spite of the decoding overhead that the LT codes introduce.

Thank you for your kind attention

Bibliography [1] T. Karagiannis, A. Broido, M. Faloutsos, and K. C. Claffy, Transport layer identification of p2p traffic, in Proc. ACM IMC04, Taormina, Sicily, Italy, October [2] [3] Bitorrent protocol specification v1.0 June 2005 [4] A. Legout, G. Urvoy-Keller, P. Michiardi, Understanding bittorrent: An experimental perspective. Technical report, CNRS : FRE2660 EURECOM [5] A. Legout, G. Urvoy-Keller, P. Michiardi, Rarest First and Choke Algorithms Are Enough, IMC ’06: Proceedings of the 6th ACM SIGCOMM conference on Internet measurement, Rio de Janeriro, Brazil, [6] A. Al-Hamra, A. Legout, and C. Barakat, Understanding the Properties of the BitTorrent Overlay, CoRR abs/ : (2007). [7] M. Luby, LT codes, Foundations of Computer Science, Proceedings. The 43rd Annual IEEE Symposium on (2002). [8] E.Hyytia, T. Tirronen, J. Virtamo Optimizing the Degree Distribution of LT Codes, in RESIM 2006, 6th International Workshop on Rare Event Simulation, 2006, Bamberg, Germany [9] W. Yang, N. Abu-Ghazaleh, GPS: A General Peer-to-Peer Simulator and its Use for Modeling BitTorrent, Proceedings of 13th Annual Meeting of the IEEE International Symposium on Modeling, Analysis, and Simulation of Computer and Telecommunication Systems (MASCOTS ’05), Sept 27-29, 2005, Atlanta.