Scotty: General and Efficient Open-source Window Aggregation for Stream Processing Systems

ACM Transactions on Database Systems(2021)

引用 18|浏览26
暂无评分
摘要
AbstractWindow aggregation is a core operation in data stream processing. Existing aggregation techniques focus on reducing latency, eliminating redundant computations, or minimizing memory usage. However, each technique operates under different assumptions with respect to workload characteristics, such as properties of aggregation functions (e.g., invertible, associative), window types (e.g., sliding, sessions), windowing measures (e.g., time- or count-based), and stream (dis)order. In this article, we present Scotty, an efficient and general open-source operator for sliding-window aggregation in stream processing systems, such as Apache Flink, Apache Beam, Apache Samza, Apache Kafka, Apache Spark, and Apache Storm. One can easily extend Scotty with user-defined aggregation functions and window types. Scotty implements the concept of general stream slicing and derives workload characteristics from aggregation queries to improve performance without sacrificing its general applicability. We provide an in-depth view on the algorithms of the general stream slicing approach. Our experiments show that Scotty outperforms alternative solutions.
更多
查看译文
关键词
Window, aggregation, sliding-window, session window, tumbling window, aggregate sharing, open-source, stream processing, Scotty, Apache Flink, Apache Storm, Apache Samza, Apache Beam, Apache Spark, Apache Kafka Streams
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要