You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "bin-53 (via GitHub)" <gi...@apache.org> on 2023/04/18 08:29:11 UTC

[GitHub] [apisix] bin-53 opened a new issue, #9325: Least-connection algorithm is incorrect

bin-53 opened a new issue, #9325:
URL: https://github.com/apache/apisix/issues/9325

   ### Description
   
   When I use the least-conn algorithm to select the upstream, if the score is the same, it should use the polling algorithm to select the node, but in my test, this is not the case.
   you can see:
   ![image](https://user-images.githubusercontent.com/131146587/232719348-fa55c282-bd61-41a3-a7be-73de1a11fbfa.png)
   
   I've got five nodes, When I use postman to click continuously, it only poll from three nodes, and the other two nodes are never selected. Is there any problem?
   And when i  use postman to click continuously , this  ‘active_conn ’ should always be 0. According to (active_conn +1) /weigth, we know that they should have the same score。
   With the same minimum number of connections, is a normal polling algorithm used or SWRR?
   or Is there more detailed documentation on this part? The official documentation is too simple
   
   ### Environment
   
   - APISIX version (run `apisix 2.15-alpine`):
   - Operating system (run `uname -a`):
   - OpenResty / Nginx version (run `openresty -V` or `nginx -V`):
   - etcd version, if relevant (run `curl http://127.0.0.1:9090/v1/server_info`):
   - APISIX Dashboard version, if relevant:
   - Plugin runner version, for issues related to plugin runners:
   - LuaRocks version, for installation issues (run `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.apache.org

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


[GitHub] [apisix] tao12345666333 commented on issue #9325: Least-connection algorithm is incorrect

Posted by "tao12345666333 (via GitHub)" <gi...@apache.org>.
tao12345666333 commented on issue #9325:
URL: https://github.com/apache/apisix/issues/9325#issuecomment-1514021894

   let's discuss #7088, I will close this one, it's a duplicate. Thanks for your report.


-- 
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] bin-53 commented on issue #9325: Least-connection algorithm is incorrect

Posted by "bin-53 (via GitHub)" <gi...@apache.org>.
bin-53 commented on issue #9325:
URL: https://github.com/apache/apisix/issues/9325#issuecomment-1514030996

   > * APISIX version (run `apisix 2.15-alpine`):
   
   i have request in #7088,please help me solve it 


-- 
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] tao12345666333 closed issue #9325: Least-connection algorithm is incorrect

Posted by "tao12345666333 (via GitHub)" <gi...@apache.org>.
tao12345666333 closed issue #9325: Least-connection algorithm is incorrect
URL: https://github.com/apache/apisix/issues/9325


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