X Non-Transitive Connectivity and DHTs Mike Freedman Karthik Lakshminarayanan Sean Rhea Ion Stoica WORLDS 2005.

Slides:



Advertisements
Similar presentations
Ion Stoica, Robert Morris, David Karger, M. Frans Kaashoek, Hari Balakrishnan MIT and Berkeley presented by Daniel Figueiredo Chord: A Scalable Peer-to-peer.
Advertisements

Peer to Peer and Distributed Hash Tables
Scalable Content-Addressable Network Lintao Liu
Kademlia: A Peer-to-peer Information System Based on the XOR Metric.
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 Peer-to-Peer Lookup Service CHORD: A Peer-to-Peer Lookup Service Ion StoicaRobert Morris David R. Karger M. Frans Kaashoek Hari Balakrishnan Presented.
Ion Stoica, Robert Morris, David Liben-Nowell, David R. Karger, M
Chord: A scalable peer-to- peer lookup service for Internet applications Ion Stoica, Robert Morris, David Karger, M. Frans Kaashock, Hari Balakrishnan.
Xiaowei Yang CompSci 356: Computer Network Architectures Lecture 22: Overlay Networks Xiaowei Yang
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.
Small-world Overlay P2P Network
1 Towards a Common API for Structured Peer-to-Peer Overlays Frank Dabek, Ben Zhao, Peter Druschel, John Kubiatowicz, Ion Stoica Presented for Cs294-4 by.
Scribe: A Large-Scale and Decentralized Application-Level Multicast Infrastructure Miguel Castro, Peter Druschel, Anne-Marie Kermarrec, and Antony L. T.
Applications over P2P Structured Overlays Antonino Virgillito.
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.
Improving Lookup Performance over a Widely-Deployed DHT Daniel Stutzbach Reza Rejaie The ION P2P Project University of.
Topics in Reliable Distributed Systems Lecture 2, Fall Dr. Idit Keidar.
Introduction to Peer-to-Peer (P2P) Systems Gabi Kliot - Computer Science Department, Technion Concurrent and Distributed Computing Course 28/06/2006 The.
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.
Chord: A Scalable Peer-to-peer Lookup Service for Internet Applications Ion Stoica, Robert Morris, David Karger, M. Frans Kaashoek and Hari alakrishnan.
Fixing the Embarrassing Slowness of OpenDHT on PlanetLab Sean Rhea, Byung-Gon Chun, John Kubiatowicz, and Scott Shenker UC Berkeley (and now MIT) December.
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.
Data Structures Hash Table (aka Dictionary) i206 Fall 2010 John Chuang Some slides adapted from Marti Hearst, Brian Hayes, Andreas Veneris, Glenn Brookshear,
Wide-area cooperative storage with CFS
Peer-to-Peer Networks Slides largely adopted from Ion Stoica’s lecture at UCB.
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.
Lecture 10 Naming services for flat namespaces. EECE 411: Design of Distributed Software Applications Logistics / reminders Project Send Samer and me.
Storage management and caching in PAST PRESENTED BY BASKAR RETHINASABAPATHI 1.
Designing a DHT for low latency and high throughput Robert Vollmann P2P Information Systems.
PIC: Practical Internet Coordinates for Distance Estimation Manuel Costa joint work with Miguel Castro, Ant Rowstron, Peter Key Microsoft Research Cambridge.
Chord & CFS Presenter: Gang ZhouNov. 11th, University of Virginia.
The Impact of DHT Routing Geometry on Resilience and Proximity K. Gummadi, R. Gummadi..,S.Gribble, S. Ratnasamy, S. Shenker, I. Stoica.
1 Reading Report 5 Yin Chen 2 Mar 2004 Reference: Chord: A Scalable Peer-To-Peer Lookup Service for Internet Applications, Ion Stoica, Robert Morris, david.
Chord: A Scalable Peer-to-peer Lookup Protocol for Internet Applications Xiaozhou Li COS 461: Computer Networks (precept 04/06/12) Princeton University.
1 Distributed Hash Tables (DHTs) Lars Jørgen Lillehovde Jo Grimstad Bang Distributed Hash Tables (DHTs)
Hongil Kim E. Chan-Tin, P. Wang, J. Tyra, T. Malchow, D. Foo Kune, N. Hopper, Y. Kim, "Attacking the Kad Network - Real World Evaluation and High.
Ion Stoica, Robert Morris, David Karger, M. Frans Kaashoek, Hari Balakrishnan MIT and Berkeley presented by Daniel Figueiredo Chord: A Scalable Peer-to-peer.
Presentation 1 By: Hitesh Chheda 2/2/2010. Ion Stoica, Robert Morris, David Karger, M. Frans Kaashoek, Hari Balakrishnan MIT Laboratory for Computer Science.
Chord: A Scalable Peer-to-peer Lookup Service for Internet Applications.
Chord: A Scalable Peer-to-peer Lookup Service for Internet Applications Ion Stoica, Robert Morris, David Karger, M. Frans Kaashoek, Hari Balakrishnan Presented.
National Institute of Advanced Industrial Science and Technology Query Processing for Distributed RDF Databases Using a Three-dimensional Hash Index Akiyoshi.
Scalable Content- Addressable Networks Prepared by Kuhan Paramsothy March 5, 2007.
Paper Survey of DHT Distributed Hash Table. Usages Directory service  Very little amount of information, such as URI, metadata, … Storage  Data, such.
Peer to Peer A Survey and comparison of peer-to-peer overlay network schemes And so on… Chulhyun Park
1 Secure Peer-to-Peer File Sharing Frans Kaashoek, David Karger, Robert Morris, Ion Stoica, Hari Balakrishnan MIT Laboratory.
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.
1. Efficient Peer-to-Peer Lookup Based on a Distributed Trie 2. Complex Queries in DHT-based Peer-to-Peer Networks Lintao Liu 5/21/2002.
Kademlia: A Peer-to-peer Information System Based on the XOR Metric
CSE 486/586, Spring 2014 CSE 486/586 Distributed Systems Distributed Hash Tables Steve Ko Computer Sciences and Engineering University at Buffalo.
LOOKING UP DATA IN P2P SYSTEMS Hari Balakrishnan M. Frans Kaashoek David Karger Robert Morris Ion Stoica MIT LCS.
Two Peer-to-Peer Networking Approaches Ken Calvert Net Seminar, 23 October 2001 Note: Many slides “borrowed” from S. Ratnasamy’s Qualifying Exam talk.
Nick McKeown CS244 Lecture 17 Chord: A Scalable Peer-to-peer Lookup Service for Internet Applications [Stoica et al 2001]
CS694 - DHT1 Distributed Hash Table Systems Hui Zhang University of Southern California.
The Cost of Inconsistency in Chord Shelley Zhuang, Ion Stoica, Randy Katz OASIS/i3 Retreat, January 2005.
CSE 486/586 Distributed Systems Distributed Hash Tables
CS 425 / ECE 428 Distributed Systems Fall 2015 Indranil Gupta (Indy) Peer-to-peer Systems All slides © IG.
Chord: A Scalable Peer-to-Peer Lookup Service for Internet Applications * CS587x Lecture Department of Computer Science Iowa State University *I. Stoica,
CS Spring 2010 CS 414 – Multimedia Systems Design Lecture 24 – Introduction to Peer-to-Peer (P2P) Systems Klara Nahrstedt (presented by Long Vu)
Distributed Hash Tables
DHT Routing Geometries and Chord
P2P Systems and Distributed Hash Tables
EECS 498 Introduction to Distributed Systems Fall 2017
Reading Report 11 Yin Chen 1 Apr 2004
P2P: Distributed Hash Tables
Kademlia: A Peer-to-peer Information System Based on the XOR Metric
Presentation transcript:

