Back to Search
Start Over
Improving efficacy of internal binary search trees using local recovery
- Source :
- PPOPP
- Publication Year :
- 2016
- Publisher :
- ACM, 2016.
-
Abstract
- Binary Search Tree (BST) is an important data structure for managing ordered data. Many algorithms---blocking as well as non-blocking---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 any failures occurring due to other processes performing conflicting actions on the tree. Most concurrent algorithms that have 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 in a concurrent binary search tree based on internal representation using local recovery by restarting the traversal from the "middle" of the tree in order to locate an operation's window. Our approach is sufficiently general in the sense that it can be applied to a variety of concurrent binary search trees based on both blocking and non-blocking approaches. Using experimental evaluation, we demonstrate that our local recovery approach can yield significant speed-ups of up to 69% for many concurrent algorithms.
- Subjects :
- Red–black tree
Fractal tree index
020203 distributed computing
Theoretical computer science
Computer science
Optimal binary search tree
020207 software engineering
02 engineering and technology
Interval tree
Computer Graphics and Computer-Aided Design
Random binary tree
Search tree
Cartesian tree
Threaded binary tree
Treap
Tree traversal
Binary search tree
Ternary search tree
0202 electrical engineering, electronic engineering, information engineering
Self-balancing binary search tree
Algorithm
Software
Order statistic tree
Subjects
Details
- Database :
- OpenAIRE
- Journal :
- Proceedings of the 21st ACM SIGPLAN Symposium on Principles and Practice of Parallel Programming
- Accession number :
- edsair.doi.dedup.....8aba43a2b4c93439e2742c17e5564977
- Full Text :
- https://doi.org/10.1145/2851141.2851173