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/19 09:59:22 UTC
[GitHub] [apisix] bin-53 opened a new issue, #9338: least_conn help
bin-53 opened a new issue, #9338:
URL: https://github.com/apache/apisix/issues/9338
### 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.(APISIX version (run apisix 2.15-alpine):)
you can see:
![image](https://user-images.githubusercontent.com/131146587/233040016-8c3e8091-0924-458d-b476-092581dbd77a.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 closed issue #9338: least_conn help
Posted by "tao12345666333 (via GitHub)" <gi...@apache.org>.
tao12345666333 closed issue #9338: least_conn help
URL: https://github.com/apache/apisix/issues/9338
--
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 commented on issue #9338: least_conn help
Posted by "tao12345666333 (via GitHub)" <gi...@apache.org>.
tao12345666333 commented on issue #9338:
URL: https://github.com/apache/apisix/issues/9338#issuecomment-1514591527
Please don’t repeat report duplicate issue. This is not helpful.
I will close this one, please discuss this in #7088
--
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