SkipNet: A Scaleable Overlay Network With Practical Locality Properties Presented by Rachel Rubin CS294-4: Peer-to-Peer Systems By Nicholas Harvey, Michael.

Slides:



Advertisements
Similar presentations
SkipNet: A Scalable Overlay Network with Practical Locality Properties Nick Harvey, Mike Jones, Stefan Saroiu, Marvin Theimer, Alec Wolman Microsoft Research.
Advertisements

Pastry Peter Druschel, Rice University Antony Rowstron, Microsoft Research UK Some slides are borrowed from the original presentation by the authors.
Peter Druschel, Rice University Antony Rowstron, Microsoft Research UK
Scalable Content-Addressable Network Lintao Liu
SKIP GRAPHS Slides adapted from the original slides by James Aspnes Gauri Shah.
Chord: A Scalable Peer-to- Peer Lookup Service for Internet Applications Ion StoicaRobert Morris David Liben-NowellDavid R. Karger M. Frans KaashoekFrank.
Chord: A scalable peer-to- peer lookup service for Internet applications Ion Stoica, Robert Morris, David Karger, M. Frans Kaashock, Hari Balakrishnan.
Chord: A Scalable Peer-to-Peer Lookup Service for Internet Applications Ion Stoica, Robert Morris, David Karger, M. Frans Kaashoek, Hari Balakrishnan Presented.
Robert Morris, M. Frans Kaashoek, David Karger, Hari Balakrishnan, Ion Stoica, David Liben-Nowell, Frank Dabek Chord: A scalable peer-to-peer look-up.
Chord: A Scalable Peer-to-peer Lookup Service for Internet Applications Ion StoicaRobert Morris David Liben-NowellDavid R. Karger M. Frans KaashoekFrank.
Pastry Peter Druschel, Rice University Antony Rowstron, Microsoft Research UK Some slides are borrowed from the original presentation by the authors.
1 PASTRY Partially borrowed from Gabi Kliot ’ s presentation.
Common approach 1. Define space: assign random ID (160-bit) to each node and key 2. Define a metric topology in this space,  that is, the space of keys.
1 Canon in G Major: Designing DHTs with Hierarchical Structure Prasanna Ganesan (Stanford University) Krishna Gummadi (U. of Washington) Hector Garcia-Molina.
P2P Network Structured Networks (III) Distributed Hash Tables Pedro García López Universitat Rovira I Virgili
Peer to Peer File Sharing Huseyin Ozgur TAN. What is Peer-to-Peer?  Every node is designed to(but may not by user choice) provide some service that helps.
Pastry: Scalable, decentralized object location and routing for large-scale peer-to-peer systems Antony Rowstron and Peter Druschel Proc. of the 18th IFIP/ACM.
Alex Shraer, Principles of Reliable Distributed Systems, Technion EE, Spring Principles of Reliable Distributed Systems Tutorial 4: SkipNet Spring.
SkipNet: A Scalable Overlay Network with Practical Locality Properties Nick Harvey, Mike Jones, Stefan Saroiu, Marvin Theimer, Alec Wolman Presented by.
Looking Up Data in P2P Systems Hari Balakrishnan M.Frans Kaashoek David Karger Robert Morris Ion Stoica.
SkipNet Christian Schmidt-Madsen, Peter Tiedemann,
Spring 2003CS 4611 Peer-to-Peer Networks Outline Survey Self-organizing overlay network File system on top of P2P network Contributions from Peter Druschel.
SkipNet: A Scalable Overlay Network with Practical Locality Properties Nick Harvey, Mike Jones, Stefan Saroiu, Marvin Theimer, Alec Wolman Microsoft Research.
Distributed Lookup Systems
University of Oregon Slides from Gotz and Wehrle + Chord paper
Idit Keidar, Principles of Reliable Distributed Systems, Technion EE, Spring Principles of Reliable Distributed Systems Lecture 13: SkipNet Spring.
1 CS 194: Distributed Systems Distributed Hash Tables Scott Shenker and Ion Stoica Computer Science Division Department of Electrical Engineering and Computer.
Chord: A Scalable Peer-to-peer Lookup Protocol for Internet Applications 吳俊興 國立高雄大學 資訊工程學系 Spring 2006 EEF582 – Internet Applications and Services 網路應用與服務.
Peer To Peer Distributed Systems Pete Keleher. Why Distributed Systems? l Aggregate resources! –memory –disk –CPU cycles l Proximity to physical stuff.
Or, Providing Scalable, Decentralized Location and Routing Network Services Tapestry: Fault-tolerant Wide-area Application Infrastructure Motivation and.
An Evaluation of Scalable Application-level Multicast Using Peer-to-peer Overlays Miguel Castro, Michael B. Jones, Anne-Marie Kermarrec, Antony Rowstron,
P2P Course, Structured systems 1 Skip Net (9/11/05)
Idit Keidar, Principles of Reliable Distributed Systems, Technion EE, Spring Principles of Reliable Distributed Systems Tutorial 3: SkipNet Spring.
1 Peer-to-Peer Networks Outline Survey Self-organizing overlay network File system on top of P2P network Contributions from Peter Druschel.
File Sharing : Hash/Lookup Yossi Shasho (HW in last slide) Based on Chord: A Scalable Peer-to-peer Lookup Service for Internet ApplicationsChord: A Scalable.
1CS 6401 Peer-to-Peer Networks Outline Overview Gnutella Structured Overlays BitTorrent.
Mobile Ad-hoc Pastry (MADPastry) Niloy Ganguly. Problem of normal DHT in MANET No co-relation between overlay logical hop and physical hop – Low bandwidth,
INTRODUCTION TO PEER TO PEER NETWORKS Z.M. Joseph CSE 6392 – DB Exploration Spring 2006 CSE, UT Arlington.
Roger ZimmermannCOMPSAC 2004, September 30 Spatial Data Query Support in Peer-to-Peer Systems Roger Zimmermann, Wei-Shinn Ku, and Haojun Wang Computer.
Other Structured P2P Systems CAN, BATON Lecture 4 1.
Tapestry GTK Devaroy (07CS1012) Kintali Bala Kishan (07CS1024) G Rahul (07CS3009)
1 PASTRY. 2 Pastry paper “ Pastry: Scalable, decentralized object location and routing for large- scale peer-to-peer systems ” by Antony Rowstron (Microsoft.
Chord: A Scalable Peer-to-peer Lookup Protocol for Internet Applications Xiaozhou Li COS 461: Computer Networks (precept 04/06/12) Princeton University.
A Scalable Content-Addressable Network (CAN) Seminar “Peer-to-peer Information Systems” Speaker Vladimir Eske Advisor Dr. Ralf Schenkel November 2003.
An IP Address Based Caching Scheme for Peer-to-Peer Networks Ronaldo Alves Ferreira Joint work with Ananth Grama and Suresh Jagannathan Department of Computer.
Chord: A Scalable Peer-to-peer Lookup Service for Internet Applications.
SIGCOMM 2001 Lecture slides by Dr. Yingwu Zhu Chord: A Scalable Peer-to-peer Lookup Service for Internet Applications.
Peer to Peer A Survey and comparison of peer-to-peer overlay network schemes And so on… Chulhyun Park
DHT-based unicast for mobile ad hoc networks Thomas Zahn, Jochen Schiller Institute of Computer Science Freie Universitat Berlin 報告 : 羅世豪.
P2P Group Meeting (ICS/FORTH) Monday, 28 March, 2005 A Scalable Content-Addressable Network Sylvia Ratnasamy, Paul Francis, Mark Handley, Richard Karp,
1 Distributed Hash Table CS780-3 Lecture Notes In courtesy of Heng Yin.
Chord Fay Chang, Jeffrey Dean, Sanjay Ghemawat, Wilson C. Hsieh, Deborah A. Wallach, Mike Burrows, Tushar Chandra, Andrew Fikes, Robert E. Gruber Google,
Idit Keidar, Principles of Reliable Distributed Systems, Technion EE, Spring Principles of Reliable Distributed Systems Lecture 2: Distributed Hash.
Plethora: Infrastructure and System Design. Introduction Peer-to-Peer (P2P) networks: –Self-organizing distributed systems –Nodes receive and provide.
BATON A Balanced Tree Structure for Peer-to-Peer Networks H. V. Jagadish, Beng Chin Ooi, Quang Hieu Vu.
LOOKING UP DATA IN P2P SYSTEMS Hari Balakrishnan M. Frans Kaashoek David Karger Robert Morris Ion Stoica MIT LCS.
PeerNet: Pushing Peer-to-Peer Down the Stack Jakob Eriksson, Michalis Faloutsos, Srikanth Krishnamurthy University of California, Riverside.
P2P Search COP6731 Advanced Database Systems. P2P Computing  Powerful personal computer Share computing resources P2P Computing  Advantages: Shared.
Large Scale Sharing Marco F. Duarte COMP 520: Distributed Systems September 19, 2004.
Plethora: A Locality Enhancing Peer-to-Peer Network Ronaldo Alves Ferreira Advisor: Ananth Grama Co-advisor: Suresh Jagannathan Department of Computer.
CS694 - DHT1 Distributed Hash Table Systems Hui Zhang University of Southern California.
Fabián E. Bustamante, Fall 2005 A brief introduction to Pastry Based on: A. Rowstron and P. Druschel, Pastry: Scalable, decentralized object location and.
Chord: A Scalable Peer-to-Peer Lookup Service for Internet Applications * CS587x Lecture Department of Computer Science Iowa State University *I. Stoica,
Chapter 29 Peer-to-Peer Paradigm Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Ion Stoica, Robert Morris, David Liben-Nowell, David R. Karger, M
Pastry Scalable, decentralized object locations and routing for large p2p systems.
Accessing nearby copies of replicated objects
SKIP GRAPHS James Aspnes Gauri Shah SODA 2003.
DHT Routing Geometries and Chord
P2P: Distributed Hash Tables
Presentation transcript:

SkipNet: A Scaleable Overlay Network With Practical Locality Properties Presented by Rachel Rubin CS294-4: Peer-to-Peer Systems By Nicholas Harvey, Michael Jones, Stephan Saroiu, Marvin Theimer and Alec Wolman

P2P Systems 2003©2003 Rachel Rubin/UC BerkeleySkipNet:2 Philosophy of SkipNet General purpose, scalable, fault tolerant overlay that allows for explicit control over content availability and placement Preserve useful content and path locality Enable load balancing over subset of nodes Provide resiliency against common internet failures

P2P Systems 2003©2003 Rachel Rubin/UC BerkeleySkipNet:3 Added Functionality SkipNet adds content locality –Explicitly place data on specific overlay nodes or across nodes within an organization Adds path locality –Guarantee that message traffic is routed between two overlay nodes within the same organization stays within it –Important for availability and security This provides advantages for availability, performance, manageability and security Provides node and data management

P2P Systems 2003©2003 Rachel Rubin/UC BerkeleySkipNet:4 Why not a DHT? Controlling Data Location is not the goal of a DHT DHT’s provide load balancing at the price of where data is stored –May be stored far away –May be stored out of the domain Destroy Locality Discard useful application-specific information But what are the benefits of a DHT?

P2P Systems 2003©2003 Rachel Rubin/UC BerkeleySkipNet:5 Structure of SkipNet: Perfect Skip Lists Dictionary-like structure stored in memory Sorted linked list with pointers Height of the i’th node is the exponent of the largest power- of-two that divides i The pointers have length of 2 h Searches in O(log N) Perfect Skip List

P2P Systems 2003©2003 Rachel Rubin/UC BerkeleySkipNet:6 Structure of SkipNet: Probabilistic Skip List Each node chooses a height with a probability of choosing height h is 1/2 h Maintains O(log N) Probabilistic Skip List

P2P Systems 2003©2003 Rachel Rubin/UC BerkeleySkipNet:7 Structure of SkipNet: Perfect Lexicographic Address Space Maintain a sorted list of all data records as well as “skip” pointers Doubly-linked ring Each node stores2*log N pointers

P2P Systems 2003©2003 Rachel Rubin/UC BerkeleySkipNet:8 Structure of SkipNet: Lexicographic Address Space (2) The pointers maintained at each level if a nodes routing table are “rings” Each level skips over 2 h nodes Routing possible in O(log N) Ring membership determined by their unique random ID number – probabilistic optimization Duplicate pointer elimination from the rou\ting table improves performance by around 20%

P2P Systems 2003©2003 Rachel Rubin/UC BerkeleySkipNet:9 Numeric Space vs. Lexicographic Space Node names and content identifier strings are mapped into the Lexicographic space –Distributed generalization of Skip Lists –Support content placement and path localities Hashes of node names and content identifiers are mapped into the numeric space –Supports DHT functionality –Routing between overlay nodes –Allows the functionality of Chord

P2P Systems 2003©2003 Rachel Rubin/UC BerkeleySkipNet:10 Structure of SkipNet: Lexicographic Searching Follow the pointers that route closest to the intended destination Route along the highest-level pointer that doesn’t point past the destination Terminate when the message arrives at the node closest to the lexicographic name

P2P Systems 2003©2003 Rachel Rubin/UC BerkeleySkipNet:11 Structure of SkipNet: Node Join Find the top-level ring that corresponds to the random ID by searching through rings Join the top-level ring and the the next lower ring, etc. until the zero-level ring –Nodes do not acknowledge the newcomer until this is complete

P2P Systems 2003©2003 Rachel Rubin/UC BerkeleySkipNet:12 Structure of SkipNet: Node Departure Can route correctly as long as the bottom level ring is maintained Repair upper-level rings lazily Each node maintains a leaf-set that points to additional nodes along the bottom ring

P2P Systems 2003©2003 Rachel Rubin/UC BerkeleySkipNet:13 Useful Properties: Locality Incorporating a peer’s address into a content name guarantees the content will be hosted there –Naming is not arbitrary Routing locality can be guaranteed if you use naming prefixes

P2P Systems 2003©2003 Rachel Rubin/UC BerkeleySkipNet:14 Useful Properties: Constrained Load Balancing Dividing a data object’s name into two parts –Specifies the set of nodes over which DHT leaf balancing should be performed –Input to the DHT hash function Searches for the name prefix in lexicographic space Switches to numeric space to search for the hash of the name suffix Limitations –Can be performed over any naming subtree, not over an arbitrary subset of the nodes –Domain of load-balancing is encoded in the name, so transparent remapping is impossible

P2P Systems 2003©2003 Rachel Rubin/UC BerkeleySkipNet:15 Useful Properties: Fault Tolerance Generally node failures in overlay systems are not independent –Nodes belonging to the same organization tend to fail together Independent failures –Maintain level zero –Lazy stabilization Organization Boundaries –Since you preserve locality, this results in partitions instead of scattered link failures –Partitions remerged via the leaf sets

P2P Systems 2003©2003 Rachel Rubin/UC BerkeleySkipNet:16 Useful Properties: Range Queries Inherits the functionality and flexibility in supporting efficient range queries from skip lists Keys are stored in lexicographic order –Documents sharing common prefixes are stored over contiguous ring segments Range query answering is routing along a ring segment

P2P Systems 2003©2003 Rachel Rubin/UC BerkeleySkipNet:17 Results: Methodology Measured –Relative Delay penalty –Physical Network Hops –Number of failed lookups Uniform, clustered and Zipf-clustered

P2P Systems 2003©2003 Rachel Rubin/UC BerkeleySkipNet:18 Results: Basic Routing Costs ChordBasic SkipNet Full SkipNet Pastry Unique Routing Entries Relative Delay Penalty vs. Network Size

P2P Systems 2003©2003 Rachel Rubin/UC BerkeleySkipNet:19 Results: Locality of Placement Absolute lookup request latency vs. Access Locality

P2P Systems 2003©2003 Rachel Rubin/UC BerkeleySkipNet:20 Results: Fault Tolerance Failed Lookup Requests vs. Data Access Locality

P2P Systems 2003©2003 Rachel Rubin/UC BerkeleySkipNet:21 Results: CLB RDP of CLB data vs. Network Size

P2P Systems 2003©2003 Rachel Rubin/UC BerkeleySkipNet:22 Additional Optimizations: Efficient Routing Proximity Table –Entry points to a node chosen from the ring segment whose endpoints are defined by two consecutive basic routing table entries Search in this table except when violates the CLB search constraints

P2P Systems 2003©2003 Rachel Rubin/UC BerkeleySkipNet:23 Additional Optimizations: Virtual Nodes Many virtual nodes on a physical node Routing tables can be shared

P2P Systems 2003©2003 Rachel Rubin/UC BerkeleySkipNet:24 Design Alternatives Virtualize the overlay nodes per data object Two-part naming scheme –Virtual node name –Node-relative name Path locality added to the DHT –Not guaranteed

P2P Systems 2003©2003 Rachel Rubin/UC BerkeleySkipNet:25 Discussion Questions What does locality buy? What are the disadvantages to SkipNet? How does this differ from Chord and Pastry?