A practical concurrent binary search tree
Nathan Grasso Bronson, Jared Casper, Hassan Chafi et al. · ACM SIGPLAN Notices · 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 67 works. doi:10.1145/1837853.1693488
Authors
References
- Linearizability: a correctness condition for concurrent objects
- Skip lists: a probabilistic alternative to balanced 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
- McRT-STM
- Scalable reader-writer synchronization for shared-memory multiprocessors
- Fast and lock-free concurrent priority queues for multi-thread systems
- Concurrency control in database structures with relaxed balance