/sliding-window-aggregators

Reference implementations of sliding window aggregation algorithms

Primary LanguageC++Apache License 2.0Apache-2.0

Sliding Window Aggregators

This repo contains reference implementations of many different sliding window aggregation algorithms.

All of these algorithms require operators that are associative. We classify the algorithms in two groups: those that require data to arrive in-order, and those that allow data to arrive out-of-order. We refer to the algorithms that require data to arrive in-order as FIFO algorithms, as they assume first-in, first-out semantics. We refer to algorithms that tolerate disordered data as general algorithms.

The algorithmic complexity of the algorithms is with respect to the size of the window.

A tutorial and encyclopedia article provide more background on sliding window aggregation algorithms.

FIFO Algorithms

General Algorithms