Last Minute Notes
Github
Docs
Learn
Search
⌘
K
@sayanstwt
Lessons
Learn
/
System Design
/
Traffic & Edge
Rate Limiting
8 min
Intermediate
6 steps
Token bucket, sliding window and where to enforce a limit.
Capacity
~10 / s
Spike
31 / s
Result
overload
PER SECOND
0
1
2
3
4
5
4
5
5
31
6
4
current
done
skipped
In this lesson
Step 1 of 6
1
The problem
2
Token bucket
3
Fixed window
4
Sliding window
5
Distributed
6
Recap