Peter R. Pietzuch Peer-to-Peer Computing – or how to make your BitTorrent downloads go faster... Peter Pietzuch Large-Scale Distributed.

Slides:



Advertisements
Similar presentations
Computer Concepts – Illustrated 8th edition
Advertisements

1 UNIT I (Contd..) High-Speed LANs. 2 Introduction Fast Ethernet and Gigabit Ethernet Fast Ethernet and Gigabit Ethernet Fibre Channel Fibre Channel High-speed.
Cognitive Radio Communications and Networks: Principles and Practice By A. M. Wyglinski, M. Nekovee, Y. T. Hou (Elsevier, December 2009) 1 Chapter 12 Cross-Layer.
1 Copyright © 2013 Elsevier Inc. All rights reserved. Appendix 01.
Performance in Decentralized Filesharing Networks Theodore Hong Freenet Project.
Peer-to-peer and agent-based computing P2P Algorithms & Issues.
Peer-to-peer and agent-based computing Peer-to-Peer Computing: Introduction.
The Institute for Learning and Research Technology is a national centre of excellence in the development and use of technology-based methods in teaching,
Solve Multi-step Equations
Peer-to-Peer and Social Networks An overview of Gnutella.
Randomized Algorithms Randomized Algorithms CS648 1.
Chapter 1: Introduction to Scaling Networks
Optimal Scheduling in Peer-to-Peer Networks Lee Center Workshop 5/19/06 Mortada Mehyar (with Prof. Steven Low, Netlab)
IP Multicast Information management 2 Groep T Leuven – Information department 2/14 Agenda •Why IP Multicast ? •Multicast fundamentals •Intradomain.
VOORBLAD.
15. Oktober Oktober Oktober 2012.
1 Network Address Translation (NAT) Relates to Lab 7. Module about private networks and NAT.
Scale Free Networks.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 EN0129 PC AND NETWORK TECHNOLOGY I IP ADDRESSING AND SUBNETS Derived From CCNA Network Fundamentals.
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.
OPERATING SYSTEM SUPPORT
© 2012 National Heart Foundation of Australia. Slide 2.
Copyright © 2013, 2009, 2006 Pearson Education, Inc. 1 Section 5.4 Polynomials in Several Variables Copyright © 2013, 2009, 2006 Pearson Education, Inc.
Januar MDMDFSSMDMDFSSS
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Addressing the Network – IPv4 Network Fundamentals – Chapter 6.
PSSA Preparation.
Immunobiology: The Immune System in Health & Disease Sixth Edition
Peter Key, Laurent Massoulie, Don Towsley Infocom 07 presented by Park HoSung 1 Path selection and multipath congestion control.
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.
Clayton Sullivan PEER-TO-PEER NETWORKS. INTRODUCTION What is a Peer-To-Peer Network A Peer Application Overlay Network Network Architecture and System.
From Coulouris, Dollimore, Kindberg and Blair Distributed Systems: Concepts and Design Edition 5, © Addison-Wesley 2012 Slides for Chapter 1 Characterization.
CompSci 356: Computer Network Architectures Lecture 21: Content Distribution Chapter 9.4 Xiaowei Yang
Improving ISP Locality in BitTorrent Traffic via Biased Neighbor Selection Ruchir Bindal, Pei Cao, William Chan Stanford University Jan Medved, George.
1 Client-Server versus P2P  Client-server Computing  Purpose, definition, characteristics  Relationship to the GRID  Research issues  P2P Computing.

BitTorrent How it applies to networking. What is BitTorrent P2P file sharing protocol Allows users to distribute large amounts of data without placing.
ITIS 1210 Introduction to Web-Based Information Systems Chapter 38 How Music Sharing and File Sharing Work.
A P2P file distribution system ——BitTorrent Pegasus Team CMPE 208.
Vulnerabilities in peer to peer communications Web Security Sravan Kunnuri.
Chapter 2: Application layer
Do incentives build robustness in BitTorrent? Michael Piatek, Tomas Isdal, Thomas Anderson, Arvind Krishnamurthy, Arun Venkataramani.
Exercises for Chapter 2: System models
Exercises for Chapter 10: Peer-to-Peer Systems Peer-to-Peer Systems
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.
Architecture Models. Readings r Coulouris, Dollimore and Kindberg Distributed Systems: Concepts and Design Edn. 3 m Note: All figures from this book.
B IT T ORRENT T ECHNOLOGY Anthony Pervetich. H ISTORY Bram Cohen Designed the BitTorrent protocol in April 2001 Released July 2, 2001 Concept Late 90’s.
Impact of Incentives in BitTorrent By Jenny Liu and Seth Cooper.
ADVANCED COMPUTER NETWORKS Peer-Peer (P2P) Networks 1.
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.
Introduction to Networking
Distributed Systems: Concepts and Design Edition 5, © Addison-Wesley 2012 Chapter 1 Characterization of Distributed Systems.
Geethanjali College Of Engineering and Technology Cheeryal( V), Keesara ( M), Ranga Reddy District. I I Internal Guide Mrs.CH.V.Anupama Assistant Professor.
Lecture XV: Real P2P Systems
An example of peer-to-peer application
Introduction to BitTorrent
Slides for Chapter 1 Characterization of Distributed Systems
Determining the Peer Resource Contributions in a P2P Contract
Economics and Computation Week 7: The economics of P2P file sharing
Slides for Chapter 1 Characterization of Distributed Systems
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
Slides for Chapter 1 Characterization of Distributed Systems
Slides for Chapter 1 Characterization of Distributed Systems
Presentation transcript:

