Skip to content

CP-312094: Update rate limiting design document#7000

Open
cplaursen wants to merge 3 commits intoxapi-project:masterfrom
cplaursen:master
Open

CP-312094: Update rate limiting design document#7000
cplaursen wants to merge 3 commits intoxapi-project:masterfrom
cplaursen:master

Conversation

@cplaursen
Copy link
Copy Markdown
Contributor

This update addresses some comments I've received on the design document. Most importantly, I add a new table for rate limiters which allows us to combine several callers under 1 rate limiter in a straightforward way.

Signed-off-by: Christian Pardillo Laursen <christian.pardillolaursen@citrix.com>
Comment thread doc/content/design/rate_limit.md Outdated
Address @lindig's comments

Signed-off-by: Christian Pardillo Laursen <christian.pardillolaursen@citrix.com>
Address Rob's comments

Signed-off-by: Christian Pardillo Laursen <christian.pardillolaursen@citrix.com>
Comment on lines +202 to +204
- **Rate limiting**: Only the most specific match (which has rate limiting
enabled) for any given request will trigger rate limiting and deduct tokens
from its token bucket.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Won't this produce counterintuitive behaviour? for example "foo*: with a rate limit of 10 and "foo" with a rate limit of 5 means that "foo* can sustain up to a rate of 15.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants