Query Guidance with Transmission Records for Efficient...

23
Query Guidance with Transmission Records for Efficient Content Searching in Unstructured Peer-to-Peer Networks Takuya Tomimatsu, Shinji Sugawara, Yutaka Ishibashi Nagoya Institute of Technology Nagoya, Japan 2013 Annual IEEE CQR International Workshop May 14-16, 2013, Marco Island Marriott Beach Resort

Transcript of Query Guidance with Transmission Records for Efficient...

Page 1: Query Guidance with Transmission Records for Efficient ...nma.web.nitech.ac.jp/publications/jconf/2013/CQR... · Unstructured P2P (Peer-to-Peer) network Advantages Dis- advantage

Query Guidance with Transmission Records for Efficient Content Searching

in Unstructured Peer-to-Peer Networks

Takuya Tomimatsu, Shinji Sugawara, Yutaka Ishibashi

Nagoya Institute of Technology

Nagoya, Japan

2013 Annual IEEE CQR International Workshop May 14-16, 2013, Marco Island Marriott Beach Resort

Page 2: Query Guidance with Transmission Records for Efficient ...nma.web.nitech.ac.jp/publications/jconf/2013/CQR... · Unstructured P2P (Peer-to-Peer) network Advantages Dis- advantage

Background (1/2)

Extension of BIA (Broadband Internet Access)

Development of communication terminals

Huge amount of content items are shared based on Peer-to-Peer (P2P) networks

Sharing content items

Picture Music Video

Page 3: Query Guidance with Transmission Records for Efficient ...nma.web.nitech.ac.jp/publications/jconf/2013/CQR... · Unstructured P2P (Peer-to-Peer) network Advantages Dis- advantage

Several studies improved of the search accuracy

by using query guidance information

:Peer

Background (2/2)

Unstructured P2P (Peer-to-Peer) network

Advantages

Dis- advantage

Flexibility in searching Robustness in churn situation

Degradation of content search accuracy

Frequent peers joining in and dropping out

Page 4: Query Guidance with Transmission Records for Efficient ...nma.web.nitech.ac.jp/publications/jconf/2013/CQR... · Unstructured P2P (Peer-to-Peer) network Advantages Dis- advantage

Searching method

Breadcrumbs Routers cache contents and query guidance information

Content items can be downloaded from the cache

Reduction of the server’s load

:Query Request peer

:Server

:Router

?

Page 5: Query Guidance with Transmission Records for Efficient ...nma.web.nitech.ac.jp/publications/jconf/2013/CQR... · Unstructured P2P (Peer-to-Peer) network Advantages Dis- advantage

Searching method

Breadcrumbs Routers cache contents and query guidance information

Content items can be downloaded from the cache

Reduction of the server’s load

:Query Request peer

:Server

:Router

?

Page 6: Query Guidance with Transmission Records for Efficient ...nma.web.nitech.ac.jp/publications/jconf/2013/CQR... · Unstructured P2P (Peer-to-Peer) network Advantages Dis- advantage

If churn situation

Queries can be sent

to drop-out peer.

Objective

We need to keep the integrity

of the query guidance information

to the drop-out peer.

Unstructured P2P

This study

Drop-out peer

TR inconsistency

Page 7: Query Guidance with Transmission Records for Efficient ...nma.web.nitech.ac.jp/publications/jconf/2013/CQR... · Unstructured P2P (Peer-to-Peer) network Advantages Dis- advantage

Storage

Assumed environment

Content deployment

Storage

Peers joining in or dropping out of the network

Replica contents deployment (or replacement)

Page 8: Query Guidance with Transmission Records for Efficient ...nma.web.nitech.ac.jp/publications/jconf/2013/CQR... · Unstructured P2P (Peer-to-Peer) network Advantages Dis- advantage

Assumed environment

Peers joining in or dropping out of the network

Replica contents deployment (or replacement)

Storage Storage

Content replacement

Content deployment

Page 9: Query Guidance with Transmission Records for Efficient ...nma.web.nitech.ac.jp/publications/jconf/2013/CQR... · Unstructured P2P (Peer-to-Peer) network Advantages Dis- advantage

Proposed method

After a content’s discovery

Content requesting

Replica placement

TR integrity check

Create TR

Update (Delete) TR

TR: Transmission Record (Query guidance information)

Page 10: Query Guidance with Transmission Records for Efficient ...nma.web.nitech.ac.jp/publications/jconf/2013/CQR... · Unstructured P2P (Peer-to-Peer) network Advantages Dis- advantage

After content discovery If the request peer gets the content from remote supply peer,

Request peer

:TR (Transmission Record: Query guidance information)

Request peer most downstream peer

Supply peer

and if the content is useful, Deploy replica to request peer

Page 11: Query Guidance with Transmission Records for Efficient ...nma.web.nitech.ac.jp/publications/jconf/2013/CQR... · Unstructured P2P (Peer-to-Peer) network Advantages Dis- advantage

After content discovery

Supply peer

:TR (Transmission Record: Query guidance information)

If the request peer gets the content from remote supply peer,

Request peer

and if the content is not useful,

Supply peer most downstream peer Do not deploy replica

Page 12: Query Guidance with Transmission Records for Efficient ...nma.web.nitech.ac.jp/publications/jconf/2013/CQR... · Unstructured P2P (Peer-to-Peer) network Advantages Dis- advantage

1. Explore content item by flooding

