Multi-dimensional Queries in P2P Systems. Applications Photo-sharing (photographs tagged with...

9
Multi- dimensional Queries in P2P Systems

Transcript of Multi-dimensional Queries in P2P Systems. Applications Photo-sharing (photographs tagged with...

Page 1: Multi-dimensional Queries in P2P Systems. Applications Photo-sharing (photographs tagged with metadata) Multi-player online games (locate objects and.

Multi-dimensional Queries in P2P Systems

Page 2: Multi-dimensional Queries in P2P Systems. Applications Photo-sharing (photographs tagged with metadata) Multi-player online games (locate objects and.

Applications

Photo-sharing (photographs tagged with metadata)

Multi-player online games (locate objects and other users)

Page 3: Multi-dimensional Queries in P2P Systems. Applications Photo-sharing (photographs tagged with metadata) Multi-player online games (locate objects and.

System’s Components

Partitioning Strategy (distribute data across nodes)

Routing Strategy (transmit a query to the relevant nodes)

Page 4: Multi-dimensional Queries in P2P Systems. Applications Photo-sharing (photographs tagged with metadata) Multi-player online games (locate objects and.

SCRAP: SPACE-FILLING CURVES WITH RANGE PARTITIONING

Page 5: Multi-dimensional Queries in P2P Systems. Applications Photo-sharing (photographs tagged with metadata) Multi-player online games (locate objects and.

Partitioning Strategy

Data are mapped into a single dimension e.g. (0100,0101) -> 01000101

Single-dimensional data are range-partitioned across a dynamic set of nodes

Page 6: Multi-dimensional Queries in P2P Systems. Applications Photo-sharing (photographs tagged with metadata) Multi-player online games (locate objects and.

Routing Strategy

Multi-dimensional range query is converted to a set of 1-d range queries

Route each of 1-d range queries (Skip graph: A Chord-like connection between the nodes, which promises O(logn) messages)

Page 7: Multi-dimensional Queries in P2P Systems. Applications Photo-sharing (photographs tagged with metadata) Multi-player online games (locate objects and.

Desiderata

Locality: Nearby data points in the multi-dimensional space are also adjacent in the single dimension

Load Balance: Management of neighboring ranges Node with empty partition splits the

range of heavily loaded node

Page 8: Multi-dimensional Queries in P2P Systems. Applications Photo-sharing (photographs tagged with metadata) Multi-player online games (locate objects and.

Desiderata Minimal metadata : Each node

knows only partition boundaries of itself and its neighbors

Low state : O(logn) links per node Routing load balance : Achieved due

to the symmetric nature of skip graphs

Query routing : O(logn) hops for each 1-d

Page 9: Multi-dimensional Queries in P2P Systems. Applications Photo-sharing (photographs tagged with metadata) Multi-player online games (locate objects and.

Questions?