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 2021/07/11 06:04:22 UTC

[GitHub] [apisix] zuiyangqingzhou opened a new issue #4583: request help: suggestions on improving the default_conn_delay of the limit-conn plugin

zuiyangqingzhou opened a new issue #4583:
URL: https://github.com/apache/apisix/issues/4583


   ### Issue description
   The default_conn_delay of the limit-conn plug-in is used to control the delay of forwarding to upstreams when the connection exceeds a certain threshold, but after actual testing, it is found that this delay time is not strictly in accordance with the configured delay time.
   
   https://github.com/openresty/lua-resty-limit-traffic/blob/master/lib/resty/limit/conn.lua#L98-L101
   
   It is found in the source code of lua-resty-limit-traffic that there is a certain calculation logic for the delay time. If req_latency is nil, the delay time is strictly in accordance with the user-defined delay time
   
   I think a control parameter should be added in apisix to let users decide whether the delay time should be strictly in accordance with the configured time
   
   What do you think?
   
   
   ### Environment
   
   Request help without environment information will be ignored or closed.
   
   * apisix version (cmd: `apisix version`):
   * OS (cmd: `uname -a`):
   * OpenResty / Nginx version (cmd: `nginx -V` or `openresty -V`):
   * etcd version, if have (cmd: run `curl http://127.0.0.1:9090/v1/server_info` to get the info from server-info API):
   * apisix-dashboard version, if have:
   * luarocks version, if the issue is about installation (cmd: `luarocks --version`):
   


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] zuiyangqingzhou commented on issue #4583: request help: suggestions on improving the default_conn_delay of the limit-conn plugin

Posted by GitBox <gi...@apache.org>.
zuiyangqingzhou commented on issue #4583:
URL: https://github.com/apache/apisix/issues/4583#issuecomment-879724122


   ok, i will make a try


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] spacewander commented on issue #4583: request help: suggestions on improving the default_conn_delay of the limit-conn plugin

Posted by GitBox <gi...@apache.org>.
spacewander commented on issue #4583:
URL: https://github.com/apache/apisix/issues/4583#issuecomment-877910625


   PR is welcome!


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] tzssangglass closed issue #4583: request help: suggestions on improving the default_conn_delay of the limit-conn plugin

Posted by GitBox <gi...@apache.org>.
tzssangglass closed issue #4583:
URL: https://github.com/apache/apisix/issues/4583


   


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org