Aggregating Information in Peer-to-Peer Systems for Improved Join and Leave Distributed Computing Group Keno Albrecht Ruedi Arnold Michael Gähwiler Roger.

Slides:



Advertisements
Similar presentations
SkipNet: A Scalable Overlay Network with Practical Locality Properties Nick Harvey, Mike Jones, Stefan Saroiu, Marvin Theimer, Alec Wolman Microsoft Research.
Advertisements

Alex Cheung and Hans-Arno Jacobsen August, 14 th 2009 MIDDLEWARE SYSTEMS RESEARCH GROUP.
Ion Stoica, Robert Morris, David Karger, M. Frans Kaashoek, Hari Balakrishnan MIT and Berkeley presented by Daniel Figueiredo Chord: A Scalable Peer-to-peer.
Pastry Peter Druschel, Rice University Antony Rowstron, Microsoft Research UK Some slides are borrowed from the original presentation by the authors.
1 IP-Lookup and Packet Classification Advanced Algorithms & Data Structures Lecture Theme 08 – Part I Prof. Dr. Th. Ottmann Summer Semester 2006.
Fast Algorithms For Hierarchical Range Histogram Constructions
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.
TOPOLOGIES FOR POWER EFFICIENT WIRELESS SENSOR NETWORKS ---KRISHNA JETTI.
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.
Fabian Kuhn, Microsoft Research, Silicon Valley
Search and Replication in Unstructured Peer-to-Peer Networks Pei Cao, Christine Lv., Edith Cohen, Kai Li and Scott Shenker ICS 2002.
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.
Applications over P2P Structured Overlays Antonino Virgillito.
Pastry: Scalable, decentralized object location and routing for large-scale peer-to-peer systems Antony Rowstron and Peter Druschel Proc. of the 18th IFIP/ACM.
Taming Dynamic and Selfish Peers “Peer-to-Peer Systems and Applications” Dagstuhl Seminar March 26th-29th, 2006 Stefan Schmid Distributed Computing Group.
SkipNet: A Scalable Overlay Network with Practical Locality Properties Nick Harvey, Mike Jones, Stefan Saroiu, Marvin Theimer, Alec Wolman Presented by.
Distributed Computing Group A Self-Repairing Peer-to-Peer System Resilient to Dynamic Adversarial Churn Fabian Kuhn Stefan Schmid Roger Wattenhofer IPTPS.
Dynamic Hypercube Topology Stefan Schmid URAW 2005 Upper Rhine Algorithms Workshop University of Tübingen, Germany.
SkipNet: A Scalable Overlay Network with Practical Locality Properties Nick Harvey, Mike Jones, Stefan Saroiu, Marvin Theimer, Alec Wolman Microsoft Research.
Scalable Ad Hoc Routing: The Case for Dynamic Addressing INFOCOM 2004 Jakob Eriksson, Michalis Faloutsos, Srikanth Krishnamurthy University of California,
Vassilios V. Dimakopoulos and Evaggelia Pitoura Distributed Data Management Lab Dept. of Computer Science, Univ. of Ioannina, Greece
Chord-over-Chord Overlay Sudhindra Rao Ph.D Qualifier Exam Department of ECECS.
Topics in Reliable Distributed Systems Fall Dr. Idit Keidar.
Peer To Peer Distributed Systems Pete Keleher. Why Distributed Systems? l Aggregate resources! –memory –disk –CPU cycles l Proximity to physical stuff.
P2P Course, Structured systems 1 Skip Net (9/11/05)
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.
“Umbrella”: A novel fixed-size DHT protocol A.D. Sotiriou.
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.
Effizientes Routing in P2P Netzwerken Chord: A Scalable Peer-to- peer Lookup Protocol for Internet Applications Dennis Schade.
Other Structured P2P Systems CAN, BATON Lecture 4 1.
Chord: A Scalable Peer-to-peer Lookup Protocol for Internet Applications Xiaozhou Li COS 461: Computer Networks (precept 04/06/12) Princeton University.
Structuring P2P networks for efficient searching Rishi Kant and Abderrahim Laabid Abderrahim Laabid.
Content Addressable Network CAN. The CAN is essentially a distributed Internet-scale hash table that maps file names to their location in the network.
Presentation 1 By: Hitesh Chheda 2/2/2010. Ion Stoica, Robert Morris, David Karger, M. Frans Kaashoek, Hari Balakrishnan MIT Laboratory for Computer Science.
PODC Distributed Computation of the Mode Fabian Kuhn Thomas Locher ETH Zurich, Switzerland Stefan Schmid TU Munich, Germany TexPoint fonts used in.
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.
Kaleidoscope – Adding Colors to Kademlia Gil Einziger, Roy Friedman, Eyal Kibbar Computer Science, Technion 1.
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
CountTorrent: Ubiquitous Access to Query Aggregates in Dynamic and Mobile Sensor Networks Abhinav Kamra, Vishal Misra and Dan Rubenstein - Columbia University.
1. Outline  Introduction  Different Mechanisms Broadcasting Multicasting Forward Pointers Home-based approach Distributed Hash Tables Hierarchical approaches.
Idit Keidar, Principles of Reliable Distributed Systems, Technion EE, Spring Principles of Reliable Distributed Systems Lecture 2: Distributed Hash.
Plethora: Infrastructure and System Design. Introduction Peer-to-Peer (P2P) networks: –Self-organizing distributed systems –Nodes receive and provide.
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
Minimizing Churn in Distributed Systems P. Brighten Godfrey, Scott Shenker, and Ion Stoica UC Berkeley SIGCOMM’06.
Peer to Peer Network Design Discovery and Routing algorithms
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.
INTERNET TECHNOLOGIES Week 10 Peer to Peer Paradigm 1.
Plethora: A Locality Enhancing Peer-to-Peer Network Ronaldo Alves Ferreira Advisor: Ananth Grama Co-advisor: Suresh Jagannathan Department of Computer.
CS694 - DHT1 Distributed Hash Table Systems Hui Zhang University of Southern California.
Incrementally Improving Lookup Latency in Distributed Hash Table Systems Hui Zhang 1, Ashish Goel 2, Ramesh Govindan 1 1 University of Southern California.
Adlib : A Self-Tuning Index for Dynamic Peer-to-Peer Systems Proceedings of the 21st International Conference on Data Engineering(ICDE'05) Prasanna Ganesan.
Chord: A Scalable Peer-to-Peer Lookup Service for Internet Applications * CS587x Lecture Department of Computer Science Iowa State University *I. Stoica,
Chapter 29 Peer-to-Peer Paradigm Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Peer-to-Peer Information Systems Week 12: Naming
Pastry Scalable, decentralized object locations and routing for large p2p systems.
Impact of Neighbor Selection on Performance and Resilience of Structured P2P Networks Sushma Maramreddy.
Improving and Generalizing Chord
S-Chord: Using Symmetry to Improve Lookup Efficiency in Chord
Know thy Neighbor’s Neighbor Better Routing for Skip Graphs and Small Worlds Moni Naor Udi Wieder.
DHT Routing Geometries and Chord
MIT LCS Proceedings of the 2001 ACM SIGCOMM Conference
Peer-to-Peer Information Systems Week 12: Naming
Presentation transcript:

Aggregating Information in Peer-to-Peer Systems for Improved Join and Leave Distributed Computing Group Keno Albrecht Ruedi Arnold Michael Gähwiler Roger Wattenhofer P2P2004

August P2P20042 Overview Introduction –P2P Topologies: “Tree” Structure –Join & Leave in P2P Distributed Approximation System Information Service (DASIS) Join Algorithms using DASIS Simulation Results Conclusion & Outlook

August P2P20043 P2P Topologies Different P2P Topologies –Ring, d-dimensional address space… Tree Topology –Unique ID (bit string) per peer –ID specifies “domain space” –Peer is responsible for storing all keys with IDs within its domain space (longest prefix match) –Example: Kademlia (P. Maymounkov and D. Mazieres. Kademlia: A Peer- to-peer Information System Based on the XOR Metric. In Proceedings of IPTPS, Cambridge, MA, USA, March 2002.)

August P2P20044 Tree P2P Topology Tree-Example: –Neighbors p i Neighbor p i has the same (i-1) first bits and bit i inverted Allow efficient logarithmic search (lookup) operation –Consider peer with ID 001 ID:001 p1p1 p2p2 p3p3 Peer 001 Neighbors i neighbor

August P2P20045 Joins and Leaves in P2P Systems Lingering Problem: Assignment of ID to peers P2P systems are decentralized and dynamic: random assignment is used –Used as reference in simulations This does not well balance the peers –Logarithmic imbalance factor (balls-into-bins analysis) –A highly loaded peer stores a factor  (log n) more keys than a peer with average load, whp. Different random remedies have been proposed Our proposal: a non-randomized join-algorithm –based on a distributed approximative information service for P2P systems

August P2P20046 DASIS Distributed Approximation System Information Service Abstract decentralized service Provides approximate information about the P2P system Built on top of the regular P2P structure Accuracy depends on the message propagation mechanism Can deliver a wide range of information, e.g.: –number of peers in the system (illustrative example) –minimal depth of peers in the system –average up-time –total amount of bytes stored in the system –…

August P2P20047 DASIS Example: Number of Peers Main idea: peer p is considered an “expert” on all the sub domains of the prefixes of its bit string ID b 1 b 2 …b n The expert knowledge is constructed inductively through information exchange with the neighbor peers Let’s consider our example again…

August P2P20048 DASIS - accuracy For the implementation of DASIS, several update strategies were employed –Periodical: regular updates to neighbors –Adaptive: only if changes occurred –Piggyback: along with regular (e.g. lookup) messages Favorite: Piggybacking - no additional (message) cost! –Quality reduces gracefully

August P2P20049 Join Algorithms using DASIS Idea: insert peer where they are “most needed” –How is this need specified? We want a well-balanced topology! –Assumption: large and uniform distributed key population –All Peers should be at more or less the same depth Depth of a peer = length of its bit string Depth = 2 Depth = 3 Depth = 4

August P2P Depth Join Uses DASIS minimal depth service Algorithm –New peer is routed through the P2P system to sub domains with smallest depth –At every peer passed, one bit of the bit string of the “joiner” is fixed -> Termination guaranteed –If further routing is not possible -> insert Inserting peer assigns joining peer its own bit string plus a 1 and appends a 0 to its own bit string Splitting the local domain space in half

August P2P Simulation – the Criterion Two evaluation criteria –minimal depth D –Balance measure B More fine-grained taking the number of peers with small depth into account B =  2 -2d i > 0 –Sum over all peers in the system –d i = depth of peer i Normalized with optimal balance B Opt :  Alg = B Opt / B Alg > 0 –  Opt = 1 Random Join (RJ) for reference

August P2P Simulation – Inserting 22k Peers Depth Join (DJ) performs better than Random Join (RJ) – minimal depth service only piggybacking regular messages

August P2P Simulation – Steady State Peers joining, leaving and performing lookup operations –Load parameter L: average number of lookups before leaving –Lookup messages for piggybacking –Higher load -> more accurate depth information -> better balanced system steady state is quickly reached! –Independent of start distribution Better than RJ

August P2P Conclusion We introduced DASIS the Distributed Approximation System Information Service –Powerful tool, many applications –Sample application: Minimal depth information for improved Join and Leave Join Algorithm based on depth information leads to better balanced P2P systems –Better than random assignment of IDs (Random Join) –Especially in cases of imbalances (e.g. due to a high number of leaving peers, or malicious attackers)

August P2P Another Conclusion Similar ideas contemporaneously developed for “Willow” –follow-up work of Astrolabe –Support for publish/subscribe –Uses SQL-like queries for information aggregation –Not employed for an improved join algorithm –Shows variety of applications of aggregation mechanism. –(R. van Renesse and A. Bozdog. Willow: DHT, Aggregation, and Publish/Subscribe in One Protocol. In Proceedings of IPTPS 2004.)

August P2P Outlook 1 DASIS was explained on a “Tree Style“ P2P topology Could also be integrated into existing P2P systems –Skip List based topologies such as Skip Graph, SkipNet –Ring topologies like Chord or Pastry Sketch of DASIS on Chord in the paper “How many peers in interval” instead of “How many peers with prefix x” Finger intervals may overlap –Adjustment approximately possible –No problem for min or max functions

August P2P Outlook 2 Theoretical analysis in progress… –To be published soon by Kuhn, Schmid and Wattenhofer –Surprising results Synchronous model system with diameter D  “Every node knows exact state of system D time ago” Still to be done… –Implement DASIS and Join Algorithm for real-world measurement

Questions? Comments? Distributed Computing Group Thank you.