What is the recommended approach for rate limiting web services?
Does Jersey support this?
Two approaches come to my mind: at the application level, using a relation
of IP, timestamp and number of calls, which is used to register for each IP,
the number of calls made in a 24 hour period. This count is reset every 24
hours. The other approach is at the OS level using for example iptables
(UNIX).
Thanks.