Quantcast
Channel: Active questions tagged ruby - Stack Overflow
Viewing all articles
Browse latest Browse all 4645

How to add rate limiter in ruby on rails?

$
0
0

In my ruby on rails application I am facing certain performance issues. In certain forms more than 2500 request came from a same IP address at a time.So I used https://github.com/kickstarter/rack-attack to add rate limiter and track all the request from IP address and track them by storing it in Dynamic table. But for certain interval how can track them (i.e) within 5 seconds how many request came from the same IP address.


Viewing all articles
Browse latest Browse all 4645

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>