Incentives Build Robustness in BitTorrent 1st Workshop on Economics of Peer-to-Peer Systems 2003 Bram Cohen

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
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
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.
The BitTorrent protocol A peer-to-peer file sharing protocol.
Incentives Build Robustness in BitTorrent Bram Cohen.
BitTorrent CS514 Vivek Vishnumurthy, TA. Common Scenario Millions want to download the same popular huge files (for free) –ISO’s –Media (the real example!)
Bit Torrent (Nick Feamster) February 25, BitTorrent Steps for publishing – Peer creates.torrent file and uploads to a web server: contains metadata.
Presented by: Su Yingbin. Outline Introduction SocialSwam Design Notations Algorithms Evaluation Conclusion.
Stochastic Analysis of File Swarming Systems The Chinese University of Hong Kong John C.S. Lui Collaborators: D.M. Chiu, M.H. Lin, B. Fan.
Seed Scheduling for Peer-to-Peer Networks Flavio Esposito Ibrahim Matta Pietro Michiardi Nobuyuki Mitsutake Damiano Carra.
The BitTorrent content distribution system CS217 Advanced Topics in Internet Research Guest Lecture Nikitas Liogkas, 5/11/2006.
BitTorrent Join the swarm! BY: Joe Petruska. What is BitTorrent? a peer-to-peer file sharing protocol used for distributing large amounts of data.
Clustering and Sharing Incentives in BitTorrent Systems Arnaud Legout 1, Nikitas Liogkas 2, Eddie Kohler 2, Lixia Zhang 2 1 INRIA, Projet Planète, Sophia.
Modelling and Performance Analysis of BitTorrent-Like Peer-to-Peer Networks.
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.
Game Theory Presented by Hakim Weatherspoon. Game Theory Main Question: Can we cheat (and get away with it)? BitTorrent –P2P file distribution tool designed.
Game Theory Presented by Hakim Weatherspoon. Game Theory BitTorrent Do Incentives Build Robustness in BitTorrent? BAR Gossip.
FRIENDS: File Retrieval In a dEcentralized Network Distribution System Steven Huang, Kevin Li Computer Science and Engineering University of California,
Modeling and analysis of BitTorrent-like P2P network Fan Bin Oct,1 st,2004.
Modeling and Performance Analysis of Bitorrent-Like Peer-to-Peer Networks Dongyu Qiu and R. Srikant University of Illinois, 2004 Presented by : Ran Zivhon.
1 Incentives Build Robustness in BitTorrent? Analysis on Bit Torrent Client performance By Jimmy Wong.
A P2P file distribution system ——BitTorrent Fan Bin Sep,25,2004.
Courtesy: Philip Levis/David Mazieres, Stanford More application layer BitTorrent (Quick Overview) Tahir Azim.
BitTorrent Background. Common Scenario Millions want to download the same popular huge files (for free) –ISO’s –Media (the real example!) Client-server.
Middleware for P2P architecture Jikai Yin, Shuai Zhang, Ziwen Zhang.
CSE 461 University of Washington1 Topic Peer-to-peer content delivery – Runs without dedicated infrastructure – BitTorrent as an example Peer.
Client-Server vs P2P or, HTTP vs Bittorrent. Client-Server Architecture SERVER client.
The Bittorrent Protocol
1 BiToS: Enhancing BitTorrent for Supporting Streaming Applications Aggelos Vlavianos, Marios Iliofotou and Michalis Faloutsos Department of Computer Science.
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.
University of Bologna, Italy How to cheat BitTorrent and why nobody does Simon Patarin and David Hales University of Bologna ECCS 2006,
BitTorrent.
BitTorrent Internet Technologies and Applications.
BitTorrent How it applies to networking. What is BitTorrent P2P file sharing protocol Allows users to distribute large amounts of data without placing.
GPS: A General Peer-to-Peer Simulator and its Use for Modeling BitTorrent Weishuai Yang Nael Abu-Ghazaleh
BitTorrent Dr. Yingwu Zhu. Bittorrent A popular P2P application for file exchange!
A P2P file distribution system ——BitTorrent Pegasus Team CMPE 208.
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.
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.
Bit Torrent A good or a bad?. Common methods of transferring files in the internet: Client-Server Model Peer-to-Peer Network.
Content Overlays (continued) Nick Feamster CS 7260 March 26, 2007.
MULTI-TORRENT: A PERFORMANCE STUDY Yan Yang, Alix L.H. Chow, Leana Golubchik Internet Multimedia Lab University of Southern California.
1 Slides from Richard Yang with minor modification Peer-to-Peer Systems: DHT and Swarming.
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.
Experience Sharing in Mobile Peer Communities EPI Planete, INRIA International Consortium Meeting (Oulou) 10 June, 2009.
Peer-to-Peer Systems: An Overview Hongyu Li. Outline  Introduction  Characteristics of P2P  Algorithms  P2P Applications  Conclusion.
Bit Torrent Nirav A. Vasa. Topics What is BitTorrent? Related Terms How BitTorrent works Steps involved in the working Advantages and Disadvantages.
Peer to Peer Networking. Network Models => Mainframe Ex: Terminal User needs direct connection to mainframe Secure Account driven  administrator controlled.
PEAR TO PEAR PROTOCOL. Pure P2P architecture no always-on server arbitrary end systems directly communicate peers are intermittently connected and change.
Peer-to-Peer Networks 10 Fast Download Christian Schindelhauer Technical Faculty Computer-Networks and Telematics University of Freiburg.
An example of peer-to-peer application
Introduction to BitTorrent
nTorrent: Peer-to-Peer File Sharing in Named Data Networking
Designing a new BitTorrent Client
Angelo Sapello University of Delaware
Managing Inter-domain Traffic in the Presence of BitTorrent File-Sharing Srinivasan Seetharaman and Mostafa Ammar School of Computer Science Objective:
Small Is Not Always Beautiful
Simplified Explanation of “Do incentives build robustness in BitTorrent?” By James Hoover.
The BitTorrent Protocol
Y. Richard Yang 10/23/2018 Network Applications: Multi-Server Request Routing; Distributed Content Distribution.
Pure P2P architecture no always-on server
Chapter 2 Application Layer
Presentation transcript:

