An Improved Bound for Random Binary Search Trees with Concurrent Insertions

Authors George Giakkoupis, Philipp Woelfel



PDF
Thumbnail PDF

File

LIPIcs.STACS.2018.37.pdf
  • Filesize: 0.49 MB
  • 13 pages

Document Identifiers

Author Details

George Giakkoupis
Philipp Woelfel

Cite AsGet BibTex

George Giakkoupis and Philipp Woelfel. An Improved Bound for Random Binary Search Trees with Concurrent Insertions. In 35th Symposium on Theoretical Aspects of Computer Science (STACS 2018). Leibniz International Proceedings in Informatics (LIPIcs), Volume 96, pp. 37:1-37:13, Schloss Dagstuhl – Leibniz-Zentrum für Informatik (2018)
https://doi.org/10.4230/LIPIcs.STACS.2018.37

Abstract

Recently, Aspnes and Ruppert (DISC 2016) defined the following simple random experiment to determine the impact of concurrency on the performance of binary search trees: n randomly permuted keys arrive one at a time. When a new key arrives, it is first placed into a buffer of size c. Whenever the buffer is full, or when all keys have arrived, an adversary chooses one key from the buffer and inserts it into the binary search tree. The ability of the adversary to choose the next key to insert among c buffered keys, models a distributed system, where up to c processes try to insert keys concurrently. Aspnes and Ruppert showed that the expected average depth of nodes in the resulting tree is O(log(n) + c) for a comparison-based adversary, which can only take the relative order of arrived keys into account. We generalize and strengthen this result. In particular, we allow an adversary that knows the actual values of all keys that have arrived, and show that the resulting expected average node depth is D_{avg}(n) + O(c), where D_{avg}(n) = 2ln(n) - Theta(1) is the expected average node depth of a random tree obtained in the standard unbuffered version of this experiment. Extending the bound by Aspnes and Ruppert to this stronger adversary model answers one of their open questions.
Keywords
  • random binary search tree
  • buffer
  • average depth
  • concurrent data structures

Metrics

  • Access Statistics
  • Total Accesses (updated on a weekly basis)
    0
    PDF Downloads

References

  1. James Aspnes and Eric Ruppert. Depth of a random binary search tree with concurrent insertions. In Proc. 30th International Symposium on Distributed Computing (DISC), pages 371-384, 2016. Google Scholar
  2. Andrew Donald Booth and Andrew J.T. Colin. On the efficiency of a new method of dictionary construction. Information and Control, 3(4):327-334, 1960. Google Scholar
  3. Luc Devroye. A note on the height of binary search trees. Journal of the ACM, 33(3):489-498, 1986. Google Scholar
  4. Devdatt P. Dubhashi and Alessandro Panconesi. Concentration of measure for the analysis of randomized algorithms. Cambridge University Press, 2009. Google Scholar
  5. Kumar Joag-Dev and Frank Proschan. Negative association of random variables with applications. The Annals of Statistics, 11(1):286-295, 1983. Google Scholar
  6. Hosam Mahmoud Mahmoud. Evolution of Random Search Trees. Wiley-Interscience, 1992. Google Scholar
  7. Bodo Manthey and Rüdiger Reischuk. Smoothed analysis of binary search trees. Theoretical Computer Science, 378(3):292-315, 2007. Google Scholar
  8. Bruce Reed. The height of a random binary search tree. Journal of the ACM, 50(3):306-332, 2003. Google Scholar
  9. John Michael Robson. The height of binary search trees. Australian Computer Journal, 11(4):151-153, 1979. Google Scholar
  10. Peter F. Windley. Trees, forests and rearranging. The Computer Journal, 3(2):84-88, 1960. Google Scholar
Questions / Remarks / Feedback
X

Feedback for Dagstuhl Publishing


Thanks for your feedback!

Feedback submitted

Could not send message

Please try again later or send an E-mail