Open source and commercial streaming engines such as IBM Streams, Apache Storm, or Apache Flink are using the concept of windows.
Windows specify the granularity or number of subsequent records, which are taken into account when executing aggregation functions on streams.