Linearizable Iterators for Concurrent Sets
Archita Agarwal, Zhiyu Liu, Eli Rosenthal, Vikram Saraph

TL;DR
This paper introduces a framework for adding linearizable iterators to concurrent set data structures, ensuring consistent traversal without significantly impacting performance.
Contribution
The paper presents a novel framework for integrating linearizable iterators into set data structures using local consistency conditions.
Findings
Sets with locally consistent operations can be augmented with linearizable iterators
The framework applies to hash tables and binary search trees
Iterators do not significantly affect concurrent set operation performance
Abstract
This paper proposes a general framework for adding linearizable iterators to a class of data structures that implement set operations. We introduce a condition on set operations, called local consistency, which informally states that set operations never make elements unreachable to a sequential iterator's traversal. We show that sets with locally consistent operations can be augmented with a linearizable iterator via the framework. Our technique is broadly applicable to a variety of data structures, including hash tables and binary search trees. We apply the technique to sets taken from existing literature, prove their operations are locally consistent, and demonstrate that iterators do not significantly affect the performance of concurrent set operations.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsDistributed systems and fault tolerance · Advanced Database Systems and Queries · Logic, programming, and type systems
