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

序列与函数:数据流处理的双重性质

Sequences, yet Functions: The Dual Nature of Data-Stream Processing

Sebastian Herbst, Johannes Tenschert, Andreas M. Wahl, Klaus Meyer-Wegener

摘要:

在过去的十年中,随着可用数据量的稳步增长,数据流处理的重要性不断提高。除了数据中心监控和点击分析等传统领域外,越来越多的支持网络的生产机器可以生成连续的数据流。由于其连续性,数据流上的查询可能更复杂,并且明显比数据库查询更难理解。由于用户必须考虑操作细节,维护和调试变得具有挑战性。当前的方法将数据流建模为序列,因为这是它们物理接收的方式。这些模型产生了一个以实现为中心的视角。我们探索一种替代的方式建模数据流的时间切片语义的重点。这种关注导致了一个基于函数的模型,它更适合于查询语义的推理。通过调整流处理中的相关概念的定义,我们的模型,我们说明了我们的方法的实用性。因此,我们将数据流和查询原语与函数式编程和数学中的概念联系起来。最值得注意的是,我们证明了数据流是单子,并展示了如何获得单子定义当前的数据流模型。我们提供了一个抽象的,但实际的角度对数据流相关的主题的基础上健全的,一致的查询模型。我们的工作可以作为未来的数据流查询语言的坚实基础。

英文摘要:

Data-stream processing has continuously risen in importance as the amount of available data has been steadily increas- ing over the last decade. Besides traditional domains such as data-center monitoring and click analytics, there is an increasing number of network-enabled production machines that generate continuous streams of data. Due to their continuous nature, queries on data-streams can be more complex, and distinctly harder to understand then database queries. As users have to consider operational details, maintenance and debugging become challenging. Current approaches model data-streams as sequences, be- cause this is the way they are physically received. These models result in an implementation-focused perspective. We explore an alternate way of modeling data-streams by focusing on time-slicing semantics. This focus results in a model based on functions, which is better suited for reasoning about query semantics. By adapting the definitions of relevant concepts in stream processing to our model, we illustrate the practical useful- ness of our approach. Thereby, we link data-streams and query primitives to concepts in functional programming and mathematics. Most noteworthy, we prove that data-streams are monads, and show how to derive monad definitions for current data-stream models. We provide an abstract, yet practical perspective on data- stream related subjects based on a sound, consistent query model. Our work can serve as solid foundation for future data-stream query-languages.

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

↑