General Incremental Sliding-Window Aggregation

被引:69
作者
Tangwongsan, Kanat [1 ]
Hirzel, Martin [2 ]
Schneider, Scott [2 ]
Wu, Kun-Lung [2 ]
机构
[1] Mahidol Univ, Int Coll, Bangkok 10700, Thailand
[2] IBM Res, Yorktown Hts, NY USA
来源
PROCEEDINGS OF THE VLDB ENDOWMENT | 2015年 / 8卷 / 07期
关键词
D O I
10.14778/2752939.2752940
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Stream processing is gaining importance as more data becomes available in the form of continuous streams and companies compete to promptly extract insights from them. In such applications, sliding-window aggregation is a central operator, and incremental aggregation helps avoid the performance penalty of re-aggregating from scratch for each window change. This paper presents Reactive Aggregator (RA), a new framework for incremental sliding-window aggregation. RA is general in that it does not require aggregation functions to be invertible or commutative, and it does not require windows to be FIFO. We implemented RA as a drop-in replacement for the Aggregate operator of a commercial streaming engine. Given m updates on a window of size n, RA has an algorithmic complexity of O(m + m log (n/m)), rivaling the best prior algorithms for any m. Furthermore, RA's implementation minimizes overheads from allocation and pointer traversals by using a single flat array.
引用
收藏
页码:702 / 713
页数:12
相关论文
共 50 条
[41]   Work-Efficient Batch-Incremental Minimum Spanning Trees with Applications to the Sliding-Window Model [J].
Anderson, Daniel ;
Blelloch, Guy E. ;
Tangwongsan, Kanat .
PROCEEDINGS OF THE 32ND ACM SYMPOSIUM ON PARALLELISM IN ALGORITHMS AND ARCHITECTURES (SPAA '20), 2020, :51-61
[42]   Sliding-Window Gelfand-Pinsker Coding: General K-User Broadcast Channels [J].
Ganguly, Shouvik ;
Wang, Lele .
2020 IEEE INFORMATION THEORY WORKSHOP (ITW), 2021,
[43]   Effective Space Usage Estimation for Sliding-Window Skybands [J].
Chen, Lijun ;
Zhao, Jiakui ;
Huang, Qun ;
Yang, Liang Huai .
MATHEMATICAL PROBLEMS IN ENGINEERING, 2010, 2010
[44]   A Sliding-Window LMMSE Turbo Equalization Scheme for OTFS [J].
Lampel, Franz ;
Alvarado, Alex ;
Willems, Frans M. J. .
IEEE COMMUNICATIONS LETTERS, 2023, 27 (12) :3320-3324
[45]   Extending Sliding-Window Semantics over Data Streams [J].
Chen, Leisong ;
Lin, Guoping .
ISCSCT 2008: INTERNATIONAL SYMPOSIUM ON COMPUTER SCIENCE AND COMPUTATIONAL TECHNOLOGY, VOL 2, PROCEEDINGS, 2008, :110-+
[46]   On sliding-window universal data compression with limited memory [J].
Hershkovits, Y ;
Ziv, J .
IEEE TRANSACTIONS ON INFORMATION THEORY, 1998, 44 (01) :66-78
[47]   Sliding-window scalar multiplication of matrices and earthquake prediction [J].
Strigunova, MS ;
Shurygin, AM .
AUTOMATION AND REMOTE CONTROL, 2004, 65 (07) :1059-1065
[48]   CFB under Sliding-Window Protocols in Error Channels [J].
Liang, Xiannuan ;
Xiao, Yang ;
Vasilakos, Athanasios V. ;
Deng, Hongmei ;
Meng, Ke .
MILITARY COMMUNICATIONS CONFERENCE, 2010 (MILCOM 2010), 2010, :1502-1507
[49]   Evaluation and analysis of the sliding-window parallel packet switch [J].
Liu, CL ;
Lin, W ;
Wu, CC .
AINA 2005: 19TH INTERNATIONAL CONFERENCE ON ADVANCED INFORMATION NETWORKING AND APPLICATIONS, VOL 2, 2005, :355-358
[50]   Maintaining Sliding-Window Neighborhood Profiles in Interaction Networks [J].
Kumar, Rohit ;
Calders, Toon ;
Gionis, Aristides ;
Tatti, Nikolaj .
MACHINE LEARNING AND KNOWLEDGE DISCOVERY IN DATABASES, ECML PKDD 2015, PT II, 2015, 9285 :719-735