Sliding-window log
A sliding-window log stores the timestamp of each accepted request and removes timestamps older than the current window. It provides precise rolling-window limits but requires storage proportional to the number of requests retained.