A practical concurrent binary search tree
Nathan Grasso Bronson, Jared Casper, Hassan Chafi et al. · ACM SIGPLAN Symposium on Principles and Practice of Parallel Programming · 2010
We propose a concurrent relaxed balance AVL tree algorithm that is fast, scales well, and tolerates contention. It is based on optimistic techniques adapted from software transactional memory, but takes advantage of specific knowledge of the the algorithm to reduce overheads and avoid unnecessary retries. We extend our algorithm with a fast linearizable clone operation, which can be used for consistent iteration of the tree. Experimental evidence shows that our algorithm outperforms a highly tuned concurrent skip list for many access patterns, with an average of 39% higher single-threaded throughput and 32% higher multi-threaded throughput over a range of contention levels and operation mixes.
Cited by 195 works. doi:10.1145/1693453.1693488
Authors
References
- Linearizability: a correctness condition for concurrent objects
- AN ALGORITHM FOR THE ORGANIZATION OF INFORMATION
- Skip lists: a probabilistic alternative to balanced trees
- Concurrency of operations on B-trees
- A dichromatic framework for balanced trees
- Symmetric binary B-Trees: Data structure and maintenance algorithms
- Software transactional memory for dynamic-sized data structures
- Readings in Database Systems
- Practical lock-freedom
- McRT-STM