File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ squares).
38
38
39
39
.. raw :: html
40
40
41
- <object data =" ../ _images/rate_limiter/fixed_window.svg" type =" image/svg+xml" ></object >
41
+ <object data =" _images/rate_limiter/fixed_window.svg" type =" image/svg+xml" ></object >
42
42
43
43
Its main drawback is that resource usage is not evenly distributed in time and
44
44
it can overload the server at the window edges. In the previous example,
@@ -59,7 +59,7 @@ using a 1 hour window that slides over the timeline:
59
59
60
60
.. raw :: html
61
61
62
- <object data =" ../ _images/rate_limiter/sliding_window.svg" type =" image/svg+xml" ></object >
62
+ <object data =" _images/rate_limiter/sliding_window.svg" type =" image/svg+xml" ></object >
63
63
64
64
As you can see, this removes the edges of the window and would prevent the
65
65
6th request at 11:45.
@@ -93,7 +93,7 @@ of 1 token per 15 minutes:
93
93
94
94
.. raw :: html
95
95
96
- <object data =" ../ _images/rate_limiter/token_bucket.svg" type =" image/svg+xml" ></object >
96
+ <object data =" _images/rate_limiter/token_bucket.svg" type =" image/svg+xml" ></object >
97
97
98
98
This algorithm handles more complex back-off algorithm to manage bursts.
99
99
For instance, it can allow a user to try a password 5 times and then only
You can’t perform that action at this time.
0 commit comments