Sliding-window counter
A sliding-window counter estimates the request count in a rolling time window by combining the current fixed-window count with a weighted portion of the previous window. It uses less storage than a full request log but is an approximation.