commit | c4a415eb3163b18c84172d786cbbf89aeffecdae | [log] [tgz] |
---|---|---|
author | Anton Samoylov <asamoylov@mirantis.com> | Mon Nov 09 18:39:21 2020 +0400 |
committer | Anton Samoylov <asamoylov@mirantis.com> | Mon Nov 09 14:56:48 2020 +0000 |
tree | 018d824947caa092eef061314ff930f7c260fb60 | |
parent | 6636027c37fc23265d7d95c2ae53df288f515d3f [diff] |
contrail-api: change default "balance" option to leastconn Current balance default "roundrobin" is not good for performance, as with it we can end up with several "heavy" requests going to the same worker. With "leastconn" method, the request is scheduled to a worker with the least active sessions, therefore we avoid performance issue when several requests are queueing at one worker. Related-PROD: PROD-35897 Change-Id: I0098391ba92b7fd62e0326a34d8580062a708f81