A Concurrency-Optimal Binary Search Tree
Authors:
Preprint
Abstract
The paper presents the first \emph{concurrency-optimal} implementation of a binary search tree (BST). The implementation, based on a standard sequential implementation of an internal tree, ensures that every \emph{schedule} is accepted, i.e., interleaving of steps of the sequential code, unless linearizability is violated. To ensure this property, we use a novel read-write locking scheme that protects tree \emph{edges} in addition to nodes. Our implementation outperforms the state-of-the art BSTs on most basic workloads, which suggests that optimizing the set of accepted schedules of the sequential code can be an adequate design principle for efficient concurrent data structures.Keywords
All Related Versions
This publication has 10 references indexed in Scilit:
- Efficient lock-free binary search trees2014
- Fast concurrent lock-free binary search treesACM SIGPLAN Notices, 2014
- A non-blocking internal binary search tree2012
- Non-blocking binary search trees2010
- A practical concurrent binary search treeACM SIGPLAN Notices, 2010
- STAMP: Stanford Transactional Applications for Multi-Processing2008
- Permissiveness in Transactional Memories2008
- A Lazy Concurrent List-Based Set Algorithm2006
- Linearizability: a correctness condition for concurrent objectsACM Transactions on Programming Languages and Systems, 1990
- The serializability of concurrent database updatesJournal of the ACM, 1979