Exploiting Route Redundancy via Structured Peer to Peer Overlays

Similar documents
Brocade: Landmark Routing on Peer to Peer Networks. Ling Huang, Ben Y. Zhao, Yitao Duan, Anthony Joseph, John Kubiatowicz

! Naive n-way unicast does not scale. ! IP multicast to the rescue. ! Extends IP architecture for efficient multi-point delivery. !

Motivation. The Impact of DHT Routing Geometry on Resilience and Proximity. Different components of analysis. Approach:Component-based analysis

The Impact of DHT Routing Geometry on Resilience and Proximity. Acknowledgement. Motivation

UC Berkeley UC Berkeley Previously Published Works

Challenges in the Wide-area. Tapestry: Decentralized Routing and Location. Key: Location and Routing. Driving Applications

Challenges in the Wide-area. Tapestry: Decentralized Routing and Location. Global Computation Model. Cluster-based Applications

R/Kademlia: Recursive and Topology-aware Overlay Routing

Handling Churn in a DHT

Scalability In Peer-to-Peer Systems. Presented by Stavros Nikolaou

Comparing the performance of distributed hash tables under churn

Impact of Neighbor Selection on Performance and Resilience of Structured P2P Networks

A Common API for Structured Peer-to- Peer Overlays. Frank Dabek, Ben Y. Zhao, Peter Druschel, Ion Stoica

Lecture 6: Overlay Networks. CS 598: Advanced Internetworking Matthew Caesar February 15, 2011

Path Optimization in Stream-Based Overlay Networks

Data Replication under Latency Constraints Siu Kee Kate Ho

Brocade: Landmark Routing on Overlay Networks

Bayeux: An Architecture for Scalable and Fault Tolerant Wide area Data Dissemination

MULTI-DOMAIN VoIP PEERING USING OVERLAY NETWORK

P2P Network Structured Networks (IV) Distributed Hash Tables. Pedro García López Universitat Rovira I Virgili

Implications of Neighbor Selection on DHT Overlays

Early Measurements of a Cluster-based Architecture for P2P Systems

Towards Benchmarking of P2P Technologies from a SCADA Systems Protection Perspective

Survey of DHT Evaluation Methods

L3S Research Center, University of Hannover

Staggeringly Large File Systems. Presented by Haoyan Geng

Tapestry: A Resilient Global-scale Overlay for Service Deployment

Overlay Networks for Multimedia Contents Distribution

A Framework for Peer-To-Peer Lookup Services based on k-ary search

A Super-Peer Based Lookup in Structured Peer-to-Peer Systems

Effect of Links on DHT Routing Algorithms 1

Debunking some myths about structured and unstructured overlays

Decentralized Object Location and Routing: A New Networking Paradigm. Yanbin Zhao

P2P Network Structured Networks: Distributed Hash Tables. Pedro García López Universitat Rovira I Virgili

Coordinate-based Routing:

The Design and Implementation of a Next Generation Name Service for the Internet (CoDoNS) Presented By: Kamalakar Kambhatla

A Structured Overlay for Non-uniform Node Identifier Distribution Based on Flexible Routing Tables

Exploiting the Synergy between Peer-to-Peer and Mobile Ad Hoc Networks

Distributed Hash Table

Peer-to-peer computing research a fad?

Peer-to-Peer Networks Pastry & Tapestry 4th Week

LECT-05, S-1 FP2P, Javed I.

Understanding Chord Performance

Overlay and P2P Networks. Structured Networks and DHTs. Prof. Sasu Tarkoma

Internet Indirection Infrastructure (i3) Ion Stoica, Daniel Adkins, Shelley Zhuang, Scott Shenker, Sonesh Surana. UC Berkeley SIGCOMM 2002

Object Location Query

Rapid Mobility via Type Indirection

Goals. EECS 122: Introduction to Computer Networks Overlay Networks and P2P Networks. Solution. Overlay Networks: Motivations.

Searching for Shared Resources: DHT in General

Searching for Shared Resources: DHT in General

Security for Structured Peer-to-peer Overlay Networks. Acknowledgement. Outline. By Miguel Castro et al. OSDI 02 Presented by Shiping Chen in IT818

Decentralized Object Location In Dynamic Peer-to-Peer Distributed Systems

Athens University of Economics and Business. Dept. of Informatics

Interdomain Routing Design for MobilityFirst

Locality in Structured Peer-to-Peer Networks

Distributed Web Crawling over DHTs. Boon Thau Loo, Owen Cooper, Sailesh Krishnamurthy CS294-4

Should we build Gnutella on a structured overlay? We believe

Motivation and goal Design concepts and service model Architecture and implementation Performance, and so on...

Kademlia: A P2P Informa2on System Based on the XOR Metric

08 Distributed Hash Tables

Application Layer Multicast For Efficient Peer-to-Peer Applications

Overlay Networks. Behnam Momeni Computer Engineering Department Sharif University of Technology

Symphony. Symphony. Acknowledgement. DHTs: : The Big Picture. Spectrum of DHT Protocols. Distributed Hashing in a Small World

