brandur/redis-cell

Feature needed. Queued requests

molfar opened this issue · 0 comments

It would be great to have feature like Nginx ngx_http_limit_req_module module, when some number of requests, that overlap rate limit, are not rejected immediately, but are slowed (queued) a little to fit required rate.

If it possible, make Redis command CL.THROTTLE blocked within burst number, if it has delay option passed. Just like Nginx's burst and nodelay options.

I dont know how to make this scenario within only client app.