Persistent Non-Blocking Binary Search Trees Supporting Wait-Free Range Queries

P. Fatourou, E. Ruppert
{"title":"Persistent Non-Blocking Binary Search Trees Supporting Wait-Free Range Queries","authors":"P. Fatourou, E. Ruppert","doi":"10.1145/3323165.3323197","DOIUrl":null,"url":null,"abstract":"This paper presents the first implementation of a search tree data structure in an asynchronous shared-memory system that provides a wait-free algorithm for executing range queries on the tree, in addition to non-blocking algorithms for Insert, Delete and Find, using single-word Compare-and-Swap (CAS). The implementation is linearizable and tolerates any number of crash failures. Insert and Delete operations that operate on different parts of the tree run fully in parallel (without any interference with one another). We employ a lightweight helping mechanism, where each Insert, Delete and Find operation helps only update operations that affect the local neighbourhood of the leaf that the Find arrives at. Similarly, a range query helps only those updates taking place on nodes in the part of the tree it traverses. Our implementation works in a dynamic system where the number of processes may change over time. The implementation builds upon the non-blocking binary search tree of Ellen et al. [PODC 2010] by making the tree persistent. Experimental results show that the persistent tree compares well with other tree data structures that provide range queries. The experimental evaluation also shows that the persistent tree scales well and that the additional cost of persistence is modest, as is the additional cost for achieving wait-free range queries.","PeriodicalId":369832,"journal":{"name":"The 31st ACM Symposium on Parallelism in Algorithms and Architectures","volume":"14 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2018-05-12","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"31","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"The 31st ACM Symposium on Parallelism in Algorithms and Architectures","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3323165.3323197","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 31

Abstract

This paper presents the first implementation of a search tree data structure in an asynchronous shared-memory system that provides a wait-free algorithm for executing range queries on the tree, in addition to non-blocking algorithms for Insert, Delete and Find, using single-word Compare-and-Swap (CAS). The implementation is linearizable and tolerates any number of crash failures. Insert and Delete operations that operate on different parts of the tree run fully in parallel (without any interference with one another). We employ a lightweight helping mechanism, where each Insert, Delete and Find operation helps only update operations that affect the local neighbourhood of the leaf that the Find arrives at. Similarly, a range query helps only those updates taking place on nodes in the part of the tree it traverses. Our implementation works in a dynamic system where the number of processes may change over time. The implementation builds upon the non-blocking binary search tree of Ellen et al. [PODC 2010] by making the tree persistent. Experimental results show that the persistent tree compares well with other tree data structures that provide range queries. The experimental evaluation also shows that the persistent tree scales well and that the additional cost of persistence is modest, as is the additional cost for achieving wait-free range queries.
持久性非阻塞二叉搜索树支持无等待范围查询
本文提出了异步共享内存系统中搜索树数据结构的第一个实现,除了使用单词比较与交换(CAS)的插入、删除和查找非阻塞算法外,还提供了一种用于在树上执行范围查询的无等待算法。该实现是线性化的,可以容忍任何数量的崩溃失败。对树的不同部分进行操作的插入和删除操作完全并行运行(彼此之间没有任何干扰)。我们采用轻量级的帮助机制,其中每个Insert、Delete和Find操作只帮助更新影响Find到达的叶节点的本地邻域的操作。类似地,范围查询只帮助在它所遍历的树部分的节点上发生的更新。我们的实现工作在一个动态系统中,其中进程的数量可能随时间而变化。该实现建立在Ellen等人[PODC 2010]的非阻塞二叉搜索树的基础上,使树持久。实验结果表明,持久树与其他提供范围查询的树数据结构相比效果良好。实验评估还表明,持久树的可伸缩性很好,并且持久性的额外成本是适度的,实现无等待范围查询的额外成本也是适度的。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信
小红书