A Scalable and Load-Balanced Lookup Protocol for High Performance Peer-to-Peer Distributed System Jerry Chou and Tai-Yi Huang Embedded & Operating System.

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

Pastry Peter Druschel, Rice University Antony Rowstron, Microsoft Research UK Some slides are borrowed from the original presentation by the authors.
1Department of Electrical Engineering and Computer Science, University of Michigan, USA. 2Department of Computer Science, National University of Singapore,
CHORD – peer to peer lookup protocol Shankar Karthik Vaithianathan & Aravind Sivaraman University of Central Florida.
PDPTA03, Las Vegas, June S-Chord: Using Symmetry to Improve Lookup Efficiency in Chord Valentin Mesaros 1, Bruno Carton 2, and Peter Van Roy 1 1.
Technische Universität Yimei Liao Chemnitz Kurt Tutschku Vertretung - Professur Rechner- netze und verteilte Systeme Chord - A Distributed Hash Table Yimei.
Technische Universität Chemnitz Kurt Tutschku Vertretung - Professur Rechner- netze und verteilte Systeme Chord - A Distributed Hash Table Yimei Liao.
Chord: A Scalable Peer-to- Peer Lookup Service for Internet Applications Ion StoicaRobert Morris David Liben-NowellDavid R. Karger M. Frans KaashoekFrank.
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.
Chord: A Scalable Peer-to-peer Lookup Protocol for Internet Applications Speaker: Cathrin Weiß 11/23/2004 Proseminar Peer-to-Peer Information Systems.
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.
1 1 Chord: A scalable Peer-to-peer Lookup Service for Internet Applications Dariotaki Roula
SCRIBE A large-scale and decentralized application-level multicast infrastructure.
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.
Small-world Overlay P2P Network
Scribe: A Large-Scale and Decentralized Application-Level Multicast Infrastructure Miguel Castro, Peter Druschel, Anne-Marie Kermarrec, and Antony L. T.
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.
©NEC Laboratories America 1 Hui Zhang Samrat Ganguly Sudeept Bhatnagar Rauf Izmailov NEC Labs America Abhishek Sharma University of Southern California.
Chord: A Scalable Peer-to-Peer Lookup Protocol for Internet Applications Stoica et al. Presented by Tam Chantem March 30, 2007.
Fault-tolerant Routing in Peer-to-Peer Systems James Aspnes Zoë Diamadi Gauri Shah Yale University PODC 2002.
Chord and CFS Philip Skov Knudsen Niels Teglsbo Jensen Mads Lundemann
SkipNet: A Scalable Overlay Network with Practical Locality Properties Nick Harvey, Mike Jones, Stefan Saroiu, Marvin Theimer, Alec Wolman Microsoft Research.
SCALLOP A Scalable and Load-Balanced Peer- to-Peer Lookup Protocol for High- Performance Distributed System Jerry Chou, Tai-Yi Huang & Kuang-Li Huang Embedded.
1 Load Balance and Efficient Hierarchical Data-Centric Storage in Sensor Networks Yao Zhao, List Lab, Northwestern Univ Yan Chen, List Lab, Northwestern.
Chord-over-Chord Overlay Sudhindra Rao Ph.D Qualifier Exam Department of ECECS.
Secure Overlay Services Adam Hathcock Information Assurance Lab Auburn University.
Topics in Reliable Distributed Systems Fall Dr. Idit Keidar.
DISTRIBUTED SYSTEMS Principles and Paradigms Second Edition ANDREW S
1 Load Balance and Efficient Hierarchical Data-Centric Storage in Sensor Networks Yao Zhao, List Lab, Northwestern Univ Yan Chen, List Lab, Northwestern.
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.
SIMULATING A MOBILE PEER-TO-PEER NETWORK Simo Sibakov Department of Communications and Networking (Comnet) Helsinki University of Technology Supervisor:
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.
Towards Efficient Load Balancing in Structured P2P Systems Yingwu Zhu, Yiming Hu University of Cincinnati.
Symmetric Replication in Structured Peer-to-Peer Systems Ali Ghodsi, Luc Onana Alima, Seif Haridi.
Effizientes Routing in P2P Netzwerken Chord: A Scalable Peer-to- peer Lookup Protocol for Internet Applications Dennis Schade.
1 PASTRY. 2 Pastry paper “ Pastry: Scalable, decentralized object location and routing for large- scale peer-to-peer systems ” by Antony Rowstron (Microsoft.
PIC: Practical Internet Coordinates for Distance Estimation Manuel Costa joint work with Miguel Castro, Ant Rowstron, Peter Key Microsoft Research Cambridge.
Load Balancing in Structured P2P System Ananth Rao, Karthik Lakshminarayanan, Sonesh Surana, Richard Karp, Ion Stoica IPTPS ’03 Kyungmin Cho 2003/05/20.
Load Balancing of In-Network Data-Centric Storage Schemes in Sensor Networks Mohamed Aly In collaboration with Kirk Pruhs and Panos K. Chrysanthis Advanced.
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.
Presentation 1 By: Hitesh Chheda 2/2/2010. Ion Stoica, Robert Morris, David Karger, M. Frans Kaashoek, Hari Balakrishnan MIT Laboratory for Computer Science.
Load-Balancing Routing in Multichannel Hybrid Wireless Networks With Single Network Interface So, J.; Vaidya, N. H.; Vehicular Technology, IEEE Transactions.
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.
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.
Dynamic Networks for Peer-to-Peer Systems Pierre Fraigniaud CNRS LRI, Univ. Paris Sud Joint work with Philippe Gauron.
1 Secure Peer-to-Peer File Sharing Frans Kaashoek, David Karger, Robert Morris, Ion Stoica, Hari Balakrishnan MIT Laboratory.
Chord Advanced issues. Analysis Theorem. Search takes O (log N) time (Note that in general, 2 m may be much larger than N) Proof. After log N forwarding.
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.
Dynamic Networks for Peer-to-Peer Systems Pierre Fraigniaud CNRS Lab. de Recherche en Informatique (LRI) Univ. Paris-Sud, Orsay Joint work with Philippe.
A Dynamic Query-tree Energy Balancing Protocol for Sensor Networks H. Yang, F. Ye, and B. Sikdar Department of Electrical, Computer and systems Engineering.
BATON A Balanced Tree Structure for Peer-to-Peer Networks H. V. Jagadish, Beng Chin Ooi, Quang Hieu Vu.
Algorithms and Techniques in Structured Scalable Peer-to-Peer Networks
LOOKING UP DATA IN P2P SYSTEMS Hari Balakrishnan M. Frans Kaashoek David Karger Robert Morris Ion Stoica MIT LCS.
A Load-Balanced Guiding Navigation Protocol in Wireless Sensor Networks Wen-Tsuen Chen Department of Computer Science National Tsing Hua University Po-Yu.
CS 347Notes081 CS 347: Parallel and Distributed Data Management Notes 08: P2P Systems.
1 Secure Peer-to-Peer File Sharing Frans Kaashoek, David Karger, Robert Morris, Ion Stoica, Hari Balakrishnan MIT Laboratory.
CS694 - DHT1 Distributed Hash Table Systems Hui Zhang University of Southern California.
Chord: A Scalable Peer-to-Peer Lookup Service for Internet Applications * CS587x Lecture Department of Computer Science Iowa State University *I. Stoica,
The Chord P2P Network Some slides taken from the original presentation by the authors.
A Scalable Peer-to-peer Lookup Service for Internet Applications
Improving and Generalizing Chord
S-Chord: Using Symmetry to Improve Lookup Efficiency in Chord
DHT Routing Geometries and Chord
A Scalable Peer-to-peer Lookup Service for Internet Applications
Presentation transcript:

A Scalable and Load-Balanced Lookup Protocol for High Performance Peer-to-Peer Distributed System Jerry Chou and Tai-Yi Huang Embedded & Operating System (EOS) Lab Computer Science Department National Tsing Hua University, Taiwan

EOS Lab, National Tsing Hua University2 Outline Contributions Methodology Simulation Conclusions Future work

EOS Lab, National Tsing Hua University3 Motivations and Purpose Many large-scaled servers are implemented in a peer-to-peer distributed system due to: Low cost of workstations Availability of high-speed network Performance of the system is often evaluated by the response time of the request  Reduce the response time

EOS Lab, National Tsing Hua University4 Lookup Protocol Response time = Lookup time + Service time Shorter lookup forwarding path  smaller lookup time Balanced load on nodes  no hot spots  smaller service time

EOS Lab, National Tsing Hua University5 Our Contributions (1/2) Scalable with the number of nodes Each node is only aware of other O(d log d N) nodes  N is the number of nodes in the system  d is a customized variable Provide a bound to lookup paths The lookup path for any request is O(log d N) Allow a tradeoff between space and time If d becomes larger  More routing information required  Shorter lookup path

EOS Lab, National Tsing Hua University6 Our Contributions (2/2) Load-balanced Both data items and lookup requests are evenly distributed  Avoid hot spots and reduce the service time Decentralized Each node has equivalent functionality  System is more stable  Without the bottleneck on server

EOS Lab, National Tsing Hua University7 Methodology Data partition Structure of the balanced lookup tree Construction of the lookup table

EOS Lab, National Tsing Hua University8 Data Partition Use a variant of consistent hashing to partition the data set among all nodes key k is stored in node n where |k-n| is minimum Two proven properties of consistent hashing Each node stores similar amount of data items Data movement is minimum when system changes Our protocol assigns each node a number, called SID, between 0 to N-1 We will use SID to identify nodes for the rest of the presentation

EOS Lab, National Tsing Hua University9 Balanced Lookup Tree We construct a balanced lookup tree for each node The root of a balanced lookup tree of a node is the node itself Lookup path is bounded by O(log d N) k-2 k-dk-d k-d-1k-2d-1 … k-d 2 -1k-d-2k-2d-2 … k-d 2 -2 k-2d k-3d k-d 2 -d-1 ………………………………… k … k-1 ……… … k-d2-dk-d2-d [Fig. 1 Generic balanced lookup tree for node k ]

EOS Lab, National Tsing Hua University10 Comparing with Chord Our lookup tree can distribute lookup requests more evenly Resolve the hot spot problem on node 15 [Fig 2.(a) Chord: node 15 has 7 children] [Fig 2.(b) Our lookup protocol: node 15 has 3 children]

EOS Lab, National Tsing Hua University11 Construction of Lookup Table Lookup table is a collection of lookup pairs Get lookup pairs (target, forwarder) form lookup trees Forwarder is the next node in the lookup path to the target node Group targets and forwarders to reduce the number of entries in a lookup table

EOS Lab, National Tsing Hua University12 Fig 3.(b) Fig 3.(a) Node 11 Target 0 Forwarder 15 Node 13 Target 1 Forwarder 1 (1) There is a lookup pair (0,15) for node 11 (2) There is a lookup pair (1,1) for node 13

EOS Lab, National Tsing Hua University13 Example of Lookup Table Take the lookup table of node 0 as an example Collect and group lookup pairs for node 0  Reduce the entries from 16 to 7 TargetForwarder TargetForwarder EntryTarget range forwarder 0(15,0]0 1(0,1]1 2(1,2]2 3(2,3]3 4(3,8]4 5(8,12]8 6(12,15]12

EOS Lab, National Tsing Hua University14 Generic Lookup Table (1/3) All lookup tables can be constructed by the generic lookup table without examining any lookup tree Distance tree Used to show the lookup pairs in distance relationship Constructed by replacing each node in generic balanced lookup tree with a pair (D2T,D2F)  D2T : the distance to target node (root – node)  D2F : the distance to forwarder node (parent – node)

EOS Lab, National Tsing Hua University15 (0,0) … (1,1) (2,2) (d,d)(d,d) (d 2 +d, d 2 ) … (d 2 +1,d 2 ) (d+1,d) (2d+1,2d) ………… (d+2,d)(2d+2,2d)(d 2 +2, d 2 ) (2d,d) (3d,2d) … ………………………………… (d 2 +d+1, d 2 ) Level Distance Tree (2/3) Any pair of (D2T, D2F) is independent of k  there is only one unique distance tree  there are N different lookup trees

EOS Lab, National Tsing Hua University16 i = 1, 2, 3, …, d total entries = l * i = O(log d N) * d = O(d log d N) Generic Lookup Tree (3/3) Group D2T and D2F to get generic lookup table

EOS Lab, National Tsing Hua University17 Summary Lookup Path Routing Table Size Data Partition Lookup Distribution ChordO(log 2 N)log 2 NBalancedUnbalanced Our protocol O(log d N)d log d NBalanced

EOS Lab, National Tsing Hua University18 Simulation Results Environment 30 nodes 10 4 lookup requests Hot spot scenario  30% of the the requests ask for a data item stored in a particular node

EOS Lab, National Tsing Hua University19 Simulation Result Assume 30% of the requests demand data stored in node 29 Our protocol reduces 63% request load on node 28  avoid hot spot Our result is flatter => more even load distribution 18,029,800 12,533,270

EOS Lab, National Tsing Hua University20 Conclusions & Future Work We develop a lookup protocol for peer-to- peer distributed system scalable: O(d log d N) lookup table high-performance: O(log d N) lookup path load-balanced: even data and lookup distribution Future work dynamic system change handling more experimental results Questions & Answers