Combs, Needles, and Haystacks: Balancing Push and Pull for Information Discovery Xin Liu Computer...

30
Combs, Needles, and Haystacks: Balancing Push and Pull for Information Discovery Xin Liu Computer Science Dept. University of California, Davis Collaborators: Qingfeng Huang & Ying Zhang, PARC Presented by Chien-Liang Fok on March 4, 2004 for CSE730

Transcript of Combs, Needles, and Haystacks: Balancing Push and Pull for Information Discovery Xin Liu Computer...

Combs, Needles, and Haystacks:Balancing Push and Pull for Information Discovery

Xin LiuComputer Science Dept.

University of California, Davis

Collaborators: Qingfeng Huang & Ying Zhang, PARC

Presented by Chien-Liang Fok on March 4, 2004 for CSE730

11/4/2004 ACM Sensys 2

Objective

Simple, reliable, and efficient on-demand information discovery mechanisms

11/4/2004 ACM Sensys 3

Where are the tanks?

11/4/2004 ACM Sensys 4

Pull-based Strategy

11/4/2004 ACM Sensys 5

Pull-based Cont’d

11/4/2004 ACM Sensys 6

Push-based Strategy

11/4/2004 ACM Sensys 7

Comb-Needle Structure

11/4/2004 ACM Sensys 8

Assumptions

Events: Anywhere & Anytime Queries: Anywhere & Anytime

Global discovery-type One shot

Network: Uniform Examples:

Firefighters query information in the field Surveillance

Sensor nodes know their locations

11/4/2004 ACM Sensys 9

When an Event Happens

Event

11/4/2004 ACM Sensys 10

When a Query is Generated

Event

Query

Event

11/4/2004 ACM Sensys 11

Tuning Comb-Needle

11/4/2004 ACM Sensys 12

Query Freq. < Event Freq.

11/4/2004 ACM Sensys 13

Query Freq. < Event Freq.

11/4/2004 ACM Sensys 14

Reverse Comb

Query

Event

When query frequency > event frequency

11/4/2004 ACM Sensys 15

The Spectrum of Push and Pull

Pull Push

Global pull +Local push

Global push +Local pull

Push & Pull

Inter-spike spacing increases

Reverse comb

Relative query frequency increases

11/4/2004 ACM Sensys 16

Mid-term Review

Basic idea: balancing push and pull

Preview: Reliability Random network An adaptive scheme

11/4/2004 ACM Sensys 17

Strategies for Improving Reliability

Local enhancement Interleaved mesh (transient failures) Routing update (permanent failures)

Spatial diversity Correlated failures Enhance and balance query success rate at

different geo-locations Two-level redundancy scheme

l=2s

11/4/2004 ACM Sensys 18

Spatial Diversity

Query

xEvent

Diversify queryspatially using green arrows

11/4/2004 ACM Sensys 19

Random Network

Constrained geographical flooding Needles and combs have certain widths

11/4/2004 ACM Sensys 20

Simulation Using Prowler

Transmission model:

Reception model: Threshold MAC layer: Simulates Berkeley Motes’ CSMA Use Default radio model:

σa=0.45, σb=0.02, perror=0.05, =0.1

11/4/2004 ACM Sensys 21

Two Experiments

1. What is the optimal spacing of the comb & needle length given Fq and Fe?

2. What is the robustness of the protocol in a really sparse network?

11/4/2004 ACM Sensys 22

Experiment 1 Results

l=1, s=3 optimal l=1, s=3 optimal

loptimal ~

11/4/2004 ACM Sensys 23

Experiment 2 Results

Wider the CGF width More Reliable More Energy

11/4/2004 ACM Sensys 24

Adaptive Scheme

Comb granularity depends on the query and event frequencies

Nodes estimate the query and event frequencies to guess s

Important to match needle length and inter-spike spacing

Allow asymmetric needle length Comb rotates

Load balancing Broadcast information of current inter-spike spacing

11/4/2004 ACM Sensys 25

Simulation

20x20 regular grid Communication cost: hop counts No node failure Adaptive scheme

11/4/2004 ACM Sensys 26

Event & Query Frequencies

11/4/2004 ACM Sensys 27

Tracking the Ideal Inter-Spike Spacing

11/4/2004 ACM Sensys 28

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

11/4/2004 ACM Sensys 29

Summary

Adapt to system changes Can be applied in hierarchical structures

Pull Push

Global pull +Local push

Global push +Local pull

Push & Pull

Relative query frequency increases

11/4/2004 ACM Sensys 30

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