The Impact of DHT Routing Geometry on Resilience and Proximity Krishna Gummadi, Ramakrishna Gummadi, Sylvia Ratnasamy, Steve Gribble, Scott Shenker, Ion.

Slides:



Advertisements
Similar presentations
Distributed Hash Tables: An Overview
Advertisements

Ion Stoica, Robert Morris, David Karger, M. Frans Kaashoek, Hari Balakrishnan MIT and Berkeley presented by Daniel Figueiredo Chord: A Scalable Peer-to-peer.
Peer to Peer and Distributed Hash Tables
Pastry Peter Druschel, Rice University Antony Rowstron, Microsoft Research UK Some slides are borrowed from the original presentation by the authors.
Kademlia: A Peer-to-peer Information System Based on the XOR Metric.
1 Greedy Forwarding in Dynamic Scale-Free Networks Embedded in Hyperbolic Metric Spaces Dmitri Krioukov CAIDA/UCSD Joint work with F. Papadopoulos, M.
Topologically-Aware Overlay Construction and Server Selection Sylvia Ratnasamy, Mark Handly, Richard Karp and Scott Shenker Presented by Shreeram Sahasrabudhe.
Kademlia: A Peer-to-peer Information System Based on the XOR Metric Petar Mayamounkov David Mazières A few slides are taken from the authors’ original.
P2P Systems and Distributed Hash Tables Section COS 461: Computer Networks Spring 2011 Mike Freedman
Chord: A Scalable Peer-to-peer Lookup Service for Internet Applications Robert Morris Ion Stoica, David Karger, M. Frans Kaashoek, Hari Balakrishnan MIT.
Geographic Routing Without Location Information A. Rao, S. Ratnasamy, C. Papadimitriou, S. Shenker, I. Stoica Paper and Slides by Presented by Ryan Carr.
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.
Presented by Elisavet Kozyri. A distributed application architecture that partitions tasks or work loads between peers Main actions: Find the owner of.
1 Canon in G Major: Designing DHTs with Hierarchical Structure Prasanna Ganesan (Stanford University) Krishna Gummadi (U. of Washington) Hector Garcia-Molina.
The Impact of DHT Routing Geometry on Resilience and Proximity New DHTs constantly proposed –CAN, Chord, Pastry, Tapestry, Plaxton, Viceroy, Kademlia,
Improving Lookup Performance over a Widely-Deployed DHT Daniel Stutzbach Reza Rejaie The ION P2P Project University of.
Looking Up Data in P2P Systems Hari Balakrishnan M.Frans Kaashoek David Karger Robert Morris Ion Stoica.
P2P: Advanced Topics Filesystems over DHTs and P2P research Vyas Sekar.
Idit Keidar, Principles of Reliable Distributed Systems, Technion EE, Spring Principles of Reliable Distributed Systems Lecture 2: Peer-to-Peer.
The Impact of DHT Routing Geometry on Resilience and Proximity Krishna Gummadi, Ramakrishna Gummadi, Sylvia Ratnasamy, Steve Gribble, Scott Shenker, Ion.
1 CS 268: Lecture 21 DHT Geometry and DHT Applications.
1 Canon in G Major: Designing DHTs with Hierarchical Structure Prasanna Ganesan (Stanford University) Krishna Gummadi (U. of Washington) Hector Garcia-Molina.
SkipNet: A Scaleable Overlay Network With Practical Locality Properties Presented by Rachel Rubin CS294-4: Peer-to-Peer Systems By Nicholas Harvey, Michael.
Topics in Reliable Distributed Systems Fall Dr. Idit Keidar.
1 CS 194: Distributed Systems Distributed Hash Tables Scott Shenker and Ion Stoica Computer Science Division Department of Electrical Engineering and Computer.
Decentralized Location Services CS273 Guest Lecture April 24, 2001 Ben Y. Zhao.
Or, Providing Scalable, Decentralized Location and Routing Network Services Tapestry: Fault-tolerant Wide-area Application Infrastructure Motivation and.
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.
Topology-Aware Overlay Networks By Huseyin Ozgur TAN.
Internet Indirection Infrastructure (i3) Ion Stoica, Daniel Adkins, Shelley Zhuang, Scott Shenker, Sonesh Surana UC Berkeley SIGCOMM 2002.
Distributed Hash Table Systems Hui Zhang University of Southern California.
1 PASTRY. 2 Pastry paper “ Pastry: Scalable, decentralized object location and routing for large- scale peer-to-peer systems ” by Antony Rowstron (Microsoft.
CS An Overlay Routing Scheme For Moving Large Files Su Zhang Kai Xu.
DHTs and Peer-to-Peer Systems Supplemental Slides Aditya Akella 03/21/2007.
Impact of Neighbor Selection on Performance and Resilience of Structured P2P Networks IPTPS Feb. 25, 2005 Byung-Gon Chun, Ben Y. Zhao, and John Kubiatowicz.
The Impact of DHT Routing Geometry on Resilience and Proximity K. Gummadi, R. Gummadi..,S.Gribble, S. Ratnasamy, S. Shenker, I. Stoica.
Optimisation des DHT à partir des propriétés physiques, logiques et sociologiques des clients Pierre Fraigniaud CNRS LRI, Univ. Paris-Sud
Canon in G Major: Designing DHTs with Hierarchical Structure Prasanna Ganesan(Stanford University) Krishna Gummadi(University of Washington) Hector Garcia-Molina(Stanford.
Canon in G Major: Designing DHTs with Hierarchical Structure Prasanna Ganesan, Krishna Gummadi, Hector Garcia-Molina ICDCS2004 報告者 : 陳奕鈞.
Vincent Matossian September 21st 2001 ECE 579 An Overview of Decentralized Discovery mechanisms.
Ion Stoica, Robert Morris, David Karger, M. Frans Kaashoek, Hari Balakrishnan MIT and Berkeley presented by Daniel Figueiredo Chord: A Scalable Peer-to-peer.
CS 268: Structured P2P Networks: Pastry and Tapestry Sean Rhea April 29, 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.
Distributed Hash Tables CPE 401 / 601 Computer Network Systems Modified from Ashwin Bharambe and Robert Morris.
Paper Survey of DHT Distributed Hash Table. Usages Directory service  Very little amount of information, such as URI, metadata, … Storage  Data, such.
1 Distributed Hash Table CS780-3 Lecture Notes In courtesy of Heng Yin.
Idit Keidar, Principles of Reliable Distributed Systems, Technion EE, Spring Principles of Reliable Distributed Systems Lecture 2: Distributed Hash.
A Comparative Study of the DNS Design with DHT-Based Alternatives 95/08/31 Chen Chih-Ming.
Peer to Peer Network Design Discovery and Routing algorithms
CS 268: Computer Networking
Topologically-Aware Overlay Construction and Sever Selection Sylvia Ratnasamy, Mark Handley, Richard Karp, Scott Shenker.
LOOKING UP DATA IN P2P SYSTEMS Hari Balakrishnan M. Frans Kaashoek David Karger Robert Morris Ion Stoica MIT LCS.
15-744: Computer Networking L-16 P2P/DHT. 2 Overview P2P Lookup Overview Centralized/Flooded Lookups Bittorrent Routed Lookups – Chord Comparison of DHTs.
Plethora: A Locality Enhancing Peer-to-Peer Network Ronaldo Alves Ferreira Advisor: Ananth Grama Co-advisor: Suresh Jagannathan Department of Computer.
Data Structure of Chord  For each peer -successor link on the ring -predecessor link on the ring -for all i ∈ {0,..,m-1} Finger[i] := the peer following.
CS694 - DHT1 Distributed Hash Table Systems Hui Zhang University of Southern California.
Peer-to-Peer Protocol (P2PP) Salman Baset, Henning Schulzrinne Columbia University.
Simple Load Balancing for Distributed Hash tables
Internet Indirection Infrastructure (i3)
Distributed Hash Tables
Scott Shenker and Ion Stoica April 11, 2005
Impact of Neighbor Selection on Performance and Resilience of Structured P2P Networks Sushma Maramreddy.
COS 461: Computer Networks
Distributed Hash Tables
DHT Routing Geometries and Chord
15-744: Computer Networking
COS 461: Computer Networks
Exploiting Routing Redundancy via Structured Peer-to-Peer Overlays
Consistent Hashing and Distributed Hash Table
P2P: Distributed Hash Tables
Presentation transcript:

The Impact of DHT Routing Geometry on Resilience and Proximity Krishna Gummadi, Ramakrishna Gummadi, Sylvia Ratnasamy, Steve Gribble, Scott Shenker, Ion Stoica Proceedings of the ACM SIGCOMM 2003

Motivation New DHTs constantly proposed –CAN, Chord, Pastry, Tapestry, Plaxton, Viceroy, Kademlia, Skipnet, Symphony, Koorde, Apocrypha, Land, ORDI … Each is extensively analyzed but in isolation Each DHT has many algorithmic details making it difficult to compare Goals: a)Separate fundamental design choices from algorithmic details b)Understand their affect reliability and efficiency

