Economics and Computation Week 7: The economics of P2P file sharing

Slides:



Advertisements
Similar presentations
P2P Streaming Protocol Pro- incentive Parameters draft-zeng-ppsp-protocol-pro-incentive-para-01 IETF79 Meeting Wenjun (Kevin) Zeng & Yingjie Gu Huawei.
Advertisements

Optimal Scheduling in Peer-to-Peer Networks Lee Center Workshop 5/19/06 Mortada Mehyar (with Prof. Steven Low, Netlab)
Peter R. Pietzuch Peer-to-Peer Computing – or how to make your BitTorrent downloads go faster... Peter Pietzuch Large-Scale Distributed.
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 Presented by Venkatesh Samprati.
Bit Torrent (Nick Feamster) February 25, BitTorrent Steps for publishing – Peer creates.torrent file and uploads to a web server: contains metadata.
Ln -s /usr/timtimmah /usr/kevinstanonik. TORRENT BASICS  You want to get a file to other people.  BUT you don’t have the bandwidth to have everyone.
Cameron Dale and Jiangchuan LiuA Measurement Study of Piece Population in BitTorrent Introduction BitTorrent Experiment Results Simulation Discussion A.
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.
Network Coding in Peer-to-Peer Networks Presented by Chu Chun Ngai
CS 554. Peer-to-Peer Systems Faithfulness in Internet Algorithms Haridimos Kondylakis
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.
CMPT 401 Summer 2007 Dr. Alexandra Fedorova Lecture XV: Real P2P Systems.
Presented by Stephen Kozy. Presentation Outline Definition and explanation Comparison and Examples Advantages and Disadvantages Illegal and Legal uses.
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.
Peer To Peer (P2P) And Torrenting James Jenkinson.
The Bittorrent Protocol
P2P File Sharing Systems
Bit Torrent (Nick Feamster) February 25, BitTorrent Steps for publishing – Peer creates.torrent file and uploads to a web server: contains metadata.
BitTorrent Presentation by: NANO Surmi Chatterjee Nagakalyani Padakanti Sajitha Iqbal Reetu Sinha Fatemeh Marashi.
By Shobana Padmanabhan Sep 12, 2007 CSE 473 Class #4: P2P Section 2.6 of textbook (some pictures here are from the book)
University of Bologna, Italy How to cheat BitTorrent and why nobody does Simon Patarin and David Hales University of Bologna ECCS 2006,
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
File Sharing Prepared By: Mahmud Gabareen Eyal Biber Itamar Arie Lecturer Iris Reinhartz-Berger.
Distributed Systems Concepts and Design Chapter 10: Peer-to-Peer Systems Bruce Hammer, Steve Wallis, Raymond Ho.
1 BitTorrent System Efrat Oune Bar-Ilan What is BitTorrent? BitTorrent is a peer-to-peer file distribution system (built for intensive daily use.
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.
2: Application Layer 1 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,
11/10/20151 A Standalone Content Sharing Application for Spontaneous Communities of Mobile Handhelds Authors: Amir Krifa –
Bittorrent Protocol Implementation. Bittorrent Bittorrent is a widely used peer-to- peer network used to distribute files, especially large ones It has.
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.
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.
PEAR TO PEAR PROTOCOL. Pure P2P architecture no always-on server arbitrary end systems directly communicate peers are intermittently connected and change.
End-to-end Publishing Using Bittorrent. Bittorrent Bittorrent is a widely used peer-to- peer network used to distribute files, especially large ones It.
© 2016 A. Haeberlen, Z. Ives CIS 455/555: Internet and Web Systems 1 University of Pennsylvania Decentralized systems February 15, 2016.
Traffic Localization with Information Guidance of Pseudo Peer Agent on BT-P2P Network 學生 : 楊宏昌 指導教授 : 曾黎明教授 在 BT 同儕通訊上利用參與者訊息引導對外流量之區域化節約.
November 19, 2016 Guide:- Mrs. Kale J. S. Presented By:- Hamand Amol Sambhaji. Hamand Amol Sambhaji. Pardeshi Dhananjay Rajendra. Pardeshi Dhananjay Rajendra.
THE BITTORRENT PROTOCOL OVERVIEW BY ANATOLY RABINOVICH AND VLADIMIR OSTROVSKY Peer-to-Peer File Sharing.
Lecture XV: Real P2P Systems
05 - P2P applications and Sockets
An example of peer-to-peer application
FairTorrent: BrinGing Fairness to Peer-to-Peer Systems
Review session For DS final exam.
Introduction to BitTorrent
Decentralized peer discovery performance in swarm-protocols
Venkatesh Kumar Auzumeedi
ICT Communications Lesson 1: Using the Internet and the World Wide Web
SCHOOL OF ELECTRICAL ENGINEERING AND TELECOMMUNICATIONS
Angelo Sapello University of Delaware
Part 4: Peer to Peer - P2P Applications
Managing Inter-domain Traffic in the Presence of BitTorrent File-Sharing Srinivasan Seetharaman and Mostafa Ammar School of Computer Science Objective:
Do incentives build robustness in BitTorrent?
The BitTorrent Protocol
PEER-TO-PEER SYSTEMS.
Pure P2P architecture no always-on server
Chapter 2 Application Layer
#02 Peer to Peer Networking
Presentation transcript:

Economics and Computation Week 7: The economics of P2P file sharing Prof. Pingzhong Tang kenshin@tsinghua.edu.cn http://iiis.tsinghua.edu.cn/~kenshin/ec Fall 2016 11/21/2018 Pingzhong Tang

Reference Chapter 4, The economics of Peer-to-Peer file sharing Economics and computation. David Parkes, Sven Seuken. Cambridge press. Project example: Mechanism design for resource allocation with applications to centralized multi-commodity routing. AAMAS-2015, Qipeng Liu, Yicheng Liu, Pingzhong Tang 11/21/2018 Pingzhong Tang

Client-server paradigm Download apps from apple store Stream videos from youtube Buy ebooks from amazon Key features Client and server are clearly separated For large scales, lots of local servers needed, costly 11/21/2018 Pingzhong Tang

P2P file-sharing paradigm P2P network: server = client = peer Who has ever used a P2P client? What client do you use? Why? How do you feel? Pros and cons? 11/21/2018 Pingzhong Tang

Client-server vs. P2P 11/21/2018 Pingzhong Tang

11/21/2018 Pingzhong Tang

A P2P protocol defines a game Actions, messages supported Rules of the game e.g., how files are shared among users Reference client: Default action Other clients: Other actions A p2p protocol defines a game! 11/21/2018 Pingzhong Tang

In 2002, P2P was responsible for 50% of internet traffic 11/21/2018 Pingzhong Tang

11/21/2018 Pingzhong Tang

11/21/2018 Pingzhong Tang

Files shared by only a few hosts! 11/21/2018 Pingzhong Tang

11/21/2018 Pingzhong Tang

11/21/2018 Pingzhong Tang

11/21/2018 Pingzhong Tang

Repeated game? If the same file-sharing game played repeatedly, “share” is also an equilibrium outcome! Folk theorem, Tit-for-Tat, Grim Trigger Fact: large networks, low rendezvous probability Two peers rarely meet again in the future The game is not really repeated… Neatly solved in BitTorrent! 11/21/2018 Pingzhong Tang

11/21/2018 Pingzhong Tang

“I will share with you if you share with me” 11/21/2018 Pingzhong Tang

Download process of BitTorrent 11/21/2018 Pingzhong Tang

Terminologies Block: basic element of file .torrent file: name, SHA1, file size, tracker IP Tracker: a server that maintains a list of participating peers Swarm: peers current downloading/ uploading Leechers: downloading Seeders: have complete file and still uploading 11/21/2018 Pingzhong Tang

Terminologies Neighbors: Unchoked peers: two connected peers Exchange Bit-field: informs each other which pieces of file they have Unchoked peers: small subset of peers that a peer chooses to upload to Rarest first downloading strategy: leecher always starts from downloading the rarest pieces Unchoking strategy in BitTorrent? 11/21/2018 Pingzhong Tang

Unchoking mechanism 11/21/2018 Pingzhong Tang

Unchoking algorithm ≈ Tit for Tat Why ≈? 11/21/2018 Pingzhong Tang

Attacks (Manipulations) on BitTorrent 11/21/2018 Pingzhong Tang

11/21/2018 Pingzhong Tang

Attack #1 11/21/2018 Pingzhong Tang

BitThief vs. Default Client 11/21/2018 Pingzhong Tang

11/21/2018 Pingzhong Tang

Attack #2 11/21/2018 Pingzhong Tang

SPR vs. Default client 11/21/2018 Pingzhong Tang

11/21/2018 Pingzhong Tang

Technique details 11/21/2018 Pingzhong Tang

Attack #3: BitTyrant 11/21/2018 Pingzhong Tang

BitTyrant algorithm For each peer j, i estimates the download rate dj from j the upload rate uj necessary for reciprocation with j Allocate the upload budget greedily according to dj/ uj until budget is exhausted Update i’s estimation of d and u. Comments: new users have a longer bootstrapping phase What is this? 11/21/2018 Pingzhong Tang

11/21/2018 Pingzhong Tang

BitTyrant vs Default 11/21/2018 Pingzhong Tang

11/21/2018 Pingzhong Tang

11/21/2018 Pingzhong Tang

Further readings Reading: chapter 4 of reference book #1 Optional reading: people.csail.mit.edu/hqz/papers/dime.pdf‎ http://www.cs.ubc.ca/~kevinlb/pub.php?u=welcom01.pdf 11/21/2018 Pingzhong Tang