PanJoin:一种基于划分的自适应流连接算法
PanJoin: A Partition-based Adaptive Stream Join
摘要:
在流处理中,流连接是性能瓶颈的关键来源之一。基于滑动窗口的流连接提供了精确的结果,但消耗了大量的计算资源。当前的解决方案缺乏对大窗口上的连接谓词的支持。这些算法和它们的硬件加速器要么局限于等价连接,要么使用嵌套循环连接来处理所有请求。在本文中,我们提出了一种新的算法称为PanJoin,它具有高吞吐量的大窗口,并支持equi-join和non-equi-join。PanJoin实现了三种新的数据结构,以减少流连接的探测阶段的计算。我们还实现了最硬件友好的数据结构,称为BI排序,在FPGA上。我们的评估表明,PanJoin比最近提出的几种流连接方法的性能高出1000倍以上,并且它也能很好地适应高度偏斜的数据。
英文摘要:
In stream processing, stream join is one of the critical sources of performance bottlenecks. The sliding-window-based stream join provides a precise result but consumes considerable computational resources. The current solutions lack support for the join predicates on large windows. These algorithms and their hardware accelerators are either limited to equi-join or use a nested loop join to process all the requests. In this paper, we present a new algorithm called PanJoin which has high throughput on large windows and supports both equi-join and non-equi-join. PanJoin implements three new data structures to reduce computations during the probing phase of stream join. We also implement the most hardware-friendly data structure, called BI-Sort, on FPGA. Our evaluation shows that PanJoin outperforms several recently proposed stream join methods by more than 1000x, and it also adapts well to highly skewed data.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。