Mapping a Dynamic Prefix Tree on a P2P Network

Size: px
Start display at page:

Download "Mapping a Dynamic Prefix Tree on a P2P Network"

Transcription

1 Mapping a Dynamic Prefix Tree on a P2P Network Eddy Caron, Frédéric Desprez, Cédric Tedeschi GRAAL WG - October 26, 2006

2 Outline 1 Introduction 2 Related Work 3 DLPT architecture 4 Mapping 5 Conclusion Eddy Caron, Frédéric Desprez, Cédric Tedeschi Mapping a Dynamic Prefix Tree on a P2P Netywork 2/24

3 Outline 1 Introduction 2 Related Work 3 DLPT architecture 4 Mapping 5 Conclusion Eddy Caron, Frédéric Desprez, Cédric Tedeschi Mapping a Dynamic Prefix Tree on a P2P Netywork 3/24

4 Context Resource discovery in grid context New needs facing the development of grids large scale no central infrastructure dynamic joins and leaves of nodes Adopt peer-to-peer technologies Pure decentralized algorithms Scalable algorithms to retrieve objects Fault-tolerance Eddy Caron, Frédéric Desprez, Cédric Tedeschi Mapping a Dynamic Prefix Tree on a P2P Netywork 4/24

5 Context Resource discovery in grid context New needs facing the development of grids large scale no central infrastructure dynamic joins and leaves of nodes Adopt peer-to-peer technologies Pure decentralized algorithms Scalable algorithms to retrieve objects Fault-tolerance Eddy Caron, Frédéric Desprez, Cédric Tedeschi Mapping a Dynamic Prefix Tree on a P2P Netywork 4/24

6 Context Resource discovery in grid context New needs facing the development of grids large scale no central infrastructure dynamic joins and leaves of nodes Adopt peer-to-peer technologies Pure decentralized algorithms Scalable algorithms to retrieve objects Fault-tolerance Eddy Caron, Frédéric Desprez, Cédric Tedeschi Mapping a Dynamic Prefix Tree on a P2P Netywork 4/24

7 Outline 1 Introduction 2 Related Work 3 DLPT architecture 4 Mapping 5 Conclusion Eddy Caron, Frédéric Desprez, Cédric Tedeschi Mapping a Dynamic Prefix Tree on a P2P Netywork 5/24

8 P2P technologies Unstructured P2P approaches flooding based non-exhaustive researches Distributed Hash Tables key-based routing exhaustive search scalable : logarithmic local state logarithmic number of hops fault-tolerance periodic scanning replication drawbacks no locality awareness assumptions of homogeneity only exact match queries Eddy Caron, Frédéric Desprez, Cédric Tedeschi Mapping a Dynamic Prefix Tree on a P2P Netywork 6/24

9 P2P technologies Unstructured P2P approaches flooding based non-exhaustive researches Distributed Hash Tables key-based routing exhaustive search scalable : logarithmic local state logarithmic number of hops fault-tolerance periodic scanning replication drawbacks no locality awareness assumptions of homogeneity only exact match queries Eddy Caron, Frédéric Desprez, Cédric Tedeschi Mapping a Dynamic Prefix Tree on a P2P Netywork 6/24

10 Trie Based Lookup (2/2) Range queries automatic completion logarithmic Latency Approaches Skip Graphs (complexities) Nodewiz (no fault-tolerance) Prefix Hash Tree (static trie) P-Grid (static trie) locality awareness issue DLPT (load balancing) Eddy Caron, Frédéric Desprez, Cédric Tedeschi Mapping a Dynamic Prefix Tree on a P2P Netywork 7/24

11 Trie Based Lookup (2/2) Range queries automatic completion logarithmic Latency Approaches Skip Graphs (complexities) Nodewiz (no fault-tolerance) Prefix Hash Tree (static trie) P-Grid (static trie) locality awareness issue DLPT (load balancing) Eddy Caron, Frédéric Desprez, Cédric Tedeschi Mapping a Dynamic Prefix Tree on a P2P Netywork 7/24

12 Trie Based Lookup (2/2) Range queries automatic completion logarithmic Latency Approaches Skip Graphs (complexities) Nodewiz (no fault-tolerance) Prefix Hash Tree (static trie) P-Grid (static trie) locality awareness issue DLPT (load balancing) Eddy Caron, Frédéric Desprez, Cédric Tedeschi Mapping a Dynamic Prefix Tree on a P2P Netywork 7/24

13 Outline 1 Introduction 2 Related Work 3 DLPT architecture 4 Mapping 5 Conclusion Eddy Caron, Frédéric Desprez, Cédric Tedeschi Mapping a Dynamic Prefix Tree on a P2P Netywork 8/24

14 A two layer architecture Logical indexing structure On-line building of a Greatest Common Prefix (GCP) Tree Distributed traversal algorithms Mapping on a dynamic network random DHT-based mapping (no load balancing) each physical node maintains one or more logical nodes Replication based fault-tolerance Greedy locality awareness Eddy Caron, Frédéric Desprez, Cédric Tedeschi Mapping a Dynamic Prefix Tree on a P2P Netywork 9/24

15 GCP Tree - Preliminaries Alphabet A finite set of letters an order on A Word w finite set of letters of A, w = a 1,..., a i,..., a l, l > 0 u, v two words, uv concatenation of u and v w length of w ɛ the empty word, ɛ = 0 Eddy Caron, Frédéric Desprez, Cédric Tedeschi Mapping a Dynamic Prefix Tree on a P2P Netywork 10/24

16 GCP Tree - Definition u = prefix(v) if w s.t. v = uw GCP(w 1, w 2,..., w i,..., w n ) is the longest prefix shared by w 1, w 2,..., w i,..., w n Example : DTR = prefix(dtrsm) GCP(DTRSM, DTRMM) = DTR GCP Tree labeled rooted tree s.t. The node label is a proper prefix of any label in its subtree The node label is the Proper Greatest Common Prefix of all its son labels Eddy Caron, Frédéric Desprez, Cédric Tedeschi Mapping a Dynamic Prefix Tree on a P2P Netywork 11/24

17 GCP Tree - Dynamic construction Contact Routing Inserting Eddy Caron, Frédéric Desprez, Cédric Tedeschi Mapping a Dynamic Prefix Tree on a P2P Netywork 12/24

18 GCP Tree - worst case complexities Number of hops bounded by twice the depth of the tree Depth of the tree bounded by the size osf the words Local state bounded by the number of characters Constant time local decision of routing Range query, replication/locality process latency bounded by the depth of the tree linear number of messages Eddy Caron, Frédéric Desprez, Cédric Tedeschi Mapping a Dynamic Prefix Tree on a P2P Netywork 13/24

