Publication | Closed Access
General incremental sliding-window aggregation
104
Citations
30
References
2015
Year
Mathematical ProgrammingCluster ComputingEngineeringData AggregationComputer ArchitectureStreaming AlgorithmData Streaming ArchitectureOperations ResearchAggregate FunctionData ScienceDiscrete MathematicsParallel ComputingCombinatorial OptimizationData ManagementStream ProcessingStreaming EngineComputer EngineeringComputer ScienceData Stream ManagementSliding-window AggregationReactive AggregatorParallel ProgrammingBig Data
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.
| Year | Citations | |
|---|---|---|
Page 1
Page 1