Kademlia: A peer-to peer information system based on XOR. based on XOR Metric,by P. Maymounkov and D. Mazieres

An Adaptive Content Distribution Protocol for Clustered Mobile Peer-to-Peer Networks

Lecture 6: Securing Distributed and Networked Systems. CS 598: Network Security Matthew Caesar March 12, 2013

A Bit-Window based Algorithm for Balanced and Efficient Object Placement and Lookup in Large-scale Object Based Storage Cluster

Overlay Networks in ScaleNet

Hybrid Overlay Structure Based on Random Walks

Virtual Multi-homing: On the Feasibility of Combining Overlay Routing with BGP Routing

EECS 122: Introduction to Computer Networks Overlay Networks and P2P Networks. Overlay Networks: Motivations

GIAN Course on Distributed Network Algorithms. Network Topologies and Local Routing

15-744: Computer Networking P2P/DHT

CIS 700/005 Networking Meets Databases

*Adapted from slides provided by Stefan Götz and Klaus Wehrle (University of Tübingen)

CTracker: a Distributed BitTorrent Tracker Based on Chimera

Overlay and P2P Networks. Structured Networks and DHTs. Prof. Sasu Tarkoma

Routing protocols in WSN

Structured Peer-to-Peer Networks

CompSci 356: Computer Network Architectures Lecture 21: Overlay Networks Chap 9.4. Xiaowei Yang

Interconnection Networks: Topology. Prof. Natalie Enright Jerger

An Adaptive Stabilization Framework for DHT

Overlay networks. To do. Overlay networks. P2P evolution DHTs in general, Chord and Kademlia. Turtles all the way down. q q q

Overlay Networks: Motivations. EECS 122: Introduction to Computer Networks Overlay Networks and P2P Networks. Motivations (cont d) Goals.

Performance Modelling of Peer-to-Peer Routing

INF5071 Performance in distributed systems: Distribution Part III

P2P Network Structured Networks: Distributed Hash Tables. Pedro García López Universitat Rovira I Virgili

P2P: Distributed Hash Tables

Memory Hierarchy. Reading. Sections 5.1, 5.2, 5.3, 5.4, 5.8 (some elements), 5.9 (2) Lecture notes from MKP, H. H. Lee and S.

DRing: A Layered Scheme for Range Queries over DHTs

Peer-to-Peer Systems. Chapter General Characteristics

Peer- Peer to -peer Systems

Badri Nath Rutgers University

Drafting Behind Akamai (Travelocity-Based Detouring)

Peer-to-peer systems and overlay networks

A Method for Designing Proximity-aware Routing Algorithms for Structured Overlays

Overlay and P2P Networks. Introduction and unstructured networks. Prof. Sasu Tarkoma

The Bootstrapping Service

PERFORMANCE ANALYSIS OF R/KADEMLIA, PASTRY AND BAMBOO USING RECURSIVE ROUTING IN MOBILE NETWORKS

Evaluating DHT-Based Service Placement for Stream-Based Overlays

Transcription:

Exploiting Route Redundancy ia Structured Peer to Peer Oerlays Ben Y. Zhao, Ling Huang, Jeremy Stribling, Anthony D. Joseph, and John D. Kubiatowicz Uniersity of California, Berkeley

Challenges Facing Network Applications Network connectiity is not reliable Disconnections frequent in the wide-area Internet IP-leel repair is slow Wide-area: BGP 3 mins Local-area: IS-IS 5 seconds Next generation network applications Mostly wide-area Streaming media, VoIP, B2B transactions Low tolerance of delay, jitter and faults Our work: transparent resilient routing infrastructure that adapts to faults in not seconds, but milliseconds

Talk Oeriew Motiation Why structured routing Structured Peer to Peer oerlays Mechanisms and policy Ealuation Summary

Routing in Mesh-like Networks Preious work has shown reasons for long conergence [Laboitz00, Laboitz01] MinRouteAder timer Necessary to aggregate updates from all neighbors Commonly set to 30 seconds Contributes to lower bound of BGP conergence time Internet becoming more mesh-like [Kaat99,laboitz99] Worsens BGP conergence behaior Question Can conergence be faster in context of structured routing?

Resilient Oerlay Networks (MIT) Fully connected mesh Allows each node full knowledge of network Fast, independent calculation of routes Nodes can construct any path, maximum flexibility Cost of flexibility Protocol needs to choose the right route/nodes Per node O(n) state Monitors n - 1 paths O(n 2 ) total path monitoring is expensie S D

Leeraging Structured Peer-to-Peer Oerlays Key based routing (IPTPS 03) Large sparse ID space N (160 bits: 0 2 160 ) Nodes in oerlay network hae nodeids N Gien some key k N, oerlay deterministically maps k to its root node (lie node in the network) route message to root (k) root(k) Distributed Hashtables (DHT) is interface on KBR Key is leeraging underlying routing mesh k 0 source