Our approach: Component-based analysis Break DHT design into independent components Analyze impact of each component choice separately –compare with black-box analysis: benchmark each DHT implementation rankings of existing DHTs vs. hints on better designs Two types of components –Routing-level : neighbor & route selection –System-level : caching, replication, querying policy etc.

Outline Routing Geometry : A fundamental design choice Compare DHT Routing Geometries Geometry’s impact on Resilience Geometry’s impact on Proximity Discussion

Three aspects of a DHT design 1)Geometry: a graph structure that inspires a DHT design, with its exciting properties –Tree, Hypercube, Ring, Butterfly, Debruijn 2)Distance function: captures a geometric structure –d(id1, id2) for any two node identifiers 3)Algorithm: rules for selecting neighbors and routes using the distance function

Chord DHT has Ring Geometry

Chord Distance function captures Ring Nodes are points on a clock-wise Ring d(id1, id2) = length of clock-wise arc between ids = (id2 – id1) mod N d(100, 111) =

Chord Neighbor and Route selection Algorithms Neighbor selection: i th neighbor at 2 i distance Route selection: pick neighbor closest to destination d(000, 001) = 1 d(000, 010) = 2 d(000, 001) = 4 110

One Geometry, Many Algorithms Algorithm : exact rules for selecting neighbors, routes –Chord, CAN, PRR, Tapestry, Pastry etc. –inspired by geometric structures like Ring, Hyper-cube, Tree Geometry : an algorithm’s underlying structure –Distance function is the formal representation of Geometry –Chord, Symphony => Ring –many algorithms can have same geometry Why is Geometry important?

