Abstract
We provide a novel analysis framework for distributed hierarchical directories for an arbitrary set of dynamic (online) requests. We first present a generic algorithm for implementing a distributed directory that can support dynamic requests and prove an upper bound on the competitive ratio for communication cost experienced by this algorithm using the analysis framework. We then give bounds for the dynamic performance of several known distributed directory protocols. For the protocols that work in general network topologies, we obtain \(\mathcal {O}(\log^{2} n\cdot\log D)\) competitive ratio, where n and D are the number of nodes and the diameter, respectively, of the network. Moreover, for the protocols that work in specific network topologies, we obtain \(\mathcal {O}(\log D)\) competitive ratio. Our analysis framework captures both the time and the distance restrictions in ordering dynamic requests through a notion of time windows, which may be of independent interest. To the best of our knowledge, this is the first competitive dynamic analysis for distributed hierarchical directories.
Similar content being viewed by others
Notes
As the algorithm forms a distributed queue, the predecessor node of a requesting node is the node that issued the request that is ordered before the request from the requesting node in the distributed queue; see Sect. 3 for details.
References
Abraham, I., Dolev, D., Malkhi, D.: Lls: a locality aware location service for mobile ad hoc networks. In: Proceedings of the 2004 Joint Workshop on Foundations of Mobile Computing (DIALM-POMC), pp. 75–84. ACM, New York (2004)
Alon, N., Kalai, G., Ricklin, M., Stockmeyer, L.J.: Lower bounds on the competitive ratio for mobile user tracking and distributed job scheduling. Theor. Comput. Sci. 130(1), 175–201 (1994)
Amouris, K., Papavassiliou, S., Li, M.: A position-based multi-zone routing protocol for wide area mobile ad-hoc networks. In: Proceedings of the IEEE 49th Vehicular Technology Conference (VTC), vol. 2, pp. 1365–1369 (1999)
Attiya, H., Gramoli, V., Milani, A.: A provably starvation-free distributed directory protocol. In: Proceedings of the 12th International Conference on Stabilization, Safety, and Security of Distributed Systems (SSS), pp. 405–419 (2010)
Awerbuch, B., Peleg, D.: Sparse partitions. In: Proceedings of the 31st Annual Symposium on Foundations of Computer Science (FOCS), vol. 2, pp. 503–513 (1990)
Awerbuch, B., Peleg, D.: Online tracking of mobile users. J. ACM 42(5), 1021–1058 (1995)
Bartal, Y.: Probabilistic approximation of metric spaces and its algorithmic applications. In: Proceedings of the 37th Annual Symposium on Foundations of Computer Science (FOCS), pp. 184–193 (1996)
Bejerano, Y., Cidon, I.: An efficient mobility management strategy for personal communication systems. In: Proceedings of the 4th Annual ACM/IEEE International Conference on Mobile Computing and Networking (MobiCom), pp. 215–222 (1998)
Demirbas, M., Arora, A., Nolte, T., Lynch, N.: Brief announcement: Stalk: a self-stabilizing hierarchical tracking service for sensor networks. In: Proceedings of the Twenty-Third Annual ACM Symposium on Principles of Distributed Computing (PODC), p. 378. ACM, New York (2004)
Demirbas, M., Arora, A., Nolte, T., Lynch, N.: A hierarchy-based fault-local stabilizing algorithm for tracking in sensor networks. In: Higashino, T. (ed.) Principles of Distributed Systems. Lecture Notes in Computer Science, vol. 3544, pp. 299–315. Springer, Berlin (2005)
Demmer, M.J., Herlihy, M.: The arrow distributed directory protocol. In: Proceedings of the 12th International Symposium on Distributed Computing (DISC), pp. 119–133 (1998)
Fakcharoenphol, J., Rao, S., Talwar, K.: A tight bound on approximating arbitrary metrics by tree metrics. J. Comput. Syst. Sci. 69(3), 485–497 (2004)
Gupta, A.: Steiner points in tree metrics don’t (really) help. In: Proceedings of the Twelfth Annual ACM-SIAM Symposium on Discrete Algorithms (SODA), pp. 220–227 (2001)
Herlihy, M., Sun, Y.: Distributed transactional memory for metric-space networks. Distrib. Comput. 20(3), 195–208 (2007)
Herlihy, M., Kuhn, F., Tirthapura, S., Wattenhofer, R.: Dynamic analysis of the arrow distributed protocol. Theory Comput. Syst. 39(6), 875–901 (2006)
Kuhn, F., Wattenhofer, R.: Dynamic analysis of the arrow distributed protocol. In: Proceedings of the Sixteenth Annual ACM Symposium on Parallelism in Algorithms and Architectures (SPAA), pp. 294–301 (2004)
Li, J., Jannotti, J., De Couto, D.S.J., Karger, D.R., Morris, R.: A scalable location service for geographic ad hoc routing. In: Proceedings of the 6th Annual International Conference on Mobile Computing and Networking (MobiCom), pp. 120–130. ACM, New York (2000)
Luby, M.: A simple parallel algorithm for the maximal independent set problem. SIAM J. Comput. 15(4), 1036–1053 (1986)
Raymond, K.: A tree-based algorithm for distributed mutual exclusion. ACM Trans. Comput. Syst. 7(1), 61–77 (1989)
Sharma, G., Busch, C.: An analysis framework for distributed hierarchical directories. In: Frey, D., Raynal, M., Sarkar, S., Shyamasundar, R., Sinha, P. (eds.) Distributed Computing and Networking. Lecture Notes in Computer Science, vol. 7730, pp. 378–392. Springer, Berlin (2013)
Sharma, G., Busch, C., Srinivasagopalan, S.: Distributed transactional memory for general networks. In: Proceedings of the 2012 IEEE International Parallel and Distributed Processing Symposium (IPDPS), pp. 1045–1056 (2012)
Zhang, B., Ravindran, B.: Brief announcement: Relay: a cache-coherence protocol for distributed transactional memory. In: Proceedings of the 13th International Conference on Principles of Distributed Systems (OPODIS), pp. 48–53 (2009)
Zhang, B., Ravindran, B.: Dynamic analysis of the relay cache-coherence protocol for distributed transactional memory. In: Proceedings of the 2010 IEEE International Parallel and Distributed Processing Symposium (IPDPS), pp. 1–11 (2010)
Acknowledgements
The authors would like to thank the anonymous reviewers for their careful reading and very constructive suggestions.
Author information
Authors and Affiliations
Corresponding author
Additional information
This paper extends a preliminary version that appeared in The 14th International Conference on Distributed Computing and Networking (ICDCN), January 3–6, 2013 [20].
Rights and permissions
About this article
Cite this article
Sharma, G., Busch, C. An Analysis Framework for Distributed Hierarchical Directories. Algorithmica 71, 377–408 (2015). https://doi.org/10.1007/s00453-013-9803-2
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s00453-013-9803-2