title: How to add rate limiter in ruby on rails?
body: <p>In my ruby on rails application i am facing ceratin performance issues. In certain forms more than 2500 request came from a same ip address at a time.
  So i used <a href="https://github.com/kickstarter/rack-attack" rel="nofollow noreferrer">https://github.com/kickstarter/rack-attack</a> 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.</p>