dht routing
play

DHT Routing Presented by Emma Kilfoyle October 24, 2013 DHT - PowerPoint PPT Presentation

DHT Routing Presented by Emma Kilfoyle October 24, 2013 DHT History/Background 1995 - Internet goes public Early 2000s - P2P file sharing, e.g. Napster (1999) and Gnutella (2000), gains popularity 2001 - researchers start


  1. DHT Routing Presented by Emma Kilfoyle October 24, 2013

  2. DHT History/Background ● 1995 - Internet goes public ● Early 2000s - P2P file sharing, e.g. Napster (1999) and Gnutella (2000), gains popularity ● 2001 - researchers start developing fast, distributed lookup services (CAN, Chord, Tapestry, Pastry) ● Today - Cassandra (Facebook), Dynamo (Amazon), memcached (Twitter/Facebook), etc.

  3. DHT History/Background ● 1995 - Internet goes public ● Early 2000s - P2P file sharing, e.g. Napster (1999) and Gnutella (2000), gains popularity ● 2001 - researchers start developing fast, distributed lookup services (CAN, Chord , Tapestry, Pastry) ● Today - Cassandra (Facebook), Dynamo (Amazon), memcached (Twitter/Facebook), etc.

  4. Chord: A P2P Lookup Service ● “Chord: A Scalable Peer-to-Peer Lookup Service for Internet Applications” ● MIT Laboratory for Computer Science and AI ● Presented at SIGCOMM 2001 Ion Stoica Robert Morris David Karger M. F. Kaashoek Hari Balakrishnan UC Berkeley MIT, CSAIL MIT, CSAIL MIT, CSAIL MIT, CSAIL

  5. Chord Goals ● Load balance ● Decentralization ● Scalability ● Availability ● Flexible naming

  6. Chord Routing Basics ● Node - any machine running Chord software ● Successor - node with next largest ID ● Predecessor - node with next smallest ID ● Finger table - Chord routing table ○ Includes entries (“fingers”) for O(log N) other nodes ○ k th finger at node n contains the first node s that succeeds n by at least 2 k -1 , i.e. successor( n + 2 k -1 )

  7. Chord Routing Protocol Example on blackboard!

  8. Chord Performance Load balance in a 10 4 node network...

  9. Chord Performance Path length PDF in a Path length as a function 2 12 node network... of network size...

  10. Chord Extras What we didn’t talk about... ● Virtual nodes ● Stabilization processes ● Concurrent node joins/departures/failures

  11. Discussion 1. How well did Chord address its 5 goals? ○ load balance ○ decentralization ○ scalability ○ availability ○ flexible naming 2. Are provably short path lengths enough to ensure fast routing in a WAN?

  12. Impact of DHT Routing Geometry ● “The Impact of DHT Routing Geometry on Resilience and Proximity” ● Presented at SIGCOMM 2003 ● K. Gummadi ● R. Gummadi ● S. Gribble ● S. Ratnasamy ● S. Shenkar ● I. Stoica

  13. Routing Geometries ● Ring, e.g. Chord ● Tree, e.g. Tapestry ● Hypercube, e.g. CAN ● Butterfly, e.g. Viceroy ● XOR, e.g. Kademlia ● Hybrid (Ring+Tree), e.g. Pastry

  14. Flexibility, Resilience & Proximity ● Flexibility - how many different ways to route a request ○ Neighbor selection ○ Route selection ● Resilience - keep routing requests after nodes fail/depart ● Proximity - route requests through nodes that are “close together” w.r.t. some metric, e.g. network latency

  15. Flexibility, Resilience & Proximity ● Flexibility - how many different ways to route a request ○ Neighbor selection ○ Route selection ● Resilience - keep routing requests after nodes fail/depart ● Proximity - route requests through nodes that are “close together” w.r.t. some metric, e.g. network latency ● Hypothesis: Greater flexibility leads to DHTs with higher resilience and better proximity of routes

  16. Results: Resilience

  17. Results: Proximity

  18. Results: Proximity cont.

  19. Takeaways ● DHT routing geometry matters! ● Flexibility in neighbor selection is important ● Simple Ring geometry works surprisingly well

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend