educative.io

Educative

API Rate Limiter System Design

Assume 20 bytes overhead for hash-table and 20 bytes for Redis hash. Since we’ll keep a count for each minute, at max, we would need 60 entries for each user.
Why 60 entries @Design_Gurus


Course: Grokking the System Design Interview - Learn Interactively
Lesson: Designing an API Rate Limiter - Grokking the System Design Interview

Hello @Dolly_Vaishnav,
It is because we are keeping count of each minute, and every hour has 60 minutes. So, that gets us a user entry of 60 per hour.
Hope this helps