-
-
Notifications
You must be signed in to change notification settings - Fork 173
Closed
Labels
feature requestA new requested feature / optionA new requested feature / optionhacktoberfestValid Issue for HacktoberfestValid Issue for Hacktoberfest
Description
To protect a web app against abusive connections / requests (sub DDOS scale) several layers can help (nginx, middleware), but stumbling on Rails future rate limiting , I'm quite jealous of the elegant DX of this solution.
I could clearly see this working in Lucky :
class SignIns::New < BrowserAction
include Auth::RedirectSignedInUsers
rate_limit to: 50, within: 10.seconds
get "/sign_in" do
html NewPage, operation: SignInUser.new
end
endI can't implement this right now, I'm just putting it out there as a starting point for discussion / inspiration.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
feature requestA new requested feature / optionA new requested feature / optionhacktoberfestValid Issue for HacktoberfestValid Issue for Hacktoberfest