Practical concurrent binary search trees via logical ordering

Dana Drachsler, Martin Vechev, Yahav Eran

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

We present practical, concurrent binary search tree (BST) algorithms that explicitly maintain logical ordering information in the data structure, permitting clean separation from its physical tree layout. We capture logical ordering using intervals, with the property that an item belongs to the tree if and only if the item is an endpoint of some interval. We are thus able to construct efficient, synchronization-free and intuitive lookup operations. We present (i) a concurrent non-balanced BST with a lock-free lookup, and (ii) a concurrent AVL tree with a lock-free lookup that requires no synchronization with any mutating operations, including balancing operations. Our algorithms apply on-time deletion; that is, every request for removal of a node, results in its immediate removal from the tree. This new feature did not exist in previous concurrent internal tree algorithms. We implemented our concurrent BST algorithms and evaluated them against several state-of-the-art concurrent tree algorithms. Our experimental results show that our algorithms with lock-free contains and on-time deletion are practical and often comparable to the state-of-the-art.

Original languageEnglish
Title of host publicationPPoPP 2014 - Proceedings of the 2014 ACM SIGPLAN Symposium on Principles and Practice of Parallel Programming
Pages343-356
Number of pages14
Volume49
Edition8
DOIs
StatePublished - Aug 2014
Event2014 19th ACM SIGPLAN Symposium on Principles and Practice of Parallel Programming, PPoPP 2014 - Orlando, FL, United States
Duration: 15 Feb 201419 Feb 2014

Publication series

NameACM SIGPLAN Notices
PublisherAssociation for Computing Machinery (ACM)

Conference

Conference2014 19th ACM SIGPLAN Symposium on Principles and Practice of Parallel Programming, PPoPP 2014
Country/TerritoryUnited States
CityOrlando, FL
Period15/02/1419/02/14

Keywords

  • Concurrency
  • Search Trees

All Science Journal Classification (ASJC) codes

  • Software

Fingerprint

Dive into the research topics of 'Practical concurrent binary search trees via logical ordering'. Together they form a unique fingerprint.

Cite this