:TR (Transmission Records: Query guidance information)

Content requesting

:Transfer direction of query

3. If the content item does not exist in the most downstream peer,

the query is guided to the most upstream peer (and update TRs).

2. Guiding query by TRs

Request peer

Supply peer

Page 13: Query Guidance with Transmission Records for Efficient ...nma.web.nitech.ac.jp/publications/jconf/2013/CQR... · Unstructured P2P (Peer-to-Peer) network Advantages Dis- advantage

Replica placement

When a replica of a content item is deleted, TRs for replica are corrected. If replica is recorded as the most upstream peer,

:TR (Transmission Record: Query guidance information)

the second most upstream peer takes the place of the most upstream peer.

Page 14: Query Guidance with Transmission Records for Efficient ...nma.web.nitech.ac.jp/publications/jconf/2013/CQR... · Unstructured P2P (Peer-to-Peer) network Advantages Dis- advantage

Replica placement

:TR (Transmission Record: Query guidance information)

peer reverse the direction of TRs.

When a replica of a content item is deleted, TRs for the replica is corrected. If replica is recorded as the most downstream peer,

Page 15: Query Guidance with Transmission Records for Efficient ...nma.web.nitech.ac.jp/publications/jconf/2013/CQR... · Unstructured P2P (Peer-to-Peer) network Advantages Dis- advantage

TR integrity check

:TR (Transmission Records: Query guidance information)

A message of connection confirmation is sent to the downstream peer

at the frequency of Pupdate

If the response is not returned,

Page 16: Query Guidance with Transmission Records for Efficient ...nma.web.nitech.ac.jp/publications/jconf/2013/CQR... · Unstructured P2P (Peer-to-Peer) network Advantages Dis- advantage

TR integrity check

:TR (Transmission Records: Query guidance information)

delete the TR to the 1 hop downstream peer.

reverse the direction of each TR in the upstream direction.

If the response is not returned,

A message of connection confirmation is sent to the downstream peer

at the frequency of Pupdate

Page 17: Query Guidance with Transmission Records for Efficient ...nma.web.nitech.ac.jp/publications/jconf/2013/CQR... · Unstructured P2P (Peer-to-Peer) network Advantages Dis- advantage

Evaluation

Network load

Number of successful content acquisitions

Total number of content requests

Network load 2

Content acquisition success rate

Request

the content

Two measures are used for the evaluation

100 (%)

Page 18: Query Guidance with Transmission Records for Efficient ...nma.web.nitech.ac.jp/publications/jconf/2013/CQR... · Unstructured P2P (Peer-to-Peer) network Advantages Dis- advantage

Methods for comparison

BC (Breadcrumbs)

Flooding

Simple flooding method incorporating the owner replica allocation

Proposed method without TR integrity check procedure

Page 19: Query Guidance with Transmission Records for Efficient ...nma.web.nitech.ac.jp/publications/jconf/2013/CQR... · Unstructured P2P (Peer-to-Peer) network Advantages Dis- advantage

Simulation conditions

Network topology BA model

Initial number of peers 500

Total number of peers 700

Total number of contents 500

Threshold Rth 0.3

Threshold Hth 4

• Request of contents: Poisson distribution (λreq 0.5) • Peers joining in or dropping out of the network: Poisson distribution (λp 0.5)

TTL 6

Unit times 5000

Trial times 300

Frequency of sending connection confirmation messages:

Pupdate 0~1.0

Page 20: Query Guidance with Transmission Records for Efficient ...nma.web.nitech.ac.jp/publications/jconf/2013/CQR... · Unstructured P2P (Peer-to-Peer) network Advantages Dis- advantage

Simulation result (1/2)

Arrival rate of peer joining in and dropping out: λp=0.5

0.0E+002.0E+054.0E+056.0E+058.0E+051.0E+061.2E+061.4E+061.6E+061.8E+062.0E+06

0 10 20 30 40 50 60 70 80 90 100

Net

wo

rk l

oad

Pupdate (%)

floodingBCproposedⅠ:95% confidence interval

Page 21: Query Guidance with Transmission Records for Efficient ...nma.web.nitech.ac.jp/publications/jconf/2013/CQR... · Unstructured P2P (Peer-to-Peer) network Advantages Dis- advantage

Simulation result (2/2)

Arrival rate of peer joining in and dropping out: λp=0.5

70

80

90

100

0 10 20 30 40 50 60 70 80 90 100

Acq

uis

itio

n s

ucc

ess

rat

e (

%)

Pupdate (%)

floodingBCproposed

Ⅰ:95% confidence interval

Page 22: Query Guidance with Transmission Records for Efficient ...nma.web.nitech.ac.jp/publications/jconf/2013/CQR... · Unstructured P2P (Peer-to-Peer) network Advantages Dis- advantage

Conclusions

Proposed a method to guide queries efficiently in unstructured P2P networks

by using the records’ periodical integrity

check mechanism in each relay peer

Achieved high content acquisition success rate

and suppress the network load

by setting appropriate frequency of integrity

check for query guidance information

Page 23: Query Guidance with Transmission Records for Efficient ...nma.web.nitech.ac.jp/publications/jconf/2013/CQR... · Unstructured P2P (Peer-to-Peer) network Advantages Dis- advantage

Future works

Compare proposed method

with a variety of methods like Winny

Investigate the effectiveness

of proposed method in

various network environments