On Using Histograms as Routing Indexes in Peer-to-Peer Systems

  • Yannis Petrakis
  • Georgia Koloniari
  • Evaggelia Pitoura
Conference paper
Part of the Lecture Notes in Computer Science book series (LNCS, volume 3367)


Peer-to-peer systems offer an efficient means for sharing data among autonomous nodes. A central issue is locating the nodes with data matching a user query. A decentralized solution to this problem is based on using routing indexes which are data structures that describe the content of neighboring nodes. Each node uses its routing index to route a query towards those of its neighbors that provide the largest number of results. We consider using histograms as routing indexes. We describe a decentralized procedure for clustering similar nodes based on histograms. Similarity between nodes is defined based on the set of queries they match and related with the distance between their histograms. Our experimental results show that using histograms to cluster similar nodes and to route queries increases the number of results returned for a given number of nodes visited.


Range Query Edit Distance Hist Match Local Index Network Distance 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.


  1. 1.
    Bawa, M., Manku, G.S., Raghavan, P.: SETS: Search Enhanced by Topic Segmentation. In: SIGIR (2003)Google Scholar
  2. 2.
    Cha, S.-H., Sribari, S.N.: On Measuring the Distance Between Histograms. Patern Recognition 35, 1355–1370 (2002)MATHCrossRefGoogle Scholar
  3. 3.
    Crespo, A., Garcia-Molina, H.: Routing Indices for Peer-to-Peer Systems. In: ICDCS (2002)Google Scholar
  4. 4.
    Crespo, A., Garcia-Molina, H.: Semantic Overlay Networks for P2P Systems. Technical report, Submitted for publication (2002)Google Scholar
  5. 5.
    Ganesan, P., Yang, B., Garcia-Molina, H.: One Torus to Rule Them All: Multidimensional Queries in P2P Systems. In: ICDE (2004)Google Scholar
  6. 6.
    Morris, R., Stoica, I., Karger, D., Kaashoek, M.F., Balakrishnan, H.: Chord: A Scalable Peer-to-Peer Lookup Service for Internet Applications. IEEE/ACM Trans. on Networking 11(1), 17–32 (2003)CrossRefGoogle Scholar
  7. 7.
    Ioannidis, Y.: The History of Histograms. In: VLDB (2003)Google Scholar
  8. 8.
    Khambatti, M.S., Ryu, K.D., Dasgupta, P.: Efficient Discovery of Implicitly Formed Peer-to-Peer Communities. International Journal of Parallel and Distributed Systems and Networks 5(4), 155–164 (2002)Google Scholar
  9. 9.
    Wang, Y., Jeffrey, S.R., Galanis, L., DeWitt, D.J.: Processing Queries in a Large Peer-to-Peer System. In: Caise (2003)Google Scholar
  10. 10.
    Loser, A., Naumann, F., Siberski, W., Nejdl, W., Thaden, U.: Semantic Overlay Clusters within Super-Peer Networks. In: International Workshop on Databases, Information Systems and Peer-to-Peer Computing (2003)Google Scholar
  11. 11.
    Milojicic, D.S., Kalogeraki, V., Lukose, R., Nagaraja, K., Pruyne, J., Richard, B., Rollins, S., Xu, Z.: Peer-to-Peer Computing. Technical Report HPL-2002-57, HP Laboratories Palo Alto (2002)Google Scholar
  12. 12.
    Petrakis, Y., Pitoura, E.: On Constructing Small Worlds in Unstructured Peer-to-Peer Systems. In: EDBT International Workshop on Peer-to-Peer Computing and Databases (2004)Google Scholar
  13. 13.
    Ratnasamy, S., Francis, P., Handley, M., Karp, R., Schenker, S.: A Scalable Content-Addressable Network. In: SIGCOMM (2001)Google Scholar
  14. 14.
    Rhea, S.C., Kubiatowicz, J.: Probabilistic Location and Routing. In: INFOCOM (2002)Google Scholar
  15. 15.
    Sahin, O.D., Gupta, A., Agrawal, D., El Abbadi, A.: A Peer-to-peer Framework for Caching Range Queries. In: ICDE (2004)Google Scholar
  16. 16.
    Triantafillou, P., Pitoura, T.: Towards a Unifying Framework for Complex Query Processing over Structured Peer-to-Peer Data Networks. In: DBISP2P (2003)Google Scholar
  17. 17.
    Triantafillou, P., Xiruhaki, C., Koubarakis, M., Ntarmos, N.: Towards High Performance Peer-to-Peer Content and Resource Sharing Systems. In: CIDR (2003)Google Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 2005

Authors and Affiliations

  • Yannis Petrakis
    • 1
  • Georgia Koloniari
    • 1
  • Evaggelia Pitoura
    • 1
  1. 1.Department of Computer ScienceUniversity of IoanninaGreece

Personalised recommendations