Geographic Hash Table S. Ratnasamy, B. Karp, S. Shenker, D. Estrin, R. Govindan, L. Yin and F. Yu.

Slides:



Advertisements
Similar presentations
Geographic Routing Without Location Information AP, Sylvia, Ion, Scott and Christos.
Advertisements

ECE /24/2005 A Survey on Position-Based Routing in Mobile Ad-Hoc Networks Alok Sabherwal.
1 S4: Small State and Small Stretch Routing for Large Wireless Sensor Networks Yun Mao 2, Feng Wang 1, Lili Qiu 1, Simon S. Lam 1, Jonathan M. Smith 2.
Scalable Content-Addressable Network Lintao Liu
A Presentation by: Noman Shahreyar
1 GPSR: Greedy Perimeter Stateless Routing for Wireless Networks B. Karp, H. T. Kung Borrowed slides from Richard Yang.
1 Data-Centric Storage in Sensornets with GHT, A Geographic Hash Table Sylvia Ratnasamy, Scott Shenker, Brad Karp, Ramesh Govindan, Deborah Estrin, Li.
Geo – Routing in ad hoc nets References: Brad Karp and H.T. Kung “GPSR: Greedy Perimeter Stateless Routing for Wireless Networks”, Mobicom 2000 M. Zorzi,
Rumor Routing Algorithm For sensor Networks David Braginsky, Computer Science Department, UCLA Presented By: Yaohua Zhu CS691 Spring 2003.
The University of Iowa. Copyright© 2005 A. Kruger 1 Introduction to Wireless Sensor Networks WSN Routing II 21 March 2005.
Rumor Routing in Sensor Networks David Braginsky and Deborah Estrin Presented By Tu Tran 1.
Sylvia Ratnasamy, Paul Francis, Mark Handley, Richard Karp, Scott Schenker Presented by Greg Nims.
Geographic Routing Without Location Information A. Rao, S. Ratnasamy, C. Papadimitriou, S. Shenker, I. Stoica Paper and Slides by Presented by Ryan Carr.
A Mobile Infrastructure Based VANET Routing Protocol in the Urban Environment School of Electronics Engineering and Computer Science, PKU, Beijing, China.
Small-world Overlay P2P Network
Data-Centric Storage in Sensor Networks With GHT Khaldoun A. Ibrahim,
An Energy-Efficient Data Storage Scheme for Multi- resolution Query in Wireless Sensor Networks 老師 : 溫志煜 學生 : 官其瑩.
Data Centric Storage using GHT Lecture 13 October 14, 2004 EENG 460a / CPSC 436 / ENAS 960 Networked Embedded Systems & Sensor Networks Andreas Savvides.
1-1 CMPE 259 Sensor Networks Katia Obraczka Winter 2005 Storage and Querying II.
An Implementation Framework for Trajectory-Based Routing in Ad Hoc Networks Murat Yuksel, Ritesh Pradhan, Shivkumar Kalyanaraman Electrical, Computer,
Sylvia Ratnasamy, Paul Francis, Mark Handley, Richard Karp, Scott Shenker A Scalable, Content- Addressable Network (CAN) ACIRI U.C.Berkeley Tahoe Networks.
Beneficial Caching in Mobile Ad Hoc Networks Bin Tang, Samir Das, Himanshu Gupta Computer Science Department Stony Brook University.
1 Data-Centric Storage in Sensornets Sylvia Ratnasamy, Scott Shenker, Brad Karp, Ramesh Govindan, Deborah Estrin ICSI/UCB/USC/UCLA Presenter: Vijay Sundaram.
Multi-dimensional Range Query in Sensor Networks Xin Li,Young Jim Kim, Ramesh Govindan (University of Southern California ) Wei Hong (Intel Research Lab.
Geometric Spanners for Routing in Mobile Networks Jie Gao, Leonidas Guibas, John Hershberger, Li Zhang, An Zhu.
Distributed Quad-Tree for Spatial Querying in Wireless Sensor Networks (WSNs) Murat Demirbas, Xuming Lu Dept of Computer Science and Engineering, University.
A Scalable Content-Addressable Network Authors: S. Ratnasamy, P. Francis, M. Handley, R. Karp, S. Shenker University of California, Berkeley Presenter:
Data-Centric Storage in Sensornets Submitted to Sigcomm 2002 Authors: Sylvia Ratnasamy et al. ICIR, UCLA, UC-Berkeley Presenter:Shang-Chieh Wu
CS 672 Paper Presentation Presented By Saif Iqbal “CarNet: A Scalable Ad Hoc Wireless Network System” Robert Morris, John Jannotti, Frans Kaashoek, Jinyang.
1 GPSR: Greedy Perimeter Stateless Routing for Wireless Networks B. Karp, H. T. Kung Borrowed some Richard Yang‘s slides.
Distributed Quad-Tree for Spatial Querying in Wireless Sensor Networks (WSNs) Murat Demirbas, Xuming Lu Dept of Computer Science and Engineering, University.
1 Load Balance and Efficient Hierarchical Data-Centric Storage in Sensor Networks Yao Zhao, List Lab, Northwestern Univ Yan Chen, List Lab, Northwestern.
1 Load Balance and Efficient Hierarchical Data-Centric Storage in Sensor Networks Yao Zhao, List Lab, Northwestern Univ Yan Chen, List Lab, Northwestern.
Beacon Vector Routing: Scalable Point-to-Point Routing in Wireless Sensornets.
Geographic Routing Without Location Information A. Rao, C. Papadimitriou, S. Shenker, and I. Stoica In Proceedings of the 9th Annual international Conference.
CS401 presentation1 Effective Replica Allocation in Ad Hoc Networks for Improving Data Accessibility Takahiro Hara Presented by Mingsheng Peng (Proc. IEEE.
An adaptive framework of multiple schemes for event and query distribution in wireless sensor networks Vincent Tam, Keng-Teck Ma, and King-Shan Lui IEEE.
Load Balancing of In-Network Data-Centric Storage Schemes in Sensor Networks Mohamed Aly In collaboration with Kirk Pruhs and Panos K. Chrysanthis Advanced.
2008/2/191 Customizing a Geographical Routing Protocol for Wireless Sensor Networks Proceedings of the th International Conference on Information.
Lyon, June 26th 2006 ICPS'06: IEEE International Conference on Pervasive Services 2006 Routing and Localization Services in Self-Organizing Wireless Ad-Hoc.
Ubiquitous Networks WSN Routing Protocols Lynn Choi Korea University.
Data centric Storage In Sensor networks Based on Balaji Jayaprakash’s slides.
Decomposing Data-Centric Storage Query Hot-Spots in Sensor Netwokrs Mohamed Aly, Panos K. Chrysanthis, and Kirk Pruhs University of Pittsburgh Proceeding.
Computer Science 1 CSC 774 Advanced Network Security Distributed detection of node replication attacks in sensor networks (By Bryan Parno, Adrian Perrig,
Content Addressable Network CAN. The CAN is essentially a distributed Internet-scale hash table that maps file names to their location in the network.
Benjamin AraiUniversity of California, Riverside Reliable Hierarchical Data Storage in Sensor Networks Song Lin – Benjamin.
ENERGY-EFFICIENT FORWARDING STRATEGIES FOR GEOGRAPHIC ROUTING in LOSSY WIRELESS SENSOR NETWORKS Presented by Prasad D. Karnik.
 SNU INC Lab MOBICOM 2002 Directed Diffusion for Wireless Sensor Networking C. Intanagonwiwat, R. Govindan, D. Estrin, John Heidemann, and Fabio Silva.
Data Centric Storage: GHT Brad Karp UCL Computer Science CS 4C38 / Z25 17 th January, 2006.
Zone Sharing: A Hot-Spots Decomposition Scheme for Data-Centric Storage in Sensor Networks Mohamed Aly Nicholas Morsillo Panos K. Chrysanthis Kirk Pruhs.
Communication Paradigm for Sensor Networks Sensor Networks Sensor Networks Directed Diffusion Directed Diffusion SPIN SPIN Ishan Banerjee
GPSR: Greedy Perimeter Stateless Routing for Wireless Networks EECS 600 Advanced Network Research, Spring 2005 Shudong Jin February 14, 2005.
Scalable Content- Addressable Networks Prepared by Kuhan Paramsothy March 5, 2007.
Rendezvous Regions: A Scalable Architecture for Service Location and Data-Centric Storage in Large-Scale Wireless Sensor Networks Karim Seada, Ahmed Helmy.
Interconnect simulation. Different levels for Evaluating an architecture Numerical models – Mathematic formulations to obtain performance characteristics.
Geo Location Service CS218 Fall 2008 Yinzhe Yu, et al : Enhancing Location Service Scalability With HIGH-GRADE Yinzhe Yu, et al : Enhancing Location Service.
Energy conservation in Wireless Sensor Networks Sagnik Bhattacharya, Tarek Abdelzaher University of Virginia, Department of Computer Science School of.
1 Presented by Jing Sun Computer Science and Engineering Department University of Conneticut.
An Energy-Efficient Geographic Routing with Location Errors in Wireless Sensor Networks Julien Champ and Clement Saad I-SPAN 2008, Sydney (The international.
Cross-Layer Scheduling for Power Efficiency in Wireless Sensor Networks Mihail L. Sichitiu Department of Electrical and Computer Engineering North Carolina.
Energy Efficient Data Management for Wireless Sensor Networks with Data Sink Failure Hyunyoung Lee, Kyoungsook Lee, Lan Lin and Andreas Klappenecker †
Query-based wireless sensor storage management for real time applications Ravinder Tamishetty, Lek Heng Ngoh, and Pung Hung Keng Proceedings of the 2006.
15-829A/18-849B/95-811A/19-729A Internet-Scale Sensor Systems: Design and Policy Review.
Directed Diffusion: A Scalable and Robust Communication Paradigm for Sensor Networks Presented by Barath Raghavan.
Distributed P2P Protocols Gabber-Galil overlay network for data storage in sensor networks.
Spatial Aware Geographic Forwarding for Mobile Ad Hoc Networks Jing Tian, Illya Stepanov, Kurt Rothermel {tian, stepanov,
Murat Yuksel, Ritesh Pradhan, Shivkumar Kalyanaraman
Introduction to Wireless Sensor Networks
GPSR Greedy Perimeter Stateless Routing
Net 435: Wireless sensor network (WSN)
Presentation transcript:

Geographic Hash Table S. Ratnasamy, B. Karp, S. Shenker, D. Estrin, R. Govindan, L. Yin and F. Yu

Overview Data Centric Storage Data is stored inside the network – each name corresponds to a location in space All data with the same name will be stored at the same sensor network location E.g an elephant sighting Why Data centric Storage? Energy efficiency Robustness against mobility and node failures Scalability

Keywords and Terminology Observation ♦ low-level readings from sensors ♦ e.g. Detailed temperature readings Events ♦ Predefined constellations of low-level observations ♦ e.g. temperature greater than 75 F Queries ♦ Used to elicit information from sensor network

Performance Metric:Total Usage /Hotspot Usage Use communication as a cost function for energy consumption Total Usage Total number of packets sent in the Sensor network Hotspot Usage The maximal number of packets send by a particular sensor node Costs used in the evaluation Message flooding cost O(n) Point-to-point routing cost n is the number of nodes

Alternative Storage Schemes External Storage (ES) Events propagated and stored at an external location Local Storage (LS) Events stored locally at the detecting node Queries are flooded to all nodes and the events are sent back Data Centric Storage (DCS) Data for an event stored within the sensor network Queries are directed to the node that stores the data

External Storage (ES) External storage event

Local Storage (LS) event Queries flooded at all the nodes

Why do we need DCS? Scalability Robustness against Node failures and Node mobility To achieve Energy-efficiency

Design Criterial: Scalability & Robustness Node failures Topology changes System scale to large number of nodes Energy Constraints Persistence (k,v) pair must remain available to queries, despite sensor node failures and changes in sensor network topology Consistency A query k must be routed correctly to a node where (k,v) pairs are stored – if these node change, then they should do this consisently Scaling in Database Size Topological generality – system should scale well on a large number of topologies

Assumptions in DCS Large Scale networks whose approximate geographic boundaries are known Nodes have short range communication and are within the radio range of several other nodes Nodes know their own locations by GPS or some localization scheme Communication to the outside world takes place by one or more access points

Data Centric Storage Relevant Data are stored by “name” at nodes within the Sensor network All data with the same general name will be stored at the same sensor-net node. e.g. (“elephant sightings”) Queries for data with a particular name are then sent directly to the node storing those named data

Data centric Storage Elephant Sighting source:lass.cs.umass.edu

Geographic Hash Table Events are named with keys and both the storage and the retrieval are performed using keys GHT provides (key, value) based associative memory

Geographic Hash Table Operations GHT supports two operations ♦ Put(k,v)-stores v (observed data) according to the key k ♦ Get(k)-retrieve whatever value is associated with key k Hash function ♦ Hash the key in to the geographic coordinates ♦ Put() and Get() operations on the same key “ k ” hash k to the same location

Storing Data in GHT Put (“elephant”, data) (12,24) Hash (‘elephant’)=(12,24) source:lass.cs.umass.edu

Retrieving data in GHT Get (“elephant”) Hash (‘elephant’)=(12,24) (12,24)

Geographic Hash Table Node A Node B

Algorithms Used By GHT Geographic hash Table uses GPSR for Routing( Greedy Perimeter Stateless Routing ) PEER-TO-PEER look up system ( data object is associated with key and each node in the system is responsible for storing a certain range of keys )

Algorithm (Contd) GPSR- Packets are marked with position of destinations and each node is aware of its position Greedy forwarding algorithm Perimeter forwarding algorithm A B A B

GPSR: Right-Hand Rule In Perimeter Forwarding x y z 1 2 3

Home Node and Home perimeter Home node: Node geographically nearest to the destination coordinates of the packet Serves as the rendezvous point for Get() and Put() operations on the same key In GHT packet is not addressed to specific node but only to a specific location Use GPSR to find the home node only perimeter mode of GPSR to find Home Perimeter Home Perimeter – perimeter that encloses the destination Start from the home node, and use perimeter mode to make a cycle and return to the home node

Problems Robustness could be affected » Nodes could move (i.d. of Home node?) » Node failure can Occur » Deployment of new Nodes Not Scalable » Storage capacity of the home nodes » Bottleneck at Home nodes

Solutions to the problems Perimeter refresh protocol mostly addresses the robustness issue Structured Replication address the scalability issue how to handle storage of many events

Perimeter refresh protocol Replicates stored data for key k at nodes around the location to which k hashes Stores a copy of the key value pair at each node on the home perimeter Each node on the perimeter is called a replica node How do you ensure consistency & persistence A node becomes the home node if a packet for a particular key arrives at that node The perimeter refresh protocols periodically sends out refresh packets After a time period T h generate a refresh packet that contains the data for that key Packet forwarded on the home perimeter in the same way as Get() and Put() The refresh packet will take a tour of the home perimeter regardless the changes in the network topology since the key’s insertion This property maintains the perimeter

Perimeter Refresh Protocol How do you guard against node failures When a replica node receives a packet it did not originate, it caches the data in the refresh and sets up a takeover timer T t Timer is reset each time a refresh from another node arrives If the timer expires the replica node initiates a refresh packet addressed to the key’s hashed location Note: That particular node does not determine a new home node. The GHT routing causes the refresh to reach a node home node

Perimeter Refresh Protocol E F B D A C L home Replica Assume key k hashes at location L A is closest to L so it becomes the home node

Perimeter Refresh Protocol E D F C B L Replica home Replica Suppose the node A dies

Time Specifications Refresh time (T h ) Take over time (T t ) Death time (T d ) General rule T d >T h and T t >T h In GHT Td=3Th and Tt=2Th

Characteristics Of Refresh Packet Refresh packet is addressed to the hashed location of the key Every (T h ) secs the home node will generate refresh packet Refresh packet contains the data stored for the key and routed exactly as get() and put() operations Refresh packet always travels along the home perimeter

Structured Replication Too many events are detected then home node will become the hotspot of communication. Structured replication is used to address the scaling problem Hierarchical decomposition of the key space Event names have a certain hierarchy depth

Structured Replication

A node that detects a new event, stores that event to its closest mirror this is easily computable This reduces the storage cost, but increases the query cost GHT has to route the queries to all mirror nodes Queries are routes recursively First route query to the root, then to the first level and then to the second level mirrors Structured replication becomes more useful for frequently detected events

Evaluation Simulation to test if the protocol is functioning correctly Done in the ns-2 network simulator using an IEEE mac This is a well known event driven simulator for ad- hoc networks Larger scale simulations for the comparative study where done with a custom simulator

Comparative Study Simulation compares the following schemes External Storage (ES) Local Storage (LS) Normal DCS – A query returns a separate message for each detected event Summarized DCS(S-DCS): A query returns a single message regardless of the number of detected events Structured Replication DCS (SR_DCS) – Assuming an optimal level of SR Comparison based on Cost Comparison based on Total usage and Hot spot usage

Assumptions in comparison Asymptotic costs of O(n) for floods and O( n) for point to point routing Event locations are distributed randomly Event locations are not known in advance No more than one query for each event type (Q –Queries in total) Assume access points to be the most heavily used area of the sensor network

Comparison based on Hot-spot/Total Usage n - Number of nodes T - Number of Event types Q – Number Of Event types queried for D total – Total number of detected events D Q - Number of detected events for queries

DCS TYPES Normal DCS – Query returns a separate message for each detected event Summarized DCS – Query returns a single message regardless of the number of detected events (usually summary is preferred)

Comparison Study – contd.. ESLSDCS Total Hot spot

Observations from the Comparison DCS is preferable only in cases where Sensor network is Large There are many detected events and not all event types queried D total >>max(D q, Q)

Simulations To check the Robustness of GHT To compare the Storage methods in terms of total and hot spot usage

Simulation Setup ns-2 Node Density – 1node/256m 2 Radio Range – 40 m Number of Nodes -50,100,150,200 Mobility Rate -0,0.1,1m/s Query generation Rate -2qps Event types – 20 Events detected -10/type Refresh interval -10 s

Performance metrics Availability of data stored to Queriers (In terms of success rate) Loads placed on the nodes participating in GHT (hotspot usage)

Simulation Results for Robustness GHT offers perfect availability of stored events in static case It offers high availability when nodes are subjected to mobility and failures

Simulation Results under varying Q Number of nodes is constant= 10000

Simulation results under varying N Number of Queries Q =50

Simulation Results for comparison of 3-storage methods S-DCS have low hot-spot usage under varying “Q” S-DCS is has the lowest hot-spot usage under varying “n”

Conclusion Data centric storage entails naming of data and storing data at nodes within the sensor network GHT- hashes the key (events) in to geographical co- ordinates and stores a key-value pair at the sensor node geographically nearest to the hash GHT uses Perimeter Refresh Protocol and structured replication to enhance robustness and scalability DCS is useful in large sensor networks and there are many detected events but not all event types are Queried