Out-of-Order Sliding-Window Aggregation with Efficient Bulk Evictions and Insertions

Sliding-window aggregation is a foundational stream processing primitive that efficiently summarizes recent data. The state-of-the-art algorithms for sliding-window aggregation are highly efficient when stream data items are evicted or inserted one at a time, even when some of the insertions occur o...

Full description

Saved in:
Bibliographic Details
Main Author: Tangwongsan K.
Other Authors: Mahidol University
Format: Conference or Workshop Item
Published: 2023
Subjects:
Online Access:https://repository.li.mahidol.ac.th/handle/123456789/90259
Tags: Add Tag
No Tags, Be the first to tag this record!
Institution: Mahidol University
id th-mahidol.90259
record_format dspace
spelling th-mahidol.902592023-10-01T01:01:16Z Out-of-Order Sliding-Window Aggregation with Efficient Bulk Evictions and Insertions Tangwongsan K. Mahidol University Computer Science Sliding-window aggregation is a foundational stream processing primitive that efficiently summarizes recent data. The state-of-the-art algorithms for sliding-window aggregation are highly efficient when stream data items are evicted or inserted one at a time, even when some of the insertions occur out-of-order. However, real-world streams are often not only out-of-order but also bursty, causing data items to be evicted or inserted in larger bulks. This paper introduces a new algorithm for sliding-window aggregation with bulk eviction and bulk insertion. For the special case of single insert and evict, our algorithm matches the theoretical complexity of the best previous out-of-order algorithms. For the case of bulk evict, our algorithm improves upon the theoretical complexity of the best previous algorithm for that case and also outperforms it in practice. For the case of bulk insert, there are no prior algorithms, and our algorithm improves upon the naive approach of emulating bulk insert with a loop over single inserts, both in theory and in practice. Overall, this paper makes high-performance algorithms for sliding window aggregation more broadly applicable by efficiently handling the ubiquitous cases of out-of-order data and bursts. 2023-09-30T18:01:16Z 2023-09-30T18:01:16Z 2023-01-01 Conference Paper Proceedings of the VLDB Endowment Vol.16 No.11 (2023) , 3227-3239 10.14778/3611479.3611521 21508097 2-s2.0-85171844169 https://repository.li.mahidol.ac.th/handle/123456789/90259 SCOPUS
institution Mahidol University
building Mahidol University Library
continent Asia
country Thailand
Thailand
content_provider Mahidol University Library
collection Mahidol University Institutional Repository
topic Computer Science
spellingShingle Computer Science
Tangwongsan K.
Out-of-Order Sliding-Window Aggregation with Efficient Bulk Evictions and Insertions
description Sliding-window aggregation is a foundational stream processing primitive that efficiently summarizes recent data. The state-of-the-art algorithms for sliding-window aggregation are highly efficient when stream data items are evicted or inserted one at a time, even when some of the insertions occur out-of-order. However, real-world streams are often not only out-of-order but also bursty, causing data items to be evicted or inserted in larger bulks. This paper introduces a new algorithm for sliding-window aggregation with bulk eviction and bulk insertion. For the special case of single insert and evict, our algorithm matches the theoretical complexity of the best previous out-of-order algorithms. For the case of bulk evict, our algorithm improves upon the theoretical complexity of the best previous algorithm for that case and also outperforms it in practice. For the case of bulk insert, there are no prior algorithms, and our algorithm improves upon the naive approach of emulating bulk insert with a loop over single inserts, both in theory and in practice. Overall, this paper makes high-performance algorithms for sliding window aggregation more broadly applicable by efficiently handling the ubiquitous cases of out-of-order data and bursts.
author2 Mahidol University
author_facet Mahidol University
Tangwongsan K.
format Conference or Workshop Item
author Tangwongsan K.
author_sort Tangwongsan K.
title Out-of-Order Sliding-Window Aggregation with Efficient Bulk Evictions and Insertions
title_short Out-of-Order Sliding-Window Aggregation with Efficient Bulk Evictions and Insertions
title_full Out-of-Order Sliding-Window Aggregation with Efficient Bulk Evictions and Insertions
title_fullStr Out-of-Order Sliding-Window Aggregation with Efficient Bulk Evictions and Insertions
title_full_unstemmed Out-of-Order Sliding-Window Aggregation with Efficient Bulk Evictions and Insertions
title_sort out-of-order sliding-window aggregation with efficient bulk evictions and insertions
publishDate 2023
url https://repository.li.mahidol.ac.th/handle/123456789/90259
_version_ 1781797408256032768