19 Outline 1 Introduction 2 Related Work 3 DLPT architecture 4 Mapping 5 Conclusion Eddy Caron, Frédéric Desprez, Cédric Tedeschi Mapping a Dynamic Prefix Tree on a P2P Netywork 14/24

20 Current mapping Random No Load balancing Cost of maintaining both physical and logical level Reduction the total communication cost Load balancing heuristics Eddy Caron, Frédéric Desprez, Cédric Tedeschi Mapping a Dynamic Prefix Tree on a P2P Netywork 15/24

21 Current mapping Random No Load balancing Cost of maintaining both physical and logical level Reduction the total communication cost Load balancing heuristics Eddy Caron, Frédéric Desprez, Cédric Tedeschi Mapping a Dynamic Prefix Tree on a P2P Netywork 15/24

22 General design (1/2) The physical layer Structured as a ring dynamically growing Each peer is placed by a lexicographic hash function Each peer maintains a predecessor and a successor The logical layer Dynamic GCP Tree (built as objects are declared) Each node is mapped on its successor peer Eddy Caron, Frédéric Desprez, Cédric Tedeschi Mapping a Dynamic Prefix Tree on a P2P Netywork 16/24

23 General design (2/2) Eddy Caron, Frédéric Desprez, Cédric Tedeschi Mapping a Dynamic Prefix Tree on a P2P Netywork 17/24

24 General design (2/2) Eddy Caron, Frédéric Desprez, Cédric Tedeschi Mapping a Dynamic Prefix Tree on a P2P Netywork 17/24

25 Inserting a physical node - principle Finding the successor peer finding the target node (labeled by the greatest ID smaller than the new peer ID) 3 phases 0. Not in the right branch : going up 1. In the right branch : routing down 2. Inserting : the successor searched is the peer hosting the target node the succesor of the peer hosting the target node Eddy Caron, Frédéric Desprez, Cédric Tedeschi Mapping a Dynamic Prefix Tree on a P2P Netywork 18/24

26 Inserting an object Routing according to the object s key Potential creation of new nodes Finding peers to host new nodes Eddy Caron, Frédéric Desprez, Cédric Tedeschi Mapping a Dynamic Prefix Tree on a P2P Netywork 19/24

27 Load balancing heuristics - related work Karger and Ruhl periodic random item balancing homogeneity of peer capacities Godfrey et al. periodic item redistribution semi-centralized Ledlie and Seltzer K-choices Chooses the best location for a new peer among k Eddy Caron, Frédéric Desprez, Cédric Tedeschi Mapping a Dynamic Prefix Tree on a P2P Netywork 20/24

28 Load balancing - Max Local Throughput C p capacity of the peer p l n load of the node n considering two adjacent peers s and p I s set of nodes currently managed by s I p set of nodes currently managed by p T = T p + T s Considering n nodes, n = I s + I p Find k such that min( i {0,...,k} l i, C p ) + min( i {k+1,...,n} l i, C s ) is maximum (algorithm linear in the number of nodes) Eddy Caron, Frédéric Desprez, Cédric Tedeschi Mapping a Dynamic Prefix Tree on a P2P Netywork 21/24

29 Load balancing - Max Local Throughput C p capacity of the peer p l n load of the node n considering two adjacent peers s and p I s set of nodes currently managed by s I p set of nodes currently managed by p T = T p + T s Considering n nodes, n = I s + I p Find k such that min( i {0,...,k} l i, C p ) + min( i {k+1,...,n} l i, C s ) is maximum (algorithm linear in the number of nodes) Eddy Caron, Frédéric Desprez, Cédric Tedeschi Mapping a Dynamic Prefix Tree on a P2P Netywork 21/24

30 Load balancing - Max Local Throughput C p capacity of the peer p l n load of the node n considering two adjacent peers s and p I s set of nodes currently managed by s I p set of nodes currently managed by p T = T p + T s Considering n nodes, n = I s + I p Find k such that min( i {0,...,k} l i, C p ) + min( i {k+1,...,n} l i, C s ) is maximum (algorithm linear in the number of nodes) Eddy Caron, Frédéric Desprez, Cédric Tedeschi Mapping a Dynamic Prefix Tree on a P2P Netywork 21/24

31 Load balancing - Max Local Throughput C p capacity of the peer p l n load of the node n considering two adjacent peers s and p I s set of nodes currently managed by s I p set of nodes currently managed by p T = T p + T s Considering n nodes, n = I s + I p Find k such that min( i {0,...,k} l i, C p ) + min( i {k+1,...,n} l i, C s ) is maximum (algorithm linear in the number of nodes) Eddy Caron, Frédéric Desprez, Cédric Tedeschi Mapping a Dynamic Prefix Tree on a P2P Netywork 21/24

32 Load balancing - Max Local Throughput C p capacity of the peer p l n load of the node n considering two adjacent peers s and p I s set of nodes currently managed by s I p set of nodes currently managed by p T p = min( i I p l i, C p ), T s = min( i I s l i, C s ) T = T p + T s Considering n nodes, n = I s + I p Find k such that min( i {0,...,k} l i, C p ) + min( i {k+1,...,n} l i, C s ) is maximum (algorithm linear in the number of nodes) Eddy Caron, Frédéric Desprez, Cédric Tedeschi Mapping a Dynamic Prefix Tree on a P2P Netywork 21/24

33 Load balancing - Max Local Throughput C p capacity of the peer p l n load of the node n considering two adjacent peers s and p I s set of nodes currently managed by s I p set of nodes currently managed by p T p = min( i I p l i, C p ), T s = min( i I s l i, C s ) T = T p + T s Considering n nodes, n = I s + I p Find k such that min( i {0,...,k} l i, C p ) + min( i {k+1,...,n} l i, C s ) is maximum (algorithm linear in the number of nodes) Eddy Caron, Frédéric Desprez, Cédric Tedeschi Mapping a Dynamic Prefix Tree on a P2P Netywork 21/24

34 Load balancing - Max Local Throughput C p capacity of the peer p l n load of the node n considering two adjacent peers s and p I s set of nodes currently managed by s I p set of nodes currently managed by p T p = min( i I p l i, C p ), T s = min( i I s l i, C s ) T = T p + T s Considering n nodes, n = I s + I p Find k such that min( i {0,...,k} l i, C p ) + min( i {k+1,...,n} l i, C s ) is maximum (algorithm linear in the number of nodes) Eddy Caron, Frédéric Desprez, Cédric Tedeschi Mapping a Dynamic Prefix Tree on a P2P Netywork 21/24

