tokers commented on issue #2820:
URL: https://github.com/apache/apisix/issues/2820#issuecomment-731894310


   @wfgydbu If the granularity of bandwidth limitation is the whole gateway 
instance, i think it's better to do it in a low level, just as @spacewander 
said.
   
   If you want to do it per request level, now you can modify the 
`apisix/cli/ngx_tpl.lua` (the nginx.conf configuration template), add 
`limit_rate` directive to use the rate limiting feature of Nginx itself.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to