must firstly checks whether it is in the zone Zr
3
. If
it is true, the immediate superior level (Zr
2
) is used
to determine if the point V is at the left or right of P6.
For example, in the case that the point is at the right of
P6, the request is propagated to P6 which recursively
processes the algorithm. Notice that in a given skip-
zone, the search cost is logarithmic.
On the contrary, if the answer of the previous
check in Zr
3
is false, the point is tested again with
the left highest level Zl
3
with the process described
in the previous paragraph. In the case that the check
is again false, the request is forwarded to the extrem-
ity of Zl
3
and Zr
3
(peer P
8
). The network clones the
original request in two requests but with a notable dif-
ference: Each request has a direction (go left or right).
In our example, only P8 will receive the propagation
of the request. At P
8
, due to the direction, the check
is only done on the right part of the skip-zone owned
by P8. If the test is again false, the request is once
more propagated to the skip-zone at the highest right
extremity.
4 DIMENSION INSENSIBILITY
In contrast to other works, in which the DHT rout-
ing key size represents a bottleneck, our routing ap-
proach is not very sensible to the dimension of the
searched vector. Indeed, our routing principle is based
on the (∈) operation that checks if a point is in a zone
(volume in a N-dimension space) or if two volumes
intersect. This check is processed according to the
polyhedral principle that requires 2*D tests. Each
check is the test of a set of inequations of the type
a
d
x
d
+ a
d−1
x
d−1
... < 0 which is solved with a very
low CPU cost compared to messages transmission de-
lay or disk access. Thus, each new dimension requires
to test at least two additional inequations. Solving for
data of 1 dimension or N dimensions differs only by
the CPU time required to check each inequation. That
is why our approach is almost not sensible to the di-
mension of vectors.
5 CONCLUSION
In this paper, we introduced a P2P system suitable
for indexing and routing vector data. Compared to
other works, our originality is twofold. First we use
polyedra for describing data zone managed by each
peer. This is done in a first overlay network named
metadata layer. Secondly, we extend the principle of
skip-list for working with data of any dimension. We
named this new structure ”skip-zone”.
REFERENCES
Aberer, K., Cudr
´
e-Mauroux, P., Datta, A., Despotovic, Z.,
Hauswirth, M., Punceva, M., and Schmidt, R. (2003).
P-grid: a self-organizing structured p2p system. SIG-
MOD Record, 32(3):29–33.
Aspnes, J. and Shah, G. (2003). Skip graphs. In Four-
teenth Annual ACM-SIAM Symposium on Discrete Al-
gorithms, pages 384–393.
Bharambe, A. R., Agrawal, M., and Seshan, S. (2004).
Mercury: supporting scalable multi-attribute range
queries. In SIGCOMM ’04: Proceedings of the 2004
conference on Applications, technologies, architec-
tures, and protocols for computer communications,
pages 353–366, New York, NY, USA. ACM Press.
Cai, M., Frank, M., Chen, J., and Szekely, P. (2003).
MAAN: A Multi-Attribute Addressable Network for
Grid Information services, volume 00. IEEE Com-
puter Society, Los Alamitos, CA, USA.
Laidlaw, D. H., Trumbore, W. B., and Hughes, J. F. (1986).
Constructive solid geometry for polyhedral objects. In
SIGGRAPH, pages 161–170.
Lawder, J. K. and King, P. J. H. (2000). Using space-filling
curves for multi-dimensional indexing. Lecture Notes
in Computer Science, 1832:20–??
Li, X., Kim, Y. J., Govindan, R., and Hong, W. (2003).
Multi-dimensional range queries in sensor networks.
In SenSys ’03: Proceedings of the 1st international
conference on Embedded networked sensor systems,
pages 63–75, New York, NY, USA. ACM Press.
Morris, R., Karger, D., Kaashoek, F., and Balakrishnan, H.
(2001). Chord: A Scalable Peer-to-Peer Lookup Ser-
vice for Internet Applications. In ACM SIGCOMM
2001, San Diego, CA.
Pugh, W. (1989). Skip lists: A probabilistic alternative to
balanced trees. In Workshop on Algorithms and Data
Structures, pages 437–449.
S. Abiteboul, I. Menolescu, N. P. (2005). Peer-to-peer ware-
housing of xml resources. ICDE.
Shu, Y., Ooi, B. C., Tan, K.-L., and Zhou, A. (2005). Sup-
porting multi-dimensional range queries in peer-to-
peer systems. In P2P ’05: Proceedings of the Fifth
IEEE International Conference on Peer-to-Peer Com-
puting (P2P’05), pages 173–180, Washington, DC,
USA. IEEE Computer Society.
MULTIDIMENSIONAL VECTOR ROUTING IN A P2P NETWORK
489