Top Banner
Routing Indices For Peer-to- Peer Systems Arturo Crespo, Hector Garcia-Mo lina Stanford ICDCS 2002
23

Routing Indices For Peer-to-Peer Systems Arturo Crespo, Hector Garcia-Molina Stanford ICDCS 2002.

Dec 18, 2015

Download

Documents

Lionel Johns
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Routing Indices For Peer-to-Peer Systems Arturo Crespo, Hector Garcia-Molina Stanford ICDCS 2002.

Routing Indices For Peer-to-Peer Systems

Arturo Crespo, Hector Garcia-Molina

StanfordICDCS 2002

Page 2: Routing Indices For Peer-to-Peer Systems Arturo Crespo, Hector Garcia-Molina Stanford ICDCS 2002.

Motivation and ideas

Search (text) documents with specific keyword (category) in P2P network content-based

Users only interested in TOP 20 results

Each peer stores statistics of Documents shared by itself Documents shared by its neighbors

Route query to a “good” peer

Sequential search vs parallel search

Page 3: Routing Indices For Peer-to-Peer Systems Arturo Crespo, Hector Garcia-Molina Stanford ICDCS 2002.

Proposed Methods

Compound RI - naive

Hop-count RI - improved

Exponential RI - best

Page 4: Routing Indices For Peer-to-Peer Systems Arturo Crespo, Hector Garcia-Molina Stanford ICDCS 2002.

What is routing indices?

For A, there are 100 documents available from B (and its descendents)

20 belong to Database category 10 belong to Theory category 30 belong to Languages category

“Goodness” of a neighbor

i

isCRI

Documents OfNumber

)(Documents OfNumber

Page 5: Routing Indices For Peer-to-Peer Systems Arturo Crespo, Hector Garcia-Molina Stanford ICDCS 2002.

Computing goodness

For documents of “databases” and “languages”

75200

150

200

100200)(

0100

50

1000

01000)(

6100

30

100

20100)(

DGoodness

CGoodness

BGoodness

Page 6: Routing Indices For Peer-to-Peer Systems Arturo Crespo, Hector Garcia-Molina Stanford ICDCS 2002.

Updating of routing indices

New connection

RI propagation D+A+J

D+A+I

Page 7: Routing Indices For Peer-to-Peer Systems Arturo Crespo, Hector Garcia-Molina Stanford ICDCS 2002.

Proposed Methods

Compound RI – naive

Hop-count RI – improved

Exponential RI - best

Page 8: Routing Indices For Peer-to-Peer Systems Arturo Crespo, Hector Garcia-Molina Stanford ICDCS 2002.

Problems and improvements

Improved cost model take into account of query messages generated

Less update cost RI propagates through limited hops (horizon)

Robust against cycles

300 items

250 items

Page 9: Routing Indices For Peer-to-Peer Systems Arturo Crespo, Hector Garcia-Molina Stanford ICDCS 2002.

Hop-count RI

For W, it can reach 30 documents from Y 1 hop away

Y has 30 documents 50 documents from Y 2 hops away

Y1,Y2 have 50 documents

Page 10: Routing Indices For Peer-to-Peer Systems Arturo Crespo, Hector Garcia-Molina Stanford ICDCS 2002.

Goodness measure in Hop-count RI

Goodness of

hj ji

h F

QjNgoodnessQNiGoodness

..0

)],[(),(

33.53

102

33.103

310

33.163

1013

Z

Y

X

Page 11: Routing Indices For Peer-to-Peer Systems Arturo Crespo, Hector Garcia-Molina Stanford ICDCS 2002.

Proposed Methods

Compound RI – naive

Hop-count RI – improved

Exponential RI - best

Page 12: Routing Indices For Peer-to-Peer Systems Arturo Crespo, Hector Garcia-Molina Stanford ICDCS 2002.

Improvements

Hop-count RI exhibits High storage cost High update cost of RI

Compress RI of different Hops together

Similar to Compound RI with RI update method differs

Page 13: Routing Indices For Peer-to-Peer Systems Arturo Crespo, Hector Garcia-Molina Stanford ICDCS 2002.

RI Update

I changed to 70, 30, 10, 20, 50

Page 14: Routing Indices For Peer-to-Peer Systems Arturo Crespo, Hector Garcia-Molina Stanford ICDCS 2002.

RI Update

D update I’s row as 70, 30, 10, 20, 50

70 30 10 20 50

Page 15: Routing Indices For Peer-to-Peer Systems Arturo Crespo, Hector Garcia-Molina Stanford ICDCS 2002.

RI Update

D sent J’s update as 590, 86.67, 130, 70, 121.67

70 30 10 20 50

Page 16: Routing Indices For Peer-to-Peer Systems Arturo Crespo, Hector Garcia-Molina Stanford ICDCS 2002.

RI Update

70 30 10 20 50

590 86.67 130 70 121.67

D send A and update as 140, 75, 3.3, 75, 100

Page 17: Routing Indices For Peer-to-Peer Systems Arturo Crespo, Hector Garcia-Molina Stanford ICDCS 2002.

Experiment

Page 18: Routing Indices For Peer-to-Peer Systems Arturo Crespo, Hector Garcia-Molina Stanford ICDCS 2002.

Query Message generated

Why CRI, HRI, ERI perform much better in the uniform distribution?

Page 19: Routing Indices For Peer-to-Peer Systems Arturo Crespo, Hector Garcia-Molina Stanford ICDCS 2002.

Effect of index compression

Page 20: Routing Indices For Peer-to-Peer Systems Arturo Crespo, Hector Garcia-Molina Stanford ICDCS 2002.

Effect of cycles

Page 21: Routing Indices For Peer-to-Peer Systems Arturo Crespo, Hector Garcia-Molina Stanford ICDCS 2002.

Query message in different network topology

Page 22: Routing Indices For Peer-to-Peer Systems Arturo Crespo, Hector Garcia-Molina Stanford ICDCS 2002.

Update cost in different network topology

Page 23: Routing Indices For Peer-to-Peer Systems Arturo Crespo, Hector Garcia-Molina Stanford ICDCS 2002.

END