Skip to content

Commit

Permalink
Update draft-ietf-httpapi-ratelimit-headers.md
Browse files Browse the repository at this point in the history
Co-authored-by: Johanan <jidicula@github.com>
  • Loading branch information
ioggstream and jidicula authored May 5, 2024
1 parent 0fad367 commit fc0dc0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion draft-ietf-httpapi-ratelimit-headers.md
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ RateLimit-Policy: somepolicy;l=10000;w=1000
RateLimit: somepolicy;r=10000;t=10
~~~

A client implementing a simple ratio between remaining keyword and reset keyword could infer an average throughput of 1000 quota units per second,while the limit keyword conveys a quota-policy with an average of 10 quota units per second.
A client implementing a simple ratio between remaining keyword and reset keyword could infer an average throughput of 1000 quota units per second, while the limit keyword conveys a quota-policy with an average of 10 quota units per second.
If the service cannot handle such load, it should return either a lower remaining keyword value or an higher reset keyword value.
Moreover, complementing large time window quota policies with a short time window one mitigates those risks.

Expand Down

0 comments on commit fc0dc0b

Please sign in to comment.