Peter R. Pietzuch Peer-to-Peer Computing – or how to make your BitTorrent downloads go faster... Peter Pietzuch Large-Scale Distributed Systems Group Distributed Software Engineering (DSE) Section Department of Computing Imperial College London UG Open Day – July 2009 Department of Computing

BitTorrent Who here uses BitTorrent? BitTorrent: “1/3 of all Internet traffic” (?) [CacheLogic’04] 2

Talk Overview What are peer-to-peer systems? –Napster –Gnutella How does BitTorrent work? Open research questions: 1.Internet Service Providers vs P2P applications 2.Making BitTorrent downloads faster 3

Client/Server Systems Clients contact a server to request a service 4 client server client HTTP request HTTP response

Peer-to-Peer Systems Peers themselves contribute resources to the system 5 peer

Peer-to-Peer Applications File sharing most popular (e.g. BitTorrent, eMule,...) –Anybody can provide content Peer-to-peer computing (e.g. BOINC,...) computing projects: Contribute users’ resources for file sharing, scientific computing 6

Napster How do we find a file? Instructor’s Guide for Coulouris, Dollimore and Kindberg Distributed Systems: Concepts and Design Edn. 4 © Pearson Education 2005

Gnutella Can we find files without a centralised server? Not particularly efficient! 8 peer search request? file found!

BitTorrent Don’t download whole file from single peer –Subdivide file into fixed chunks Use tit-for-tat policy client file: seed 1234

BitTorrent Swarm BitTorrent swarm from the perspective of one peer: 10

BitTorrent: Peer Discovery tracker 1.Request list of peers from tracker New peer Peers? Existing swarm

BitTorrent: Peer Discovery tracker 1.Request list of peers from tracker 2.Tracker records IP of requester New peer Existing swarm

BitTorrent: Peer Discovery tracker A B C 1.Request list of peers from tracker 2.Tracker records IP of requester 3.Tracker responds with list of recent peers New peer A,B,C Existing swarm

BitTorrent: Peer Discovery tracker A B C 1.Request list of peers from tracker 2.Tracker records IP of requester 3.Tracker responds with list of recent peers 4.Contact New peer Expanded swarm

P2P Research: Network Impact 15

P2P vs ISPs Many Internet Service Providers (ISPs) block P2P traffic

Internet Submarine Cables 17

Internet Road Map 18

Locality in Peer Selection I Swarms ignore ISP boundaries Problem –Ignores network topology –Many long-range connections This is inefficient! –Low inter-node bandwidth –High ISP Cost Traffic shaping ISP #1 ISP #2

Locality in Peer Selection II Solution –Form locally-biased graph –Improves inter-node bandwidth –Reduces ISP Cost General principle for Internet applications –Locality is good! How do we add locality? –Look at where IP addresses of peers are located... –Tracker may bias returned peers ISP #1 ISP #2

P2P Research: Improvement 21

How can we make BitTorrent downloads faster? BitTorrent (BT) uses tit-for-tat scheme for resource contribution –Peers show significant amount of altruism –There’s unfairness in the allocation (no Nash equilibrium) 1.Favour peers with uploads that provide good downloads 2.Optimistically unchoke peers at random to find good new peers Unchoking is indiscriminate to upload capacity 22 source: NSDI’’07 - BitTyrant

Sybil Attack 23 source: J. Douceur – IPTPS’02 Peer can pretend to be many peers –BT peers pretends to be many low bandwidth peers –Aggregate download bandwidth will be higher Don’t try that at home... –Refuse multiple connections from same IP address

Each peer has a fixed number of upload slots Peers can be strategic when choosing peers for upload slots: 1.Prefer clients that reciprocate with high upload bandwidth Allocate upload slots to them 2.Maximise number of reciprocating clients Dynamically select the number of upload slots available 3.Only contribute minimum required amount of upload bandwidth Frees up upload bandwidth for new upload slots Can BT peers be more strategic? 24 peer swarm

Summary Peer-to-peer systems are an activate research area –Lots of interesting problems in computer science Improving BitTorrent –Of course need to show/prove that this works... –Game theory, mechanism design, distributed systems, networks, experimental studies,... Final year undergraduate projects in this space! 25 Thank You! Any Questions? Peter Pietzuch

Scratch 26

Application 3: Locality-aware Bittorrent Reduced inter-ISP traffic Improved bandwidth for peers 27 Unbiased swarmsLocally-biased swarms tracker ISP #1 ISP #2 tracker ISP #1 ISP #2

Decentralised Tracker I 28

Decentralised Tracker II 29

Decentralised Tracker III 30

Large number of users, requests, resources,... –Single/multiple data centres, hosts and/or mobile clients  Requirement: Scalability Wide-area Internet communication –Cannot ignore network effects  Requirement: Network-awareness Long-running, 24/7 service –Must adapt to changing conditions and failure  Requirement: Fault-tolerance Properties of Internet-Scale Systems 31