tzssangglass commented on issue #7088: URL: https://github.com/apache/apisix/issues/7088#issuecomment-1136919500
Hi @hewj901 , do you mean that case 2 is not the same thing as your test result (all requests visit the high weight node)? > the case 2 , all the request with different session(source port is different )arrive at the 1971 node,that is not expect with least-conn. case 2 result is because the request is executed serially, which means that every time APISIX selects a node using the `least_conn` algorithm, active_conn is actually 0, and nodes with high weights are always selected first. -- 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]
