跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 数据库

arXiv:2310.05293 (cs)
[提交于 2023年10月10日]

标题:Wait-free Trees with Asymptotically-Efficient Range Queries

作者:Ilya Kokorin, Dan Alistarh, Vitaly Aksenov
查看论文《Wait-free Trees with Asymptotically-Efficient Range Queries》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:Tree data structures, such as red-black trees, quad trees, treaps, or tries, are fundamental tools in computer science. A classical problem in concurrency is to obtain expressive, efficient, and scalable versions of practical tree data structures. We are interested in concurrent trees supporting range queries, i.e., queries that involve multiple consecutive data items. Existing implementations with this capability can list keys in a specific range, but do not support aggregate range queries: for instance, if we want to calculate the number of keys in a range, the only choice is to retrieve a whole list and return its size. This is suboptimal: in the sequential setting, one can augment a balanced search tree with counters and, consequently, perform these aggregate requests in logarithmic rather than linear time. In this paper, we propose a generic approach to implement a broad class of range queries on concurrent trees in a way that is wait-free, asymptotically efficient, and practically scalable. The key idea is a new mechanism for maintaining metadata concurrently at tree nodes, which can be seen as a wait-free variant of hand-over-hand locking (which we call hand-over-hand helping). We implement, test, and benchmark a balanced binary search tree with wait-free insert, delete, contains, and count operations, returning the number of keys in a given range which validates the expected speedups because of our method in practice.
主题: 数据库 (cs.DB); 分布式、并行与集群计算 (cs.DC); 数据结构与算法 (cs.DS)
引用方式: arXiv:2310.05293 [cs.DB]
  (或者 arXiv:2310.05293v1 [cs.DB] 对于此版本)
  https://doi.org/10.48550/arXiv.2310.05293

提交历史

来自:Vitaly Aksenov
[v1] 2023年10月10日 星期二 00:00:00 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.DB
< 上一篇   |   下一篇 >
最新 | 近期 | 2023-10
切换浏览方式为:
cs
cs.DC
cs.DS

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站