redislimit
所属分类:WEB开发
开发工具:Ruby
文件大小:6KB
下载次数:0
上传日期:2014-12-05 01:19:26
上 传 者:
sh-1993
说明: POC请求限制器
(POC Request limiter)
文件列表:
Gemfile (104, 2014-12-05)
Gemfile.lock (280, 2014-12-05)
LICENSE (11324, 2014-12-05)
Procfile (38, 2014-12-05)
templates (0, 2014-12-05)
templates\index.html.haml (838, 2014-12-05)
web.rb (1232, 2014-12-05)
# Request limiter
Proof of concept of a request limiter in Ruby & Redis
[redislimit.marpo60.com](http://redislimit.marpo60.com)
Usage:
* Visit /, here is the table with the amount of visits for each page
* Visit any other page, look at the status code, after 10 request you
will be banned
* Visit /destroy to clean redis.
近期下载者:
相关文件:
收藏者: