Concurrent tries with efficient non-blocking snapshots
Open Access
- 25 February 2012
- journal article
- conference paper
- Published by Association for Computing Machinery (ACM) in ACM SIGPLAN Notices
- Vol. 47 (8) , 151-160
Abstract
We describe a non-blocking concurrent hash trie based on shared-memory single-word compare-and-swap instructions. The hash trie supports standard mutable lock-free operations such as insertion, removal, lookup and their conditional variants. To ensure space-efficiency, removal operations compress the trie when necessary. We show how to implement an efficient lock-free snapshot operation for concurrent hash tries. The snapshot operation uses a single-word compare-and-swap and avoids copying the data structure eagerly. Snapshots are used to implement consistent iterators and a linearizable size retrieval. We compare concurrent hash trie performance with other concurrent data structures and evaluate the performance of the snapshot operation.Keywords
This publication has 14 references indexed in Scilit:
- A Generic Parallel Collection Framework2011
- Statistically rigorous java performance evaluation2007
- Split-ordered listsJournal of the ACM, 2006
- High performance dynamic lock-free hash tables and list-based sets2002
- Skip lists: a probabilistic alternative to balanced treesCommunications of the ACM, 1990
- A methodology for implementing highly concurrent data structures1990
- Concurrency and Trie HashingActa Informatica, 1989
- Trie hashing1981
- Concurrent manipulation of binary search treesACM Transactions on Database Systems, 1980
- Trie memoryCommunications of the ACM, 1960