35 Load balancing - Max Local Throughput C p capacity of the peer p l n load of the node n considering two adjacent peers s and p I s set of nodes currently managed by s I p set of nodes currently managed by p T p = min( i I p l i, C p ), T s = min( i I s l i, C s ) T = T p + T s Considering n nodes, n = I s + I p Find k such that min( i {0,...,k} l i, C p ) + min( i {k+1,...,n} l i, C s ) is maximum (algorithm linear in the number of nodes) Eddy Caron, Frédéric Desprez, Cédric Tedeschi Mapping a Dynamic Prefix Tree on a P2P Netywork 21/24

36 Simulation results Rate of satisfied requests Load balancing stable network Max local throughput [30 run] K choices [30 run] No LB [30 run] Time Eddy Caron, Frédéric Desprez, Cédric Tedeschi Mapping a Dynamic Prefix Tree on a P2P Netywork 22/24

37 Simulation results Rate of satisfied requests Load balancing stable network high load Max local throughput [30 run] K choices [30 run] No LB [30 run] Time Eddy Caron, Frédéric Desprez, Cédric Tedeschi Mapping a Dynamic Prefix Tree on a P2P Netywork 22/24

38 Simulation results Rate of requests satisfied Load balancing dynamic network low load Max local throughput [30 run] K choices [30 run] No LB [30 run] Time Eddy Caron, Frédéric Desprez, Cédric Tedeschi Mapping a Dynamic Prefix Tree on a P2P Netywork 22/24

39 Simulation results Rate of requests satisfied Load balancing dynamic network high load Max local throughput [30 run] K choices [30 run] No LB [30 run] Time Eddy Caron, Frédéric Desprez, Cédric Tedeschi Mapping a Dynamic Prefix Tree on a P2P Netywork 22/24

40 Simulation results Load Stable network Dynamic network Max local th. K-choices Max local th. K-choices 5% 39,62% 38,58% 18.25% 32,47% 10% 103,41% 58,95% 46,16% 51,00% 16% 147,07% 64,97% 65,90% 59,11% 24% 165,25% 59,27% 71,26% 60,01% 40% 206,90% 68,16% 97,71% 67,18% 80% 230,51% 76,99% 90,59% 71,93% Eddy Caron, Frédéric Desprez, Cédric Tedeschi Mapping a Dynamic Prefix Tree on a P2P Netywork 22/24

41 Simulation results Load balancing dynamic network dynamic load Max Local Throughput [50 run] K choices [50 run] No LB [50 run] Satisfied requests Time Eddy Caron, Frédéric Desprez, Cédric Tedeschi Mapping a Dynamic Prefix Tree on a P2P Netywork 22/24

42 Outline 1 Introduction 2 Related Work 3 DLPT architecture 4 Mapping 5 Conclusion Eddy Caron, Frédéric Desprez, Cédric Tedeschi Mapping a Dynamic Prefix Tree on a P2P Netywork 23/24

43 Conclusion Algorithms to map a Prefix tree on a P2P network Reduction of maintenance cost of trie-based P2P systems New heuristic for load balancing Eddy Caron, Frédéric Desprez, Cédric Tedeschi Mapping a Dynamic Prefix Tree on a P2P Netywork 24/24

Efficiency of Tree-structured Peer-to-peer Service Discovery Systems

Efficiency of Tree-structured Peer-to-peer Service Discovery Systems Efficiency of Tree-structured Peer-to-peer Service Discovery Systems Eddy Caron, Frédéric Desprez, Cédric Tedeschi University of Lyon ENS Lyon INRIA LIP UMR 5668 CNRS ENS Lyon INRIA UCBL, France. Abstract

More information

Distributed Systems. 17. Distributed Lookup. Paul Krzyzanowski. Rutgers University. Fall 2016

Distributed Systems. 17. Distributed Lookup. Paul Krzyzanowski. Rutgers University. Fall 2016 Distributed Systems 17. Distributed Lookup Paul Krzyzanowski Rutgers University Fall 2016 1 Distributed Lookup Look up (key, value) Cooperating set of nodes Ideally: No central coordinator Some nodes can

More information

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

Lecture 6: Overlay Networks. CS 598: Advanced Internetworking Matthew Caesar February 15, 2011 Lecture 6: Overlay Networks CS 598: Advanced Internetworking Matthew Caesar February 15, 2011 1 Overlay networks: Motivations Protocol changes in the network happen very slowly Why? Internet is shared

More information

March 10, Distributed Hash-based Lookup. for Peer-to-Peer Systems. Sandeep Shelke Shrirang Shirodkar MTech I CSE

March 10, Distributed Hash-based Lookup. for Peer-to-Peer Systems. Sandeep Shelke Shrirang Shirodkar MTech I CSE for for March 10, 2006 Agenda for Peer-to-Peer Sytems Initial approaches to Their Limitations CAN - Applications of CAN Design Details Benefits for Distributed and a decentralized architecture No centralized

More information

Graph Algorithms. Many problems in networks can be modeled as graph problems.

Graph Algorithms. Many problems in networks can be modeled as graph problems. Graph Algorithms Graph Algorithms Many problems in networks can be modeled as graph problems. - The topology of a distributed system is a graph. - Routing table computation uses the shortest path algorithm

More information

P2P: Distributed Hash Tables

P2P: Distributed Hash Tables P2P: Distributed Hash Tables Chord + Routing Geometries Nirvan Tyagi CS 6410 Fall16 Peer-to-peer (P2P) Peer-to-peer (P2P) Decentralized! Hard to coordinate with peers joining and leaving Peer-to-peer (P2P)

More information

Peer-To-Peer Techniques

Peer-To-Peer Techniques PG DynaSearch Markus Benter 31th October, 2013 Introduction Centralized P2P-Networks Unstructured P2P-Networks Structured P2P-Networks Misc 1 What is a Peer-to-Peer System? Definition Peer-to-peer systems

More information

A Dynamic Prex Tree for Service Discovery within Large Scale Grids

A Dynamic Prex Tree for Service Discovery within Large Scale Grids Laboratoire de l Informatique du Parallélisme École Normale Supérieure de Lyon Unité Mixte de Recherche CNRS-INRIA-ENS LYON-UCBL n o 5668 A Dynamic Prex Tree for Service Discovery within Large Scale Grids

More information

Distributed Systems. 16. Distributed Lookup. Paul Krzyzanowski. Rutgers University. Fall 2017

