title: Wildfly - RestEasy, JAX-RS : limit request per second for user/ip
body: <p>I've some simple jax-rs web-services as EJB for an e-commerce.
  I'm using Wildfly 9 and restEasy.</p>
  
  <p>I want to serve my data to a lot of users, but i want to limit the request/seconds that a user can do.</p>
  
  <p>I want to prevent some DoS attack or scraping system : an user(bot) could read all the products each second and the other users will wait.</p>
  
  <p>Is there some system to block request per user per second? For example "at least 10 request/second per user".</p>