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

Adds rack-attack to throttle requests and use memcached for it #337

Merged
merged 3 commits into from
Jul 29, 2024

Conversation

spilth
Copy link
Collaborator

@spilth spilth commented Jul 25, 2024

Problem

We have a large number of crawlers and scrappers accessing the site which end up slowing down the site.

Addresses #316

Solution

Add the rack-attack gem to start throttling the number of requests per second.

This will also allows us to enable more specific throttling and blocking rules in the future.

Type

Enhancement

@spilth spilth requested a review from ekate July 25, 2024 14:26
@spilth spilth requested a review from mnyrop July 29, 2024 14:18
@spilth spilth merged commit 0c810fe into main Jul 29, 2024
1 check passed
@spilth spilth deleted the 316-add-rack-attack branch July 29, 2024 19:58
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.

2 participants