Distributed Systems. 16. Distributed Lookup. Paul Krzyzanowski. Rutgers University. Fall 2017 Distributed Systems 16. Distributed Lookup Paul Krzyzanowski Rutgers University Fall 2017 1 Distributed Lookup Look up (key, value) Cooperating set of nodes Ideally: No central coordinator Some nodes can

More information

Early Measurements of a Cluster-based Architecture for P2P Systems

Early Measurements of a Cluster-based Architecture for P2P Systems Early Measurements of a Cluster-based Architecture for P2P Systems Balachander Krishnamurthy, Jia Wang, Yinglian Xie I. INTRODUCTION Peer-to-peer applications such as Napster [4], Freenet [1], and Gnutella

More information

08 Distributed Hash Tables

08 Distributed Hash Tables 08 Distributed Hash Tables 2/59 Chord Lookup Algorithm Properties Interface: lookup(key) IP address Efficient: O(log N) messages per lookup N is the total number of servers Scalable: O(log N) state per

More information

Integer Algorithms and Data Structures

Integer Algorithms and Data Structures Integer Algorithms and Data Structures and why we should care about them Vladimír Čunát Department of Theoretical Computer Science and Mathematical Logic Doctoral Seminar 2010/11 Outline Introduction Motivation

More information

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

Scalability In Peer-to-Peer Systems. Presented by Stavros Nikolaou Scalability In Peer-to-Peer Systems Presented by Stavros Nikolaou Background on Peer-to-Peer Systems Definition: Distributed systems/applications featuring: No centralized control, no hierarchical organization

More information

(2,4) Trees. 2/22/2006 (2,4) Trees 1

(2,4) Trees. 2/22/2006 (2,4) Trees 1 (2,4) Trees 9 2 5 7 10 14 2/22/2006 (2,4) Trees 1 Outline and Reading Multi-way search tree ( 10.4.1) Definition Search (2,4) tree ( 10.4.2) Definition Search Insertion Deletion Comparison of dictionary

More information

A Decentralized Content-based Aggregation Service for Pervasive Environments

A Decentralized Content-based Aggregation Service for Pervasive Environments A Decentralized Content-based Aggregation Service for Pervasive Environments Nanyan Jiang, Cristina Schmidt, Manish Parashar The Applied Software Systems Laboratory Rutgers, The State University of New

More information

Distributed Meta-data Servers: Architecture and Design. Sarah Sharafkandi David H.C. Du DISC

Distributed Meta-data Servers: Architecture and Design. Sarah Sharafkandi David H.C. Du DISC Distributed Meta-data Servers: Architecture and Design Sarah Sharafkandi David H.C. Du DISC 5/22/07 1 Outline Meta-Data Server (MDS) functions Why a distributed and global Architecture? Problem description

More information

Graph Algorithms. Many problems in networks can be modeled as graph problems.

Graph Algorithms. Many problems in networks can be modeled as graph problems. Graph Algorithms Many problems in networks can be modeled as graph problems. - The topology of a distributed system is a graph. - Routing table computation uses the shortest path algorithm - Efficient

More information

Architectures for Distributed Systems

Architectures for Distributed Systems Distributed Systems and Middleware 2013 2: Architectures Architectures for Distributed Systems Components A distributed system consists of components Each component has well-defined interface, can be replaced

More information

Squid: Enabling search in DHT-based systems

Squid: Enabling search in DHT-based systems J. Parallel Distrib. Comput. 68 (2008) 962 975 Contents lists available at ScienceDirect J. Parallel Distrib. Comput. journal homepage: www.elsevier.com/locate/jpdc Squid: Enabling search in DHT-based

More information

Chord : A Scalable Peer-to-Peer Lookup Protocol for Internet Applications

Chord : A Scalable Peer-to-Peer Lookup Protocol for Internet Applications : A Scalable Peer-to-Peer Lookup Protocol for Internet Applications Ion Stoica, Robert Morris, David Liben-Nowell, David R. Karger, M. Frans Kaashock, Frank Dabek, Hari Balakrishnan March 4, 2013 One slide

More information

CS555: Distributed Systems [Fall 2017] Dept. Of Computer Science, Colorado State University

CS555: Distributed Systems [Fall 2017] Dept. Of Computer Science, Colorado State University CS 555: DISTRIBUTED SYSTEMS [P2P SYSTEMS] Shrideep Pallickara Computer Science Colorado State University Frequently asked questions from the previous class survey Byzantine failures vs malicious nodes

More information

A Survey of Peer-to-Peer Content Distribution Technologies

A Survey of Peer-to-Peer Content Distribution Technologies A Survey of Peer-to-Peer Content Distribution Technologies Stephanos Androutsellis-Theotokis and Diomidis Spinellis ACM Computing Surveys, December 2004 Presenter: Seung-hwan Baek Ja-eun Choi Outline Overview

More information

Distributed Hash Tables

Distributed Hash Tables KTH ROYAL INSTITUTE OF TECHNOLOGY Distributed Hash Tables Distributed Hash Tables Vladimir Vlassov Large scale data bases hundreds of servers High churn rate servers will come and go Benefits fault tolerant

More information

Finding Data in the Cloud using Distributed Hash Tables (Chord) IBM Haifa Research Storage Systems

Finding Data in the Cloud using Distributed Hash Tables (Chord) IBM Haifa Research Storage Systems Finding Data in the Cloud using Distributed Hash Tables (Chord) IBM Haifa Research Storage Systems 1 Motivation from the File Systems World The App needs to know the path /home/user/my pictures/ The Filesystem

More information

Routing Table Construction Method Solely Based on Query Flows for Structured Overlays

Routing Table Construction Method Solely Based on Query Flows for Structured Overlays Routing Table Construction Method Solely Based on Query Flows for Structured Overlays Yasuhiro Ando, Hiroya Nagao, Takehiro Miyao and Kazuyuki Shudo Tokyo Institute of Technology Abstract In structured

More information

DRing: A Layered Scheme for Range Queries over DHTs

DRing: A Layered Scheme for Range Queries over DHTs DRing: A Layered Scheme for Range Queries over DHTs Nicolas Hidalgo, Erika Rosas, Luciana Arantes, Olivier Marin, Pierre Sens and Xavier Bonnaire Université Pierre et Marie Curie, CNRS INRIA - REGAL, Paris,

More information

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

CompSci 356: Computer Network Architectures Lecture 21: Overlay Networks Chap 9.4. Xiaowei Yang CompSci 356: Computer Network Architectures Lecture 21: Overlay Networks Chap 9.4 Xiaowei Yang xwy@cs.duke.edu Overview Problem Evolving solutions IP multicast Proxy caching Content distribution networks

More information

