Theoretical and Natural Science

- The Open Access Proceedings Series for Conferences


Theoretical and Natural Science

Vol. 18, 08 December 2023


Open Access | Article

Concurrency control in tree data structures

Xinyang Du 1 , Yingzhe Liu * 2
1 Queen Mary University of London
2 University of California at Davis

* Author to whom correspondence should be addressed.

Theoretical and Natural Science, Vol. 18, 98-109
Published 08 December 2023. © 2023 The Author(s). Published by EWA Publishing
This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
Citation Xinyang Du, Yingzhe Liu. Concurrency control in tree data structures. TNS (2023) Vol. 18: 98-109. DOI: 10.54254/2753-8818/18/20230348.

Abstract

With the increasing amount of data, there is a higher demand for fast access to data. Therefore, tree data structures are popular because they can quickly access data. In addition, with the increase of the cores of computer microprocessors, the tree data structure that can be concurrently controlled may be one of the most effective data structures today. However, there is still a lack of a summary of the differences in the data structures of various trees. Therefore, this paper collects code structures of different types of trees and then comments on the speed of various tree data structure types concerning parallel processing situations. The study covers the structure and performance of different kinds of trees and summarizes the method of concurrent control of these data structures. This paper can help to clearly understand the relationships and differences between various tree data structures and help them quickly learn the application of concurrency control in trees.

Keywords

binary trees, B trees, 2-3 trees, B+ trees, concurrency control

References

1. Augenstein, M., Tenenbaum, A. (1977) Program efficiency and data structures. In: ACM SIGCSE Bulletin. New York. pp. 21-27.

2. MySQL. (2022) The physical structure of an InnoDB index. https://dev.mysql.com/doc/refman/8.0/en/innodb-physical-structure.html.

3. Baeldung. (2021) Real world examples of tree structures. https://www.baeldung.com/cs/tree-examples.

4. Hoare, C. A. R., Hayes, I. J., He, J., Morgan, C. C., Roscoe, A. W., Sanders, J. W., Sorensen, I. H., Spivey, J. M., Sufrin, B. A. (1987) Laws of programming. Commun. ACM, 30(8): 672-686.

5. Parlante, N. (2001) Binary Trees. http://cslibrary.stanford.edu/110/BinaryTrees.html.

6. Berman, A. M., Duvall, R. C. (1996) Thinking about binary trees in an object-oriented world. In: ACM SIGCSE ’96. New York. pp. 185-189.

7. Luedtke, D. (2018) A concurrency-safe, iterable binary search tree. https://danrl.com/btree/.

8. Ellis, C. (1980) Concurrent search and insertion in AVL trees. In: IEEE Transactions on Computers. pp. 811-817.

9. Bayer, R., McCreight, R. (1970) Organization And Maintenance of Large Ordered Indices. In: Mathematical and Information Sciences Report No. 20. pp. 107-141.

10. Comer, D. (1979) The Ubiquitous B-Tree. In: Computing Surveys, Vol 11, No. 2. pp. 121-137

11. Ellis, C.S. (1978) Concurrent search and insertion in 2–3 trees. In: Acta Information 14. pp. 63-86.

12. Lamport, L. (1977) Concurrent reading and writing. In: Communications of the Acm. pp. 806-811.

13. Bača, M., Kuroga, P. (2010) Analysis of B-tree data structure and its usage in computer forensics. In: Proceedings of the 21st Central European Conference on Information and Intelligent Systems. pp. 423-428.

14. SAMADI, B. (1976) B-trees in a system with multiple users. In: Information Processing Letters. pp. 107-112.

15. Hellerstein, J., Brewer, E. (2001) Concurrency control and recovery for search trees. https://dsf.berkeley.edu/jmh/cs262b/treeCCR.html

16. Lehman, P. L., Yao, B. (1981) Efficient locking for concurrent operations on B-trees. In: ACM Transactions on Database Systems. New York. pp. 650-670.

Data Availability

The datasets used and/or analyzed during the current study will be available from the authors upon reasonable request.

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License. Authors who publish this series agree to the following terms:

1. Authors retain copyright and grant the series right of first publication with the work simultaneously licensed under a Creative Commons Attribution License that allows others to share the work with an acknowledgment of the work's authorship and initial publication in this series.

2. Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the series's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgment of its initial publication in this series.

3. Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (See Open Access Instruction).

Volume Title
Proceedings of the 2nd International Conference on Computing Innovation and Applied Physics
ISBN (Print)
978-1-83558-201-5
ISBN (Online)
978-1-83558-202-2
Published Date
08 December 2023
Series
Theoretical and Natural Science
ISSN (Print)
2753-8818
ISSN (Online)
2753-8826
DOI
10.54254/2753-8818/18/20230348
Copyright
08 December 2023
Open Access
This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited

Copyright © 2023 EWA Publishing. Unless Otherwise Stated