Insight: Geometry => Flexibility => Performance Geometry captures flexibility in selecting algorithms –Metrics like state (# of neighbors) and efficiency (avg. number of hops) do not capture this adequately. Flexibility is important for routing performance –Flexibility in selecting routes leads to shorter, reliable paths –Flexibility in selecting neighbors leads to shorter paths

Route selection flexibility allowed by Ring Geometry Chord algorithm picks neighbor closest to destination A different algorithm picks the best of alternate paths

Neighbor selection flexibility allowed by Ring Geometry Chord algorithm picks i th neighbor at 2 i distance A different algorithm picks i th neighbor from [2 i, 2 i+1 )

Outline Routing GeometryRouting Geometry Comparing flexibility of DHT Geometries Geometry’s impact on Resilience Geometry’s impact on Proximity Discussion

Geometries we compare GeometryAlgorithm RingChord, Symphony HypercubeCAN TreePlaxton Hybrid = Tree + Ring Tapestry, Pastry XOR d(id1, id2) = id1 XOR id2 Kademlia

Metrics for flexibilities FNS: Flexibility in Neighbor Selection = number of node choices for a neighbor FRS: Flexibility in Route Selection = avg. number of next-hop choices for all destinations Constraints for neighbors and routes –select neighbors to have paths of O(logN) –select routes so that each hop is closer to destination

Flexibility in neighbor selection (FNS) for Tree h = 2 h = 1 h = 3 logN neighbors in sub-trees of varying heights FNS = 2 i-1 for i th neighbor of a node

Flexibility in route selection (FRS) for Hypercube Routing to next hop fixes one bit FRS =Avg. (#bits destination differs in)=logN/ d(000, 011) = 2d(001, 011) = 1 d(010, 011) = 1 d(010, 011) = 3

Summary of our flexibility analysis FlexibilityOrdering of Geometries Neighbors (FNS) Hypercube << Tree, XOR, Ring, Hybrid (1) (2 i-1 ) Routes (FRS) Tree << XOR, Hybrid < Hypercube < Ring (1) (logN/2) (logN/2) (logN) How relevant is flexibility for DHT routing performance?

Outline Routing GeometryRouting Geometry Comparing flexibility of DHT GeometriesComparing flexibility of DHT Geometries Geometry’s impact on Resilience Geometry’s impact on Proximity Discussion

Analysis of Static Resilience Two aspects of robust routing Dynamic Recovery : how quickly routing state is recovered after failures Static Resilience : how well the network routes before recovery finishes –captures how quickly recovery algorithms need to work –depends on FRS Evaluation: Fail a fraction of nodes, without recovering any state Metric: % Paths Failed

Does flexibility affect Static Resilience? Tree << XOR ≈ Hybrid < Hypercube < Ring Flexibility in Route Selection matters for Static Resilience

Do sequential neighbors help?

Outline Routing GeometryRouting Geometry Comparing flexibility of DHT GeometriesComparing flexibility of DHT Geometries Geometry’s impact on ResilienceGeometry’s impact on Resilience Geometry’s impact on Proximity –Overlay Path Latency –Local Convergence (see paper) Discussion

Analysis of Overlay Path Latency Goal: Minimize end-to-end overlay path latency –not just the number of hops Both FNS and FRS can reduce latency –Tree has FNS, Hypercube has FRS, Ring & XOR have both Evaluation: Using Internet latency distributions (see paper)

Which is more effective, FNS or FRS? Plain << FRS << FNS ≈ FNS+FRS Neighbor Selection is much better than Route Selection

Does Geometry affect performance of FNS or FRS? No, performance of FNS/FRS is independent of Geometry A Geometry’s support for neighbor selection is crucial

Local Convergence Property that paths to a destination from two different (but in proximity) sources converge at a nearby node. Useful for multicast, caching/server selection. Evaulated by measuring the number of “exit points”. Turns outs local convergence is highly dependent on FNS but not on FRS. It is also independent of geometry.

Summary of results FRS matters for Static Resilience –Ring has the best resilience Both FNS and FRS reduce Overlay Path Latency But, FNS is far more important than FRS –Ring, Hybrid, Tree and XOR have high FNS

Limitations (future work) Not considered all Geometries Not considered other factors that might matter –algorithmic details, symmetry in routing table entries Not considered all performance metrics

Conclusions Routing Geometry is a fundamental design choice –Geometry determines flexibility –Flexibility improves resilience and proximity Ring has the greatest flexibility –great routing performance