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 rate limiting #518

Open
pixeldesu opened this issue Jul 14, 2022 · 0 comments · May be fixed by #526
Open

Add rate limiting #518

pixeldesu opened this issue Jul 14, 2022 · 0 comments · May be fixed by #526
Labels
in progress Issues with implementations in progress suggestion Suggestion to add a new feature or improve a current one

Comments

@pixeldesu
Copy link
Member

Users shouldn't be able to spam several thousands of questions in an hour or less.

I'm not sure what the proper limits should be, but for registered users it should be 1 question/1 minute. For unregistered users it should be throttling for a max amount on a timeframe, but I'm not sure which one would be the best.

As a pointer what to do here, there's a gem called rack-attack to handle this.

@pixeldesu pixeldesu added suggestion Suggestion to add a new feature or improve a current one area: backend labels Jul 14, 2022
@pixeldesu pixeldesu linked a pull request Jul 17, 2022 that will close this issue
@pixeldesu pixeldesu added in progress Issues with implementations in progress and removed status: implementable labels Dec 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in progress Issues with implementations in progress suggestion Suggestion to add a new feature or improve a current one
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant