Publication:
In-order sliding-window aggregation in worst-case constant time

dc.contributor.authorKanat Tangwongsanen_US
dc.contributor.authorMartin Hirzelen_US
dc.contributor.authorScott Schneideren_US
dc.contributor.otherMahidol Universityen_US
dc.contributor.otherIBM Researchen_US
dc.date.accessioned2022-08-04T08:25:51Z
dc.date.available2022-08-04T08:25:51Z
dc.date.issued2021-11-01en_US
dc.description.abstractSliding-window aggregation is a widely-used approach for extracting insights from the most recent portion of a data stream. While aggregations of interest can usually be expressed as binary operators that are associative, they are not necessarily commutative nor invertible. Non-invertible operators, however, are difficult to support efficiently. DABA is the first algorithm for sliding-window aggregation with worst-case constant time. Prior to DABA, the best published algorithms would require O(log n) aggregation steps per window operation for a window of size n—and while for strictly in-order streams, this bound could be improved to O(1) aggregation steps in the amortized sense, it was not known how to achieve an O(1) bound in the worst case, which is critical for latency-sensitive applications. In this article, besides describing DABA in more detail, we introduce a new variant, DABA Lite, which achieves the same time bounds in less memory. Whereas DABA requires space for storing 2n partial aggregates, DABA Lite only requires space for n+ 2 partial aggregates. Our experiments on synthetic and real data support the theoretical findings.en_US
dc.identifier.citationVLDB Journal. Vol.30, No.6 (2021), 933-957en_US
dc.identifier.doi10.1007/s00778-021-00668-3en_US
dc.identifier.issn0949877Xen_US
dc.identifier.issn10668888en_US
dc.identifier.other2-s2.0-85107414145en_US
dc.identifier.urihttps://repository.li.mahidol.ac.th/handle/20.500.14594/76631
dc.rightsMahidol Universityen_US
dc.rights.holderSCOPUSen_US
dc.source.urihttps://www.scopus.com/inward/record.uri?partnerID=HzOxMe3b&scp=85107414145&origin=inwarden_US
dc.subjectComputer Scienceen_US
dc.titleIn-order sliding-window aggregation in worst-case constant timeen_US
dc.typeArticleen_US
dspace.entity.typePublication
mu.datasource.scopushttps://www.scopus.com/inward/record.uri?partnerID=HzOxMe3b&scp=85107414145&origin=inwarden_US

Files

Collections