X Non-Transitive Connectivity and DHTs Mike Freedman Karthik Lakshminarayanan Sean Rhea Ion Stoica WORLDS 2005

X Distributed Hash Tables… System assigns keys to nodes All nodes agree on assignment Chord assigns keys as integers modulo Assigns keys via successor relationship Each node must know predecessor k R

X Distributed Hash Tables… Used to store and retrieve (key, value) pairs Any node can discover key’s successor, yet without full knowledge of network Implies some form of routing k R

X Distributed Hash Tables… All have implicit assumption: full connectivity

X Distributed Hash Tables… All have implicit assumption: full connectivity Non-transitive connectivity (NTC) not uncommon B ↔ C, C ↔ A, A ↔ B A thinks C is its successor! k ABC X

X Does non-transitivity exist? Gerding/Stribling PlanetLab study 9% of all node triples exhibit NTC Attributed high extent to Internet-2 Yet NTC is also transient One 3 hour PlanetLab all-pair-pings trace 2.9% have persistent NTC 2.3% have intermittent NTC 1.3% fail only for a single 15-minute snapshot Level3 ↔ Cogent, but Level3 ↔ X ↔ Cogent NTC motivates RON, Detour, and SOSR!

X Our contributions We have built and run Bamboo (OpenDHT), Chord (i3), Kademlia (Coral) for > 1 year Vanilla DHT algorithms break under NTC Identify four main algorithmic problems and present our solutions

