lua-resty-limit-traffic icon indicating copy to clipboard operation
lua-resty-limit-traffic copied to clipboard

Lua library for limiting and controlling traffic in OpenResty/ngx_lua

Results 34 lua-resty-limit-traffic issues
Sort by recently updated
recently updated
newest added

hello @agentzh , I have a question to disturb you。 I found some problems use limit_req, I set a limit of 500, but the normal number of requests is 3000....

Hello, I'm new with OpenResty, I only installed it and I don't even know how to use lua or if it comes already compiled with openresty. Anyway I would like...

My project is online today, the limit config is 1000/s. But the truth is, 300 requests had trigered the req limit(I understand the bucket algorithm). I wonder if this has...

This pull request fixes the race condition in `resty.limit.req`. The following pull request must be merged before merging this pull request. - [Add shdict set_when and safe_set_when by hnakamur ·...

Hello, In this issue: https://github.com/openresty/lua-resty-limit-traffic/issues/23, it is mentioned that lines from 54 to 69 are for handling a race condition, which I suppose is the case when the 'not found'...

When I use the documented burst setting in resty.limit.req, but it appears higher number of request were rejected (503). For example when I set the burst at 10 like this:...

For Nginx rate limiting, we are using code written on count.md. Also, we are using count.lua library. Below code, giving counter value from 199 to 1 from line local delay,...

I have noticed that the limit is not always regarded and we can see count of HTTP 200 more than set limit. This is more evident and occurs more frequently...

what is different resty.limit.req with resty.limit.count? If i want to restrict qps,which one shoud i choose? thks.