⚙️Windowing (Stream Processing)
Also known as Windowing, Stream Window, Time Window
Cutting an endless stream into pieces of time, so you can count.
Think of it like
It is like counting cars that pass your house, five minutes at a time. Each five minutes gets its own count.
Example
A shop counts page views per page in 1-minute windows. The live chart shows a new bar each minute.
Why it matters
Nearly every total on a stream is a window. Clicks a minute and sales an hour are both windows.
Definition
Common mistake
Key takeaways
- 1Finite pieces. Of an endless stream.
- 2Three main kinds. Tumbling, sliding, session.
- 3Closed by the watermark. Then the result is sent.