Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement selective rate limiting for query APIs #250

Open
erickpeirson opened this issue Jul 12, 2019 · 0 comments
Open

Implement selective rate limiting for query APIs #250

erickpeirson opened this issue Jul 12, 2019 · 0 comments

Comments

@erickpeirson
Copy link
Contributor

We require rate limiting for both NG and classic query API blueprints. This can be implemented using Flask-Limiter.

  • Anonymous requests should be supported at 1/s, using hostname as key.
  • Authenticated requests with scope public:read should be supported at 4/s, using client id as key.

In production we will use a redis backend to share state among replicas of the app.

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

No branches or pull requests

1 participant