File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ squares).
3838
3939.. raw :: html
4040
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 >
4242
4343Its main drawback is that resource usage is not evenly distributed in time and
4444it 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:
5959
6060.. raw :: html
6161
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 >
6363
6464As you can see, this removes the edges of the window and would prevent the
65656th request at 11:45.
@@ -93,7 +93,7 @@ of 1 token per 15 minutes:
9393
9494.. raw :: html
9595
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 >
9797
9898This algorithm handles more complex back-off algorithm to manage bursts.
9999For 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