Title: Continuous Queries in P2P Networks
12005/11/09
- Continuous Queries in P2P Networks
2Motivation
3Motivation - Cardinality
How many people are currently listening POP music?
POP
POP
Classic
Result 2
Rock
Classic
4Motivation Top-K
What is the Top-2 Songs?
Because of you by Kelly Clarkson
Shake It Off by Mariah Carey
Wake Me Up When September Ends by Green Day
Wake Me Up When September Ends by Green Day
Because of you by Kelly Clarkson
5Motivation Top-K
What is the Top-2 Songs?
Because of you by Kelly Clarkson
Shake It Off by Mariah Carey
Wake Me Up When September Ends by Green Day
Wake Me Up When September Ends by Green Day
Because of you by Kelly Clarkson
6Motivation Social Network
I want to make friends who have similar interests
as I have
POP
POP
Classic
Rock
Classic
7Motivation Social Network
I want to make friends who have similar interests
as I have
POP
POP
Classic
Rock
Classic
8Motivation Social Network
I want to make friends who have similar interests
as I have
POP
POP
Classic
Rock
Classic
9Motivation Social Network
I want to make friends who have similar interests
as I have
POP
POP
Classic
Rock
Classic
10Motivation - Ontology
Search Shake Your Bon Bon by Ricky Martin
11Motivation - Ontology
Search Shake Your Bon Bon by Ricky Martin
I have Shake Your Bon Bon
Sorry, I have none
I do have this song but its name is Martins Ass
Dude, get away from me
12Motivation - Ontology
Search Shake Your Bon Bon by Ricky Martin
Ontology
The result of exact matching 1 By we want to
get the actual result 2
13Continuous Queries
- Cardinality
- Top-K
- Social network
- Ontology
14Cardinality
- The state-of-the-art
- Aggregation in P2P system
- Montresor et al. DSN'04
- Epidemic, adaptive
- Aggregation with streaming data
- Das et al. VLDB04
- Global knowledge of frequent items
15Cardinality (Contd.)
- As far as we know, there is no study focus on
this issue in P2P environment with streaming data - Progress after our summer presentation
- Use statistics distribution to estimate changes
16Top-K
- The state-of-the-art
- Traditional Top-K problem
- Combine information for database systems Fagin
- Approximation on data streams
- Proposed for data streams under guaranteed
tolerance, but cant be deployed to P2P. - Super peer based Top-k in P2P
- Iteratively query
- Locality was mentioned, but the method is
straight-forward
17Top-K (Contd.)
- Assumptions
- Based on superpeer-structured P2P networks due to
the heterogeneity of peers - Each super-peer would maintain a routing table
and some metadata for Top-k query
P
P
P
SP1
P
P
SP2
SP4
P
P
SP3
P
18Top-K (Contd.)
- Problem
- Query whom? ?Locality
- space
- Interest
- Query routing (routing table)
- Reduce the size of table
- Minimize the communication
- peers update occurs
- load balance
Type
Node
T1
SP2
T1
SP3
T2
SP4
19Social network Ontology
- The state-of-the-art
- Similarity computing
- Compute the similarity between two nodes/peers,
and fix-point scores will be assigned - ?
20Social network Ontology
- ?
- Our thoughts
- Using some hierarchical domain structures
- Ontology / classification
Rock
Avril Lavigne
Bon Jovi
A a1, a2 B a3, a4 C a1, b1, b2
a1
a2
a3
a4
b1
b2
b3
21Thank You!
22What is ontology
Back
- A formal, explicit specification of a shared
conceptualization
Class
attribute
Object
Object
relation
23Example
24Example
Ballet
Kung Fu
Swim
25Example
Ballet
Swim
Kung Fu
Back