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

Add solver HTTP rate limiting #417

Closed
bgins opened this issue Oct 28, 2024 · 1 comment · Fixed by #419
Closed

Add solver HTTP rate limiting #417

bgins opened this issue Oct 28, 2024 · 1 comment · Fixed by #419
Assignees

Comments

@bgins
Copy link
Contributor

bgins commented Oct 28, 2024

We have noticed the solver may receive unbounded requests from job creators or resource providers. Let's add a rate limiter to limit traffic to an acceptable threshold.

We can start with a simple policy to set a limit by IP address and route. For example we could use go-chi/httprate: https://github.com/go-chi/httprate#rate-limit-by-ip-and-url-path-aka-endpoint.

@bgins bgins self-assigned this Oct 28, 2024
@walkerlj0
Copy link
Contributor

@kelindi to review @bgins PR for adding rate limiting

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 a pull request may close this issue.

2 participants