Incentives Build Robustness in BitTorrent 1st Workshop on Economics of Peer-to-Peer Systems 2003 Bram Cohen

Outline What BitTorrent Does Technical Framework Choking Algorithms

What BitTorrent Does How BitTorrent Works When multiple people are downloading the same file at the same time, they upload pieces of that file to each other Mathematically: what must go down must go up High rate of “churn”

What BitTorrent Does Interface Standard “Save As” dialog box

What BitTorrent Does Deployment Known “Tracker” nodes.torrent file contains meta information length, name, hash, URL of tracker Incomplete downloaders increases rapidly Complete downloaders increase slowly Both fall off exponentially

Technical Framework Publishing Content Peer Distribution Pipelining Piece Selection

Publishing Content Protocol layered on top of HTTP Publisher provides a.torrent file: d8:announce43: da tei e4:infod5:filesld6:lengthi e4:pathl18:FC3-x86_6 4-DVD.isoeed6:lengthi753e4:pathl6:MD5SUMeee4:name21:heidelberg-x8 6_64-DVD12:piece lengthi262144e6:pieces201380:gæGÓg€Èd1ÒñfMåcƒ !)UÁÍÂ◊∆òA˝,èZEoPL”‡&JÀ#Lø™≈ÚT±±)∂úUTúâO^ � Ëg&µ?µ0 � %£p$oª≈'Bê®ıJVBvÉ*ßwä†ÅMΩ � óøåˇ·îÕµoKÜè ……. (200k file)

Peer Distribution Tracker helps peers find each other. BitTorrent cuts the files into pieces Typically 256KB Uses SHA1 hash to verify integrity Peers download from any other peer Peers may not have what is wanted Peers may not allow them to download

Pipelining BitTorrent uses TCP Avoid TCP “slow start” Have many pending requests Pieces get broken down Sub-pieces typically 16KB in size Try and keep some number (typically 5) of requests pending at a time.

Piece Selection Strict Priority Other sub-pieces from same source Rarest First Common parts left for later Random First Piece Start-up need to get a complete piece Endgame Mode Broadcast for all remaining sub-pieces

Choking Algorithms No central resource allocation “choking” is a temporary refusal to upload Pareto Efficiency BitTorrent’s Choking Algorithm Optimistic Unchoking Anti-snubbing Upload Only

Pareto Efficiency An allocation is Pareto efficient if there is no other allocation in which some other individual is better off and no individual is worse off. “ In computer Science terms, seeking pareto efficiency is a local optimization algorithm in which pairs of counterparties see if they can improve their lot together, and such algoritms tend to lead to a global optima.”

BitTorrent’s Choking Algorithm Peers are unchoked based strictly on current download rate Leaves 4 peers unchoked Makes decision every 10 seconds Uses a 20-second rolling average

Optimistic Unchoking Used to discover if a currently choked peer would be better. Done every third unchoke decision (30 seconds).

Anti-snubbing After 60 seconds without a single piece, the client will assume it has been ‘snubbed’ Does not upload to a peer that has snubbed it (except as an optimistic unchoke)

Upload Only Once it’s done downloading it has no metric to determine who to upload to Prefers: Peers that have a better upload rate Peers that noone else is currently uploading to

Summary What BitTorrent Does Technical Framework Choking Algorithms

Personal Opinions Limited references (IPTPS) Some handwaving “All logistical problems…” “Well known economic theories…” Built for transferring LARGE files In trouble from MPAA for copyright violations(movies)