How to rate limit a Heroku Rails app?

641 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 answers

0
Igor Kapkov On

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