Sliding Window

A sliding window moves through the data stream in a fixed-size, overlapping manner. Each window collects and processes a fixed number of data items or a fixed duration of data, after which the window is moved forward by a fixed amount. Sliding windows is a specific type of tumbling window, and differs from fixed windows, by allowing data overlap. An event can belong to various sliding windows.