combs, needles, and haystacks: balancing push and pull for information discovery

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

Upload: urian

Post on 02-Feb-2016

24 views

Category:

Documents


0 download

DESCRIPTION

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. Objective. - PowerPoint PPT Presentation

TRANSCRIPT

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

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

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

11/4/2004 ACM Sensys 2

Objective

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

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

11/4/2004 ACM Sensys 3

Where are the tanks?

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

11/4/2004 ACM Sensys 4

Pull-based Strategy

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

11/4/2004 ACM Sensys 5

Pull-based Cont’d

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

11/4/2004 ACM Sensys 6

Push-based Strategy

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

11/4/2004 ACM Sensys 7

Comb-Needle Structure

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

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

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

11/4/2004 ACM Sensys 9

When an Event Happens

Event

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

11/4/2004 ACM Sensys 10

When a Query is Generated

Event

Query

Event

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

11/4/2004 ACM Sensys 11

Tuning Comb-Needle

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

11/4/2004 ACM Sensys 12

Query Freq. < Event Freq.

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

11/4/2004 ACM Sensys 13

Query Freq. < Event Freq.

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

11/4/2004 ACM Sensys 14

Reverse Comb

Query

Event

When query frequency > event frequency

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

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

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

11/4/2004 ACM Sensys 16

Mid-term Review

Basic idea: balancing push and pull

Preview: Reliability Random network An adaptive scheme

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

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

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

11/4/2004 ACM Sensys 18

Spatial Diversity

Query

xEvent

Diversify queryspatially using green arrows

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

11/4/2004 ACM Sensys 19

Random Network

Constrained geographical flooding Needles and combs have certain widths

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

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

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

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?

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

11/4/2004 ACM Sensys 22

Experiment 1 Results

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

loptimal ~

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

11/4/2004 ACM Sensys 23

Experiment 2 Results

Wider the CGF width More Reliable More Energy

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

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

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

11/4/2004 ACM Sensys 25

Simulation

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

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

11/4/2004 ACM Sensys 26

Event & Query Frequencies

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

11/4/2004 ACM Sensys 27

Tracking the Ideal Inter-Spike Spacing

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

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

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

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

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

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