Peer-to-Peer Systems. Chapter General Characteristics

Peer-to-Peer Systems. Chapter General Characteristics Chapter 2 Peer-to-Peer Systems Abstract In this chapter, a basic overview is given of P2P systems, architectures, and search strategies in P2P systems. More specific concepts that are outlined include

More information

Chord: A Scalable Peer-to-peer Lookup Service For Internet Applications

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 by Jibin Yuan ION STOICA Professor of CS

More information

Degree Hunter: on the Impact of Balancing Node Degrees in de Bruijn- Based Overlay Networks

Degree Hunter: on the Impact of Balancing Node Degrees in de Bruijn- Based Overlay Networks Degree Hunter: on the Impact of Balancing Node Degrees in de Bruijn- Based Overlay Networks 23 April 2010 Pierre FRAIGNIAUD * - Hoang Anh PHAN** (*) (**) CNRS/LIAFA and University Paris Diderot Loading

More information

Distributed Hash Table

Distributed Hash Table Distributed Hash Table P2P Routing and Searching Algorithms Ruixuan Li College of Computer Science, HUST rxli@public.wh.hb.cn http://idc.hust.edu.cn/~rxli/ In Courtesy of Xiaodong Zhang, Ohio State Univ

More information

Searching for Shared Resources: DHT in General

Searching for Shared Resources: DHT in General 1 ELT-53206 Peer-to-Peer Networks Searching for Shared Resources: DHT in General Mathieu Devos Tampere University of Technology Department of Electronics and Communications Engineering Based on the original

More information

Searching for Shared Resources: DHT in General

Searching for Shared Resources: DHT in General 1 ELT-53207 P2P & IoT Systems Searching for Shared Resources: DHT in General Mathieu Devos Tampere University of Technology Department of Electronics and Communications Engineering Based on the original

More information

PEER-TO-PEER (P2P) systems are now one of the most

PEER-TO-PEER (P2P) systems are now one of the most IEEE JOURNAL ON SELECTED AREAS IN COMMUNICATIONS, VOL. 25, NO. 1, JANUARY 2007 15 Enhancing Peer-to-Peer Systems Through Redundancy Paola Flocchini, Amiya Nayak, Senior Member, IEEE, and Ming Xie Abstract

More information

Querying Peer-to-Peer Networks Using P-Trees

Querying Peer-to-Peer Networks Using P-Trees Querying Peer-to-Peer Networks Using P-Trees Adina Crainiceanu Prakash Linga Johannes Gehrke Jayavel Shanmugasundaram Department of Computer Science Cornell University {adina,linga,johannes,jai}@cs.cornell.edu

More information

Telecommunication Services Engineering Lab. Roch H. Glitho

Telecommunication Services Engineering Lab. Roch H. Glitho 1 Support Infrastructure Support infrastructure for application layer Why? Re-usability across application layer protocols Modularity (i.e. separation between application layer protocol specification /

More information

L3S Research Center, University of Hannover

L3S Research Center, University of Hannover , University of Hannover Dynamics of Wolf-Tilo Balke and Wolf Siberski 21.11.2007 *Original slides provided by S. Rieche, H. Niedermayer, S. Götz, K. Wehrle (University of Tübingen) and A. Datta, K. Aberer

More information

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

A Framework for Peer-To-Peer Lookup Services based on k-ary search A Framework for Peer-To-Peer Lookup Services based on k-ary search Sameh El-Ansary Swedish Institute of Computer Science Kista, Sweden Luc Onana Alima Department of Microelectronics and Information Technology

More information

Simulations of Chord and Freenet Peer-to-Peer Networking Protocols Mid-Term Report

Simulations of Chord and Freenet Peer-to-Peer Networking Protocols Mid-Term Report Simulations of Chord and Freenet Peer-to-Peer Networking Protocols Mid-Term Report Computer Communications and Networking (SC 546) Professor D. Starobinksi Brian Mitchell U09-62-9095 James Nunan U38-03-0277

More information

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

Peer-to-Peer Networks Pastry & Tapestry 4th Week Peer-to-Peer Networks Pastry & Tapestry 4th Week Department of Computer Science 1 Peer-to-Peer Networks Pastry 2 2 Pastry Peter Druschel Rice University, Houston, Texas now head of Max-Planck-Institute

More information

Leveraging a Compound Graph based DHT for Multi-Attribute Range Queries with Performance Analysis

Leveraging a Compound Graph based DHT for Multi-Attribute Range Queries with Performance Analysis Leveraging a Compound Graph based DHT for Multi-Attribute Range Queries with Performance Analysis Haiying Shen, * Member, IEEE, Cheng-Zhong Xu, Member, Senior IEEE Abstract Resource discovery is critical

More information

Predecessor Data Structures. Philip Bille

Predecessor Data Structures. Philip Bille Predecessor Data Structures Philip Bille Outline Predecessor problem First tradeoffs Simple tries x-fast tries y-fast tries Predecessor Problem Predecessor Problem The predecessor problem: Maintain a set

More information

RAQ: A Range-Queriable Distributed Data Structure

RAQ: A Range-Queriable Distributed Data Structure RAQ: A Range-Queriable Distributed Data Structure Hamid Nazerzadeh Mohammad Ghodsi Abstract Different structures are used in peer-to-peer networks to represent their inherently distributed, self-organized

More information

R16 SET - 1 '' ''' '' ''' Code No: R

R16 SET - 1 '' ''' '' ''' Code No: R 1. a) Define Latency time and Transmission time? (2M) b) Define Hash table and Hash function? (2M) c) Explain the Binary Heap Structure Property? (3M) d) List the properties of Red-Black trees? (3M) e)

More information

Deploying and Optimizing Squid in a Filesharing Application

Deploying and Optimizing Squid in a Filesharing Application Deploying and Optimizing Squid in a Filesharing Application Dan Halperin DIMACS REU 2004 with Dr. Manish Parashar and Cristina Schmidt Deploying and Optimizing Squid in a Filesharing Application p.1/16

More information

Peer- Peer to -peer Systems

Peer- Peer to -peer Systems Peer-to-peer Systems Brian Nielsen bnielsen@cs.aau.dk Client-Server Centralized Bottleneck Functional specialization Single point of failure Central administration NFS Client NFS Client NFS Server NFS

More information

Dynamo. Smruti R. Sarangi. Department of Computer Science Indian Institute of Technology New Delhi, India. Motivation System Architecture Evaluation

Dynamo. Smruti R. Sarangi. Department of Computer Science Indian Institute of Technology New Delhi, India. Motivation System Architecture Evaluation Dynamo Smruti R. Sarangi Department of Computer Science Indian Institute of Technology New Delhi, India Smruti R. Sarangi Leader Election 1/20 Outline Motivation 1 Motivation 2 3 Smruti R. Sarangi Leader

