Open-access article

A practical concurrent binary search tree

A practical concurrent binary search tree

Abstract

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.

Authors and affiliations
  1. Nathan G.Bronson — Stanford University
  2. JaredCasper
  3. HassanChafi
  4. KunleOlukotun

Similar items

  • A Forest of Hashed Binary Search Trees with Reduced Internal Path Length and better Compatibility with the Concurrent Environment

    Scholarly record2011Vinod Prasad

    We propose to maintain a Binary Search Tree in the form of a forest in such a way that – (a) it provides faster node access and, (b) it becomes more compatible with the concurrent environment. Using a small array, the stated goals were achieved without applying any restructuring

  • Concurrent manipulation of binary search trees

    Open-access article1980ACM Transactions on Database SystemsH. T.Kung, Philip L.Lehman

    The concurrent manipulation of a binary search tree is considered in this paper. The systems presented can support any number of concurrent processes which perform searching, insertion, deletion, and rotation (reorganization) on the tree, but allow any process to lock only a cons

  • A Concurrency-Optimal Binary Search Tree

    Scholarly record2017Euro-ParVitaly Aksenov, Vincent Gramoli, Petr Kuznetsov, Anna Malova

    The paper presents the first concurrency-optimal implementation of a binary search tree (BST). The implementation, based on a standard sequential implementation of an internal tree, ensures that every schedule is accepted, i.e., interleaving of steps of the sequential code, unles

  • Depth of a Random Binary Search Tree with Concurrent Insertions

    Scholarly record2016DISCJames Aspnes, Eric Ruppert

    Shu e a deck of n cards numbered 1 through n. Deal out the rst c cards into a hand. A player then repeatedly chooses one of the cards from the hand, inserts it into a binary search tree, and then adds the next card from deck to the hand (if the deck is empty). When the player nal

  • Under review for IEEE Transactions on Parallel and Distributed Systems Parallel Construction of Multidimensional Binary Search Trees

    Scholarly record2007Ibraheem Al-furaih, Srinivas Aluru, Sanjay Goil, Sanjay Ranka

    Multidimensional binary search tree (abbreviated k-d tree) is a popular data structure for the organization and manipulation of spatial data. The data structure is useful in several applications including graph partitioning, hierarchical applications such as molecular dynamics an

  • On Performance Deviation of Binary Search Tree Searches from the Optimal Search Tree Search Structures

    Scholarly record2008Ahmed Tarek

    Binary Search Trees are a frequently used data structure for rapid access to the stored data. Data structures like arrays, vectors and linked lists are limited by the trade-off between the ability to perform a fast search and resize easily. They are an alternative that is both dy