⚙️Sliding Window
Also known as Hopping Window, Moving Window
Windows of one size that overlap. Each step gives a new result.
Think of it like
You look at the last ten minutes of a race. A minute later, you look at the last ten again.
Example
A site alerts when errors in the last 10 minutes pass 100. The check runs every minute on a sliding window.
Why it matters
It smooths out spikes and still updates often. Most live alerts and moving averages use it.
Definition
Common mistake
Key takeaways
- 1Size and step. Such as 10 minutes every 1.
- 2Overlap. One event, many windows.
- 3For moving views. Averages and alerts.