质量驱动的M向滑动窗口流连接的无序处理
Quality-Driven Disorder Handling for M-way Sliding Window Stream Joins
摘要:
滑动窗口连接是流应用中最重要的操作之一。为了产生高质量的连接结果,流处理系统必须处理由网络延迟、异步源时钟等引起的输入流中普遍存在的无序。无序处理涉及延迟和所产生的连接结果的质量之间的不可避免的权衡。为了满足流应用的不同要求,期望提供用户可配置的结果延迟与结果质量的折衷。现有的紊乱处理方法要么不提供这样的可配置性,要么仅支持用户指定的延迟约束。在这项工作中,我们提倡质量驱动的无序处理的想法,并提出了一个基于缓冲区的无序处理方法的滑动窗口连接,最大限度地减少输入排序缓冲区的大小,从而结果延迟,同时尊重用户指定的结果质量要求。我们的方法的核心是一个分析模型,它直接捕捉输入缓冲区的大小和产生的结果质量之间的关系。我们的方法是通用的。它支持具有任意连接条件的m路滑动窗口连接。在真实世界和合成数据集上的实验表明,与现有技术相比,我们的方法可以将无序处理引起的结果延迟减少高达95%,同时提供相同水平的结果质量。
英文摘要:
Sliding window join is one of the most important operators for stream applications. To produce high quality join results, a stream processing system must deal with the ubiquitous disorder within input streams which is caused by network delay, asynchronous source clocks, etc. Disorder handling involves an inevitable tradeoff between the latency and the quality of produced join results. To meet different requirements of stream applications, it is desirable to provide a user-configurable result-latency vs. result-quality tradeoff. Existing disorder handling approaches either do not provide such configurability, or support only user-specified latency constraints. In this work, we advocate the idea of quality-driven disorder handling, and propose a buffer-based disorder handling approach for sliding window joins, which minimizes sizes of input-sorting buffers, thus the result latency, while respecting user-specified result-quality requirements. The core of our approach is an analytical model which directly captures the relationship between sizes of input buffers and the produced result quality. Our approach is generic. It supports m-way sliding window joins with arbitrary join conditions. Experiments on real-world and synthetic datasets show that, compared to the state of the art, our approach can reduce the result latency incurred by disorder handling by up to 95% while providing the same level of result quality.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。