You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2020/11/23 02:17:29 UTC

[GitHub] [apisix] tokers commented on issue #2820: request help: how to apply bandwidth control in apisix?

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:
users@infra.apache.org