I am looking to setup something similar to Reddit's request rate limiting system (See http://ift.tt/1zsyI8p for example). Is there an existing method to do this for varnish/nginx/apache? Or will I have to code a custom module or something?
I can see that nginx has ngx_http_limit_req can limit the number of requests, but it seems to be simply limiting the number of requests that can be performed, and either delaying or discarding the remainder. I would like to show a page instead of delaying or discarding the requests that are getting over the limit.
http://ift.tt/1dvHQ0Z
0 comments:
Post a Comment