More information

Complexity results for throughput and latency optimization of replicated and data-parallel workflows

Complexity results for throughput and latency optimization of replicated and data-parallel workflows Complexity results for throughput and latency optimization of replicated and data-parallel workflows Anne Benoit and Yves Robert GRAAL team, LIP École Normale Supérieure de Lyon June 2007 Anne.Benoit@ens-lyon.fr

More information

PEER-TO-PEER NETWORKS, DHTS, AND CHORD

PEER-TO-PEER NETWORKS, DHTS, AND CHORD PEER-TO-PEER NETWORKS, DHTS, AND CHORD George Porter May 25, 2018 ATTRIBUTION These slides are released under an Attribution-NonCommercial-ShareAlike 3.0 Unported (CC BY-NC-SA 3.0) Creative Commons license

More information

Service discovery in a peer-to-peer environment for computational grids

Service discovery in a peer-to-peer environment for computational grids INSTITUT NATIONAL DE RECHERCHE EN INFORMATIQUE ET EN AUTOMATIQUE Service discovery in a peer-to-peer environment for computational grids Eddy Caron Frédéric Desprez Cédric Tedeschi N 5679 September 2005

More information

DISTRIBUTED COMPUTER SYSTEMS ARCHITECTURES

DISTRIBUTED COMPUTER SYSTEMS ARCHITECTURES DISTRIBUTED COMPUTER SYSTEMS ARCHITECTURES Dr. Jack Lange Computer Science Department University of Pittsburgh Fall 2015 Outline System Architectural Design Issues Centralized Architectures Application

More information

Three Layer Hierarchical Model for Chord

Three Layer Hierarchical Model for Chord Three Layer Hierarchical Model for Chord Waqas A. Imtiaz, Shimul Shil, A.K.M Mahfuzur Rahman Abstract Increasing popularity of decentralized Peer-to-Peer (P2P) architecture emphasizes on the need to come

More information

A LOAD BALANCING ALGORITHM BASED ON MOVEMENT OF NODE DATA FOR DYNAMIC STRUCTURED P2P SYSTEMS

A LOAD BALANCING ALGORITHM BASED ON MOVEMENT OF NODE DATA FOR DYNAMIC STRUCTURED P2P SYSTEMS A LOAD BALANCING ALGORITHM BASED ON MOVEMENT OF NODE DATA FOR DYNAMIC STRUCTURED P2P SYSTEMS 1 Prof. Prerna Kulkarni, 2 Amey Tawade, 3 Vinit Rane, 4 Ashish Kumar Singh 1 Asst. Professor, 2,3,4 BE Student,

More information

Content Overlays. Nick Feamster CS 7260 March 12, 2007

Content Overlays. Nick Feamster CS 7260 March 12, 2007 Content Overlays Nick Feamster CS 7260 March 12, 2007 Content Overlays Distributed content storage and retrieval Two primary approaches: Structured overlay Unstructured overlay Today s paper: Chord Not

More information

(2,4) Trees Goodrich, Tamassia (2,4) Trees 1

(2,4) Trees Goodrich, Tamassia (2,4) Trees 1 (2,4) Trees 9 2 5 7 10 14 2004 Goodrich, Tamassia (2,4) Trees 1 Multi-Way Search Tree A multi-way search tree is an ordered tree such that Each internal node has at least two children and stores d -1 key-element

More information

Making Gnutella-like P2P Systems Scalable

Making Gnutella-like P2P Systems Scalable Making Gnutella-like P2P Systems Scalable Y. Chawathe, S. Ratnasamy, L. Breslau, N. Lanham, S. Shenker Presented by: Herman Li Mar 2, 2005 Outline What are peer-to-peer (P2P) systems? Early P2P systems

More information

Solution to Problem 1 of HW 2. Finding the L1 and L2 edges of the graph used in the UD problem, using a suffix array instead of a suffix tree.

Solution to Problem 1 of HW 2. Finding the L1 and L2 edges of the graph used in the UD problem, using a suffix array instead of a suffix tree. Solution to Problem 1 of HW 2. Finding the L1 and L2 edges of the graph used in the UD problem, using a suffix array instead of a suffix tree. The basic approach is the same as when using a suffix tree,

More information

Dynamic Load Sharing in Peer-to-Peer Systems: When some Peers are more Equal than Others

Dynamic Load Sharing in Peer-to-Peer Systems: When some Peers are more Equal than Others Dynamic Load Sharing in Peer-to-Peer Systems: When some Peers are more Equal than Others Sabina Serbu, Silvia Bianchi, Peter Kropf and Pascal Felber Computer Science Department, University of Neuchâtel

More information

: Scalable Lookup

: Scalable Lookup 6.824 2006: Scalable Lookup Prior focus has been on traditional distributed systems e.g. NFS, DSM/Hypervisor, Harp Machine room: well maintained, centrally located. Relatively stable population: can be

More information

Chapter 11 Search Algorithms for Discrete Optimization Problems

Chapter 11 Search Algorithms for Discrete Optimization Problems Chapter Search Algorithms for Discrete Optimization Problems (Selected slides) A. Grama, A. Gupta, G. Karypis, and V. Kumar To accompany the text Introduction to Parallel Computing, Addison Wesley, 2003.

More information

Degree Optimal Deterministic Routing for P2P Systems

Degree Optimal Deterministic Routing for P2P Systems Degree Optimal Deterministic Routing for P2P Systems Gennaro Cordasco Luisa Gargano Mikael Hammar Vittorio Scarano Abstract We propose routing schemes that optimize the average number of hops for lookup

More information

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

LECT-05, S-1 FP2P, Javed I. A Course on Foundations of Peer-to-Peer Systems & Applications LECT-, S- FPP, javed@kent.edu Javed I. Khan@8 CS /99 Foundation of Peer-to-Peer Applications & Systems Kent State University Dept. of Computer

More information

Friday Four Square! 4:15PM, Outside Gates

Friday Four Square! 4:15PM, Outside Gates Binary Search Trees Friday Four Square! 4:15PM, Outside Gates Implementing Set On Monday and Wednesday, we saw how to implement the Map and Lexicon, respectively. Let's now turn our attention to the Set.

More information

Predecessor. Predecessor Problem van Emde Boas Tries. Philip Bille

