arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2405.07434cs.DCcs.DS
收藏

并发聚合查询

Concurrent aggregate queries

Gal Sela, Erez Petrank

AI总结:

本文形式化定义并发树可高效支持的聚合查询,提出两种分别优化更新与查询时间的实现算法,并证明其正确性及二者间的复杂度权衡。

摘要:

并发数据结构是并发计算的基本构建块。人们已经为许多基本的顺序机制设计了对应的并发版本;然而,一个显著的缺失是支持聚合查询的并发树。聚合查询本质上是汇编关于某一范围内数据项的简明信息,例如计算30多岁员工的平均工资。这类查询在各种应用中发挥着重要作用,并且通常在本科数据结构课程中讲授。在本文中,我们形式化定义了一类可由并发树高效支持的聚合查询,并给出了在并发树上实现这些查询的设计。我们提出了实现该设计的两种算法:一种针对树更新时间进行优化,另一种针对聚合查询时间进行优化。我们分析了它们的正确性和复杂性,展示了查询时间与更新时间之间的权衡。

英文摘要:

Concurrent data structures serve as fundamental building blocks for concurrent computing. Many concurrent counterparts have been designed for basic sequential mechanisms; however, one notable omission is a concurrent tree that supports aggregate queries. Aggregate queries essentially compile succinct information about a range of data items, for example, calculating the average salary of employees in their 30s. Such queries play an essential role in various applications and are commonly taught in undergraduate data structures courses. In this paper, we formalize a type of aggregate queries that can be efficiently supported by concurrent trees and present a design for implementing these queries on concurrent trees. We bring two algorithms implementing this design, where one optimizes for tree update time, while the other optimizes for aggregate query time. We analyze their correctness and complexity, demonstrating the trade-offs between query time and update time.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