PAM:并行增强贴图
PAM: Parallel Augmented Maps
摘要:
有序(键-值)映射是大规模数据处理框架中重要且广泛使用的数据类型。除了简单的搜索、插入和删除之外,更高级的操作(如范围提取、过滤和批量更新)构成了这些框架的关键部分。我们描述了一个接口的有序地图,增强,以支持快速范围查询和总和,并引入一个并行和并发的库称为PAM(并行增强地图),实现接口。该界面包括增强地图上的各种功能,从基本的插入和删除到更有趣的功能,如并集,交集,过滤,提取范围,分裂和范围总和。我们描述了这些功能,在理论和实践中是有效的算法。作为使用的接口和PAM的性能的例子,我们将库应用到四个应用程序:简单的范围总和,区间树,二维范围树,排名字索引搜索。与直接实现相比,该接口大大简化了这些数据结构的实现。顺序地,代码实现了匹配或超过专门为单个应用程序设计的现有库的性能,并且并行地,我们的实现在具有双向超线程的72个核心上获得了从40到90的加速比。
英文摘要:
Ordered (key-value) maps are an important and widely-used data type for large-scale data processing frameworks. Beyond simple search, insertion and deletion, more advanced operations such as range extraction, filtering, and bulk updates form a critical part of these frameworks. We describe an interface for ordered maps that is augmented to support fast range queries and sums, and introduce a parallel and concurrent library called PAM (Parallel Augmented Maps) that implements the interface. The interface includes a wide variety of functions on augmented maps ranging from basic insertion and deletion to more interesting functions such as union, intersection, filtering, extracting ranges, splitting, and range-sums. We describe algorithms for these functions that are efficient both in theory and practice. As examples of the use of the interface and the performance of PAM, we apply the library to four applications: simple range sums, interval trees, 2D range trees, and ranked word index searching. The interface greatly simplifies the implementation of these data structures over direct implementations. Sequentially the code achieves performance that matches or exceeds existing libraries designed specially for a single application, and in parallel our implementation gets speedups ranging from 40 to 90 on 72 cores with 2-way hyperthreading.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。