Improving efficacy of concurrent internal binary search trees using local recovery
Open Access
- 4 January 2019
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 61-70
Abstract
Binary Search Tree (BST) is an important data structure for managing ordered data. Many algorithms have been proposed for concurrent manipulation of a binary search tree in an asynchronous shared memory system that supports search, insert and delete operations based on both external and internal representations of a search tree. An important step in executing an operation on a tree is to traverse the tree from top-to-down in order to locate the operation's window. A process may need to perform this traversal several times to handle failures occurring due to other processes performing concurrent updates on the tree. Most concurrent algorithms that have been proposed so far use a naïve approach and simply restart the traversal from the root of the tree. In this work, we present a new approach to recover from such failures more efficiently for certain types of concurrent binary search tree algorithms using local recovery by restarting the traversal from the "middle" of the tree in order to locate an operation's window (tree section of interest). Our approach is sufficiently general in the sense that it can be applied to most of the existing concurrent binary search trees using internal representation based on both blocking as well as non-blocking approaches. Using experimental evaluation, we demonstrate that our local recovery approach can significantly improve the performance of a concurrent internal BST by up to 124.7% when the contention is high.Keywords
Funding Information
- National Science Foundation (CNS-1619197, CNS-1115733)
This publication has 15 references indexed in Scilit:
- Reclaiming Memory for Lock-Free Data Structures2015
- ThreadScan2015
- Asynchronized Concurrency2015
- Predicate RCU: an RCU for scalable concurrent updates2015
- Efficient lock-free binary search trees2014
- Concurrent updates with RCU2014
- The amortized complexity of non-blocking binary search trees2014
- Practical concurrent binary search trees via logical ordering2014
- Non-blocking binary search trees2010
- Web caching and Zipf-like distributions: evidence and implications1999