Predecessor. Predecessor Problem van Emde Boas Tries. Philip Bille Predecessor Predecessor Problem van Emde Boas Tries Philip Bille Predecessor Predecessor Problem van Emde Boas Tries Predecessors Predecessor problem. Maintain a set S U = {,..., u-} supporting predecessor(x):

More information

PUB-2-SUB: A Content-Based Publish/Subscribe Framework for Cooperative P2P Networks

PUB-2-SUB: A Content-Based Publish/Subscribe Framework for Cooperative P2P Networks PUB-2-SUB: A Content-Based Publish/Subscribe Framework for Cooperative P2P Networks Duc A. Tran Cuong Pham Network Information Systems Lab (NISLab) Dept. of Computer Science University of Massachusetts,

More information

A Scalable Content- Addressable Network

A Scalable Content- Addressable Network A Scalable Content- Addressable Network In Proceedings of ACM SIGCOMM 2001 S. Ratnasamy, P. Francis, M. Handley, R. Karp, S. Shenker Presented by L.G. Alex Sung 9th March 2005 for CS856 1 Outline CAN basics

More information

( ) + n. ( ) = n "1) + n. ( ) = T n 2. ( ) = 2T n 2. ( ) = T( n 2 ) +1

( ) + n. ( ) = n 1) + n. ( ) = T n 2. ( ) = 2T n 2. ( ) = T( n 2 ) +1 CSE 0 Name Test Summer 00 Last Digits of Student ID # Multiple Choice. Write your answer to the LEFT of each problem. points each. Suppose you are sorting millions of keys that consist of three decimal

More information

Trees. Truong Tuan Anh CSE-HCMUT

Trees. Truong Tuan Anh CSE-HCMUT Trees Truong Tuan Anh CSE-HCMUT Outline Basic concepts Trees Trees A tree consists of a finite set of elements, called nodes, and a finite set of directed lines, called branches, that connect the nodes

More information

Diminished Chord: A Protocol for Heterogeneous Subgroup Formation in Peer-to-Peer Networks

Diminished Chord: A Protocol for Heterogeneous Subgroup Formation in Peer-to-Peer Networks Diminished Chord: A Protocol for Heterogeneous Subgroup Formation in Peer-to-Peer Networks David R. Karger 1 and Matthias Ruhl 2 1 MIT Computer Science and Artificial Intelligence Laboratory Cambridge,

More information

Data Structures and Methods. Johan Bollen Old Dominion University Department of Computer Science

Data Structures and Methods. Johan Bollen Old Dominion University Department of Computer Science Data Structures and Methods Johan Bollen Old Dominion University Department of Computer Science jbollen@cs.odu.edu http://www.cs.odu.edu/ jbollen January 20, 2004 Page 1 Lecture Objectives 1. To this point:

More information

(2,4) Trees Goodrich, Tamassia. (2,4) Trees 1

(2,4) Trees Goodrich, Tamassia. (2,4) Trees 1 (2,4) Trees 9 2 5 7 10 14 (2,4) Trees 1 Multi-Way Search Tree ( 9.4.1) A multi-way search tree is an ordered tree such that Each internal node has at least two children and stores d 1 key-element items

More information

CSE 5306 Distributed Systems

CSE 5306 Distributed Systems CSE 5306 Distributed Systems Naming Jia Rao http://ranger.uta.edu/~jrao/ 1 Naming Names play a critical role in all computer systems To access resources, uniquely identify entities, or refer to locations

More information

Search Algorithms for Discrete Optimization Problems

Search Algorithms for Discrete Optimization Problems Search Algorithms for Discrete Optimization Problems Ananth Grama, Anshul Gupta, George Karypis, and Vipin Kumar To accompany the text ``Introduction to Parallel Computing'', Addison Wesley, 2003. Topic

More information

INF5070 media storage and distribution systems. to-peer Systems 10/

INF5070 media storage and distribution systems. to-peer Systems 10/ INF5070 Media Storage and Distribution Systems: Peer-to to-peer Systems 10/11 2003 Client-Server! Traditional distributed computing! Successful architecture, and will continue to be so (adding proxy servers)!

More information

Motivation for B-Trees

Motivation for B-Trees 1 Motivation for Assume that we use an AVL tree to store about 20 million records We end up with a very deep binary tree with lots of different disk accesses; log2 20,000,000 is about 24, so this takes

More information

Peer-to-Peer Systems and Distributed Hash Tables

Peer-to-Peer Systems and Distributed Hash Tables Peer-to-Peer Systems and Distributed Hash Tables CS 240: Computing Systems and Concurrency Lecture 8 Marco Canini Credits: Michael Freedman and Kyle Jamieson developed much of the original material. Selected

More information

Peer-to-Peer Signalling. Agenda

Peer-to-Peer Signalling. Agenda Peer-to-Peer Signalling Marcin Matuszewski marcin@netlab.hut.fi S-38.115 Signalling Protocols Introduction P2P architectures Skype Mobile P2P Summary Agenda 1 Introduction Peer-to-Peer (P2P) is a communications

More information

Search Trees - 1 Venkatanatha Sarma Y

Search Trees - 1 Venkatanatha Sarma Y Search Trees - 1 Lecture delivered by: Venkatanatha Sarma Y Assistant Professor MSRSAS-Bangalore 11 Objectives To introduce, discuss and analyse the different ways to realise balanced Binary Search Trees

More information

Predecessor. Predecessor. Predecessors. Predecessors. Predecessor Problem van Emde Boas Tries. Predecessor Problem van Emde Boas Tries.

Predecessor. Predecessor. Predecessors. Predecessors. Predecessor Problem van Emde Boas Tries. Predecessor Problem van Emde Boas Tries. Philip Bille s problem. Maintain a set S U = {,..., u-} supporting predecessor(x): return the largest element in S that is x. sucessor(x): return the smallest element in S that is x. insert(x): set S =

More information

Addressed Issue. P2P What are we looking at? What is Peer-to-Peer? What can databases do for P2P? What can databases do for P2P?

Addressed Issue. P2P What are we looking at? What is Peer-to-Peer? What can databases do for P2P? What can databases do for P2P? Peer-to-Peer Data Management - Part 1- Alex Coman acoman@cs.ualberta.ca Addressed Issue [1] Placement and retrieval of data [2] Server architectures for hybrid P2P [3] Improve search in pure P2P systems

More information

Database Architectures

Database Architectures B0B36DBS, BD6B36DBS: Database Systems h p://www.ksi.m.cuni.cz/~svoboda/courses/172-b0b36dbs/ Lecture 11 Database Architectures Authors: Tomáš Skopal, Irena Holubová Lecturer: Mar n Svoboda, mar n.svoboda@fel.cvut.cz

More information