Proximity Neighbor Selection PNS = network aware oerlay construction Within routing constraints, choose neighbors closest in network distance (latency) Generally reduces # of IP hops Important for routing Reduce latency Reduce susceptibility to faults Less IP links = smaller chance of link/router failure Reduce oerall network bandwidth utilization We use Tapestry to demonstrate our design P2P protocol with PNS oerlay construction Topology-unaware P2P protocols will likely perform worse

System Architecture O V E R L A Y Internet Locate nearby oerlay proxy Establish oerlay path to destination host Oerlay traffic routes traffic resiliently

Traffic Tunneling Legacy Node A register Proxy P (B) B P (A) = A A, B are IP addresses register Proxy Legacy Node B P (B) = B get (hash(b)) P (B) put (hash(a), P (A)) put (hash(b), P (B)) Structured Peer to Peer Oerlay Store mapping from end host IP to its proxy s oerlay ID Similar to approach in Internet Indirection Infrastructure (I3)

Tradeoffs of Tunneling ia P2P Less neighbor paths to monitor per node: O(log(n)) Large reduction in probing bandwidth: O(n) O(log(n)) Increase probing frequency Faster fault detection with low bandwidth consumption Actiely maintain path redundancy Manageable for small # of paths Redirect traffic immediately when a failure is detected Eliminate on-the-fly calculation of new routes Restore redundancy when a path fails End result Fast fault detection + precomputed paths = increased responsieness to faults Cons Oerlay imposes routing stretch (more IP hops), generally < 2

Some Details Efficient fault detection Use soft-state to periodically probe log(n) neighbor paths Small number of routes reduced bandwidth Exponentially weighted moing aerage in link quality estimation Aoid route flapping due to short term loss artifacts Loss rate L n = (1 - α) L n-1 + α p p = instantaneous loss rate, α = hysteresis factor Maintaining backup paths Each hop has flexible routing constraint Create and store backup routes at node insertion Restore redundancy ia intelligent gossip after failures Simple policies to choose among redundant paths

First Reachable Link Selection (FRLS) Use estimated loss results to choose shortest usable path Sort next hop paths by latency Use shortest path with minimal quality > T Correlated failures Reduce with intelligent topology construction Key is to leerage redundancy aailable 2046 1111 2281 2530 2225 2299 2274 2286

Ealuation Metrics for ealuation How much routing resiliency can we exploit? How fast can we adapt to faults? What is the oerhead of routing around a failure? Proportional increase in end to end latency Proportional increase in end to end bandwidth used Experimental platforms Eent-based simulations on transit stub topologies Data collected oer different 5000-node topologies PlanetLab measurements Microbenchmarks on responsieness Bandwidth measurements from 200+ node oerlays Multiple irtual nodes run per physical machine

Exploiting Route Redundancy (Sim) % of All Pairs Reachable 1 0.9 0.8 0.7 0.6 0.5 0.4 0.3 0.2 0.1 0 Instantaneous IP Tapestry / FRLS 0 0.05 0.1 0.15 0.2 Proportion of IP Links Broken Simulation of Tapestry, 2 backup paths per routing entry Transit-stub topology shown, results from TIER and AS graphs similar

Responsieness to Faults (PlanetLab) 2500 Time to Switch Routes (ms) 2000 1500 1000 660 500 alpha=0.2 alpha=0.4 0 300 0 200 400 600 800 1000 1200 Link Probe Period (ms) Response time increases linearly with probe period Minimum link quality threshold T = 70%, 20 runs per data point

Link Probing Bandwidth (Planetlab) 7 Bandwidth Per Node (KB/s) 6 5 4 3 2 1 PR=300ms PR=600ms 0 1 10 100 1000 Size of Oerlay Medium sized routing oerlays incur low probing bandwidth Bandwidth increases logarithmically with oerlay size

Related Work Redirection oerlays Detour (IEEE Micro 99) Resilient Oerlay Networks (SOSP 01) Internet Indirection Infrastructure (SIGCOMM 02) Secure Oerlay Serices (SIGCOMM 02) Topology estimation techniques Adaptie probing (IPTPS 03) Peer-based shared estimation (Zhuang 03) Internet tomography (Chen 03) Routing underlay (SIGCOMM 03) Structured peer-to-peer oerlays Tapestry, Pastry, Chord, CAN, Kademlia, Skipnet, Viceroy, Symphony, Koorde, Bamboo, X-Ring

Conclusion Benefits of structure outweigh costs Structured routing lowers path maintenance costs Allows caching of backup paths for quick failoer Can no longer construct arbitrary paths Structured routing with low redundancy gets ery close to ideal in connectiity Incur low routing stretch Fast enough for highly interactie applications 300ms beacon period response time < 700ms On oerlay networks of 300 nodes, b/w cost is 7KB/s Future work Deploying a public routing and proxy serice on PlanetLab Examine impact of Network aware topology construction Loss sensitie probing techniques

Questions Related websites: Tapestry http://www.cs.berkeley.edu/~raenben/tapestry Pastry http://research.microsoft.com/~antr/pastry Chord http://lcs.mit.edu/chord Acknowledgements Thanks to Dennis Geels and Sean Rhea for their work on the BMark benchmark suite