280 likes | 429 Views
Comb, Needle, and Haystacks: Balancing Push and Pull for Information Discovery. Xin Liu Computer Science Dept. University of California, Davis Collaborators: Qingfeng Huang & Ying Zhang , PARC. Objective. Simple, reliable, and efficient on-demand information discovery mechanisms.
E N D
Comb, Needle, and Haystacks:Balancing Push and Pull for Information Discovery Xin Liu Computer Science Dept. University of California, Davis Collaborators: Qingfeng Huang & Ying Zhang, PARC
Objective Simple, reliable, and efficient on-demand information discovery mechanisms ACM Sensys
Where are the tanks? ACM Sensys
Pull-based Strategy ACM Sensys
Pull-based Cont’d ACM Sensys
Push-based Strategy ACM Sensys
Comb-Needle Structure ACM Sensys
Related Work • D. Braginsky and D. Estrin, “Rumor routing algorithm for sensor networks”, WSNA, 2002. • J. Heidemann, F. Silva, and D. Estrin, “Matching data dissemination algorithms to application requirements”, SENSYS 2003. • ACQUIRE, IDSQ, SRT, GHT, DIMENSIONS, DIM, GRAB, gossip, flooding-based, agent-based, geo-routing, … ACM Sensys
Application Scenarios • On-demand information query • Any node can be the query entry node • Queries may be generated at anytime • Events can happen anywhere and anytime • Examples: • Firefighters query information in the field • Surveillance • Sensor nodes know their locations ACM Sensys
Event When an Event Happens ACM Sensys
Event Event When a Query is Generated Query ACM Sensys
Tuning Comb-Needle ACM Sensys
Global pull +Local push Global push +Local pull Pull Push & Pull Push Relative query frequency increases The Spectrum of Push and Pull Reverse comb Inter-spike spacing increases ACM Sensys
Query Event Reverse Comb When query frequency > event frequency ACM Sensys
Mid-term Review • Basic idea: balancing push and pull • Preview: • Reliability • Random network • An adaptive scheme ACM Sensys
Strategies for Improving Reliability • Local enhancement • Interleaved mesh • Routing update • Spatial diversity • Correlated failures • Enhance and balance query success rate at different geo-locations ACM Sensys
Spatial Diversity x Event Query ACM Sensys
Random Network • Constrained geographical flooding • Needles and combs have certain widths ACM Sensys
Simulation Simulator: Prowler ACM Sensys
Adaptive Scheme • Comb granularity depends on the query and event frequencies • Nodes estimate the query and event frequencies • Important to match needle length and inter-spike spacing • Comb rotates • Load balancing • Broadcast information of current inter-spike spacing ACM Sensys
Simulation • Regular grid • Communication cost: hop counts • No node failure • Adaptive scheme ACM Sensys
Event & Query Frequencies ACM Sensys
Tracking the Ideal Inter-Spike Spacing ACM Sensys
Simulation Results • Gain depends on the query and event frequencies • Even if needle length < inter-spike spacing, there is a chance of success. • Tradeoff between success ratio and cost • 99.33% success ratio and 99.64% power consumption compared to the ideal case ACM Sensys
Global pull +Local push Global push +Local pull Pull Push & Pull Push Relative query frequency increases Summary • Adapt to system changes • Can be applied in hierarchical structures ACM Sensys
Future work • Further study on random networks • Building a “comb-needle-like” structure without location information • Integrated with data aggregation and compression • Comprehensive models for communication costs Thank you! ACM Sensys