Today. Why might P2P be a win? What is a Peer-to-Peer (P2P) system? Peer-to-Peer Systems and Distributed Hash Tables

Today. Why might P2P be a win? What is a Peer-to-Peer (P2P) system? Peer-to-Peer Systems and Distributed Hash Tables Peer-to-Peer Systems and Distributed Hash Tables COS 418: Distributed Systems Lecture 7 Today 1. Peer-to-Peer Systems Napster, Gnutella, BitTorrent, challenges 2. Distributed Hash Tables 3. The Chord Lookup

More information

x-fast and y-fast Tries

x-fast and y-fast Tries x-fast and y-fast Tries Problem Problem Set Set 7 due due in in the the box box up up front. front. That's That's the the last last problem problem set set of of the the quarter! quarter! Outline for Today

More information

Telematics Chapter 9: Peer-to-Peer Networks

Telematics Chapter 9: Peer-to-Peer Networks Telematics Chapter 9: Peer-to-Peer Networks Beispielbild User watching video clip Server with video clips Application Layer Presentation Layer Application Layer Presentation Layer Session Layer Session

More information

Distributed Hash Tables: Chord

Distributed Hash Tables: Chord Distributed Hash Tables: Chord Brad Karp (with many slides contributed by Robert Morris) UCL Computer Science CS M038 / GZ06 12 th February 2016 Today: DHTs, P2P Distributed Hash Tables: a building block

More information

HYDRAstor: a Scalable Secondary Storage

HYDRAstor: a Scalable Secondary Storage HYDRAstor: a Scalable Secondary Storage 7th USENIX Conference on File and Storage Technologies (FAST '09) February 26 th 2009 C. Dubnicki, L. Gryz, L. Heldt, M. Kaczmarczyk, W. Kilian, P. Strzelczak, J.

More information

Suffix trees and applications. String Algorithms

Suffix trees and applications. String Algorithms Suffix trees and applications String Algorithms Tries a trie is a data structure for storing and retrieval of strings. Tries a trie is a data structure for storing and retrieval of strings. x 1 = a b x

More information

EFFICIENT ROUTING OF LOAD BALANCING IN GRID COMPUTING

EFFICIENT ROUTING OF LOAD BALANCING IN GRID COMPUTING EFFICIENT ROUTING OF LOAD BALANCING IN GRID COMPUTING MOHAMMAD H. NADIMI-SHAHRAKI*, FARAMARZ SAFI, ELNAZ SHAFIGH FARD Department of Computer Engineering, Najafabad branch, Islamic Azad University, Najafabad,

More information

Peer to peer systems: An overview

Peer to peer systems: An overview Peer to peer systems: An overview Gaurav Veda (Y1148) gveda@cse.iitk.ac.in Computer Science & Engineering Indian Institute of Technology Kanpur, UP, INDIA - 208016 Abstract Peer-to-peer (p2p) systems is

More information

DHT Overview. P2P: Advanced Topics Filesystems over DHTs and P2P research. How to build applications over DHTS. What we would like to have..

DHT Overview. P2P: Advanced Topics Filesystems over DHTs and P2P research. How to build applications over DHTS. What we would like to have.. DHT Overview P2P: Advanced Topics Filesystems over DHTs and P2P research Vyas Sekar DHTs provide a simple primitive put (key,value) get (key) Data/Nodes distributed over a key-space High-level idea: Move

More information

CSE 5306 Distributed Systems. Naming

CSE 5306 Distributed Systems. Naming CSE 5306 Distributed Systems Naming 1 Naming Names play a critical role in all computer systems To access resources, uniquely identify entities, or refer to locations To access an entity, you have resolve

More information

416 Distributed Systems. Mar 3, Peer-to-Peer Part 2

416 Distributed Systems. Mar 3, Peer-to-Peer Part 2 416 Distributed Systems Mar 3, Peer-to-Peer Part 2 Scaling Problem Millions of clients server and network meltdown 2 P2P System Leverage the resources of client machines (peers) Traditional: Computation,

More information

Distributed Systems Final Exam

Distributed Systems Final Exam 15-440 Distributed Systems Final Exam Name: Andrew: ID December 12, 2011 Please write your name and Andrew ID above before starting this exam. This exam has 14 pages, including this title page. Please

More information

Providing File Services using a Distributed Hash Table

Providing File Services using a Distributed Hash Table Providing File Services using a Distributed Hash Table Lars Seipel, Alois Schuette University of Applied Sciences Darmstadt, Department of Computer Science, Schoefferstr. 8a, 64295 Darmstadt, Germany lars.seipel@stud.h-da.de

More information

Building a low-latency, proximity-aware DHT-based P2P network

Building a low-latency, proximity-aware DHT-based P2P network Building a low-latency, proximity-aware DHT-based P2P network Ngoc Ben DANG, Son Tung VU, Hoai Son NGUYEN Department of Computer network College of Technology, Vietnam National University, Hanoi 144 Xuan

More information

DATA STRUCTURE : A MCQ QUESTION SET Code : RBMCQ0305

DATA STRUCTURE : A MCQ QUESTION SET Code : RBMCQ0305 Q.1 If h is any hashing function and is used to hash n keys in to a table of size m, where n

More information

Lecture 12 March 21, 2007

Lecture 12 March 21, 2007 6.85: Advanced Data Structures Spring 27 Oren Weimann Lecture 2 March 2, 27 Scribe: Tural Badirkhanli Overview Last lecture we saw how to perform membership quueries in O() time using hashing. Today we

More information

SplitQuest: Controlled and Exhaustive Search in Peer-to-Peer Networks

SplitQuest: Controlled and Exhaustive Search in Peer-to-Peer Networks SplitQuest: Controlled and Exhaustive Search in Peer-to-Peer Networks Pericles Lopes Ronaldo A. Ferreira pericles@facom.ufms.br raf@facom.ufms.br College of Computing, Federal University of Mato Grosso

More information

Finding Data in the Cloud using Distributed Hash Tables (Chord) IBM Haifa Research Storage Systems

Finding Data in the Cloud using Distributed Hash Tables (Chord) IBM Haifa Research Storage Systems Finding Data in the Cloud using Distributed Hash Tables (Chord) IBM Haifa Research Storage Systems 1 In File Systems The App needs to know the path /home/user/my pictures/ The Filesystem looks up the directory

More information

Lecture 7 February 26, 2010

Lecture 7 February 26, 2010 6.85: Advanced Data Structures Spring Prof. Andre Schulz Lecture 7 February 6, Scribe: Mark Chen Overview In this lecture, we consider the string matching problem - finding all places in a text where some

More information