hewj901 commented on issue #7088:
URL: https://github.com/apache/apisix/issues/7088#issuecomment-1136917132

   from kong: least_conn算法很简单,首选遍历后端集群,比较每个后端的conns/weight,选取该值最小的后端。
   如果有多个后端的conns/weight值同为最小的,那么对它们采用加权轮询算法。
   from apisix doc: least_conn: 选择 (active_conn + 1) / weight 最小的节点。注意这里的 
active connection 概念跟 Nginx 的相同:它是当前正在被请求使用的连接。
   but from the test result, that is no relation with actice-conn.


-- 
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: [email protected]

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

Reply via email to