educative.io

Reg Rate Limiter Algorithm | Sliding window log | Slide 4

Hello,
Can someone explain the statement in slide 4 of the illustration for Sliding Window Log Algorithm? It reads as follows -
A new request comes in at 02:25, and we start our new window from there. We keep one last window (from 01:25 to 02:25) in the log. The old data is removed from the log, and the size is reduced accordingly

I am not able to understand the timestamp.

1 Like