arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2303.00793cs.DC
收藏

流处理引擎中运算符的语义重叠研究

On the Semantic Overlap of Operators in Stream Processing Engines

Vincenzo Gulisano, Alessandro Margara, Marina Papatriantafilou

摘要:

流处理广泛用于物联网到云频谱中,以从连续的数据流中提取信息。流应用程序通常在采用DataFlow模型的专用流处理引擎(SPE)中运行,该模型将此类应用程序定义为运算符图,这些运算符逐步将数据转换为所需的结果。由于操作符可以独立部署和执行,因此DataFlow模型支持并行和分布,从而使流应用程序具有可伸缩性。今天,我们看到了大量SPE,每个SPE都有自己的一组操作符。在这种情况下,理解操作符的语义如何在SPE内部和SPE之间重叠,以及哪些SPE可以支持给定的应用程序,并不是一件小事。我们解决这个问题,正式表明,常见的SPE操作符可以表示为一个单一的,最小的聚合操作符的组合,从而显示任何框架能够运行这样的操作符组合可以运行应用程序定义的最先进的SPE。Aggregate运算符仅依赖于DataFlow模型的核心概念,例如按键和基于时间的窗口进行数据分区,并且只能为它分析的每个窗口输出一个值。连同我们的正式论证,我们经验性地评估如何SPE,只依赖于这样的操作符与SPE提供特定于操作符的实现相比,以及研究的性能影响,更有表现力的聚合运算符,通过放松输出的约束,每个窗口最多一个值。这种共同点的存在不仅意味着SPE内部和SPE之间的操作员的可移植性,而且还为其他数据处理框架定义了一组简洁的需求,以支持流应用程序。

英文摘要:

Stream processing is extensively used in the IoT-to-Cloud spectrum to distill information from continuous streams of data. Streaming applications usually run in dedicated Stream Processing Engines (SPEs) that adopt the DataFlow model, which defines such applications as graphs of operators that, step by step, transform data into the desired results. As operators can be deployed and executed independently, the DataFlow model supports parallelism and distribution, thus making streaming applications scalable. Today, we witness an abundance of SPEs, each with its set of operators. In this context, understanding how operators' semantics overlap within and across SPEs, and thus which SPEs can support a given application, is not trivial. We tackle this problem by formally showing that common operators of SPEs can be expressed as compositions of a single, minimalistic Aggregate operator, thus showing any framework able to run compositions of such an operator can run applications defined for state-of-the-art SPEs. The Aggregate operator only relies on core concepts of the DataFlow model such as data partitioning by key and time-based windows, and can only output up to one value for each window it analyzes. Together with our formal argumentation, we empirically assess how an SPE that only relies on such an operator compares with an SPE offering operator-specific implementations, as well as study the performance impact of a more expressive Aggregate operator by relaxing the constraint of outputting up to one value per window. The existence of such a common denominator not only implies the portability of operators within and across SPEs but also defines a concise set of requirements for other data processing frameworks to support streaming applications.

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

↑