How to rate limit a Heroku Rails app?

685 Views Asked by At

I built a app on Heroku in Rails, and someone wrote a bot to do a GET on my website over and over. Is there a way I can stop them from doing this?

1

There are 1 best solutions below

0
On

You can do it through rack middleware. Take a look at https://github.com/kickstarter/rack-attack