X Our goals Short-term Inform other developers about NTC solutions Important: DHTs are being widely deployed in Overnet, Morpheus, and BitTorrent Long-term Encourage new designs to directly handle NTC (This topic is far from solved)

X DHTs 101: Routing k R B A S Iterative Key space defines an identifier distance Routing ideally proceeds by halving distance to destination per overlay hop

X DHTs 101: Routing k R B A S k R B A S Iterative Recursive

X DHTs 101: Routing tables k R successors / leaf set: ensure correctness fingers / routing table: efficient routing O ( log (n) ) hops, generally

X Problems we identify Invisible nodes Routing loops Broken return paths Inconsistent roots

X NTC problem fundamental? S → R A A → R B B → R R RSCBA Traditional routing

X NTC problem fundamental? DHTs implement greedy routing for scalability Sender might not use path, even though exists: finds local minima when id-distance routing S → R A A → R B B → R R RSCBA Traditional routing S → R A A → R C C → R X Greedy routing

X Problems we identify Invisible nodes Routing loops Broken return paths Inconsistent roots (First discuss how problems apply to iterative routing, then consider recursive routing.)

X Iterative routing: Invisible nodes R A S C X B Invisible nodes cause lookup to halt k

X Iterative routing: Invisible nodes R A S C X B Invisible nodes cause lookup to halt Enable lookup to continue Tighter timeouts via network coordinates Lookup RPCs in parallel Unreachable node cache X D k

X Routing table pollution R A S C B Many proposals for maintaining routing tables E.g., replace nodes with larger RTT Must first prevent routing table pollution Only add new nodes upon contacting directly Do not immediately remove nodes from hearsay k

X Inconsistent roots R S Nodes do not agree where key is assigned: inconsistent views of root Can be caused by membership changes Also due to non-transitive connectivity May persist indefinitely R’ ? S’ X k

X Inconsistent roots No solution when network partitions If non-transitivity is limited: Consensus among leaf set? [ Etna, Rosebud] Expensive in messages and bandwidth Link-state routing among leaf set? [ Pastry 1.4.1] Can use application-level solutions!

X Inconsistent roots R Root replicates (key,value) among leaf set Leafs periodically synchronize Get gathers results from multiple leafs [OpenDHT, DHash] Not applicable when require fast update (i3) R’ M N X S k

X Recursive routing Invisible nodes Must also prevent routing table pollution Easier to achieve accurate timeouts Harder to perform concurrent RPCs Inconsistent Roots Similar solutions (Routing Loops) One new problem…

X Broken return paths Direct path back from R to S fails Source-route reverse path Use single intermediate hop RON, Detour, SOSR… R S X T k

X Summary Non-transitive connectivity exists DHTs must deal with it Discovered problems the “hard way” OpenDHT / Bamboo, i3 / Chord, Coral / Kademlia Presented our “from the trenches” fixes NTC should be considered during design phase

X Thanks… W atch O ur R eal, L arge D istributed S ystems… coralcdn.org opendht.org i3.cs.berkeley.edu