wei liu
3b10085f61
enhance: Optimize workload based replica selection policy ( #36181 )
...
issue: #35859
This PR introduce two new param: toleranceFactor and checkRequestNum,
after every checkRequestNum request has been assigned, try to compute
querynode's workload score.
if the diff is less than the toleranceFactor, replica selection policy
will fallback to round_robin, which reduce the average cost to about
500ns.
if the diff is larger than the toleranceFactor, replica selection policy
will compute querynode's score to select the target node with smallest
score in every assigment.
---------
Signed-off-by: Wei Liu <wei.liu@zilliz.com>
2024-09-20 12:33:11 +08:00
..
2024-08-20 17:36:55 +08:00
2024-09-10 15:23:06 +08:00
2024-07-26 18:07:53 +08:00
2024-04-16 16:47:19 +08:00
2024-06-26 21:13:44 +08:00
2024-08-23 12:35:02 +08:00
2023-12-26 19:56:47 +08:00
2024-03-28 06:33:11 +08:00
2023-09-21 09:45:27 +08:00
2023-09-21 09:45:27 +08:00
2023-09-21 09:45:27 +08:00
2023-10-26 19:06:13 +08:00
2023-09-21 09:45:27 +08:00
2024-03-28 06:33:11 +08:00
2024-03-22 15:29:09 +08:00
2024-07-29 11:31:51 +08:00
2024-02-02 16:49:06 +08:00
2023-10-08 21:23:32 +08:00
2023-09-21 09:45:27 +08:00
2021-11-10 23:43:27 +08:00
2024-07-26 18:07:53 +08:00
2024-08-14 18:00:53 +08:00
2024-08-27 10:28:59 +08:00
2024-09-11 14:51:07 +08:00
2023-09-26 09:57:25 +08:00
2023-06-27 09:52:44 +08:00
2024-09-13 17:05:15 +08:00
2024-09-13 17:05:15 +08:00
2024-09-20 12:33:11 +08:00
2024-09-20 12:33:11 +08:00
2024-06-07 10:35:54 +08:00
2024-08-20 14:02:54 +08:00
2023-12-12 10:36:43 +08:00
2024-05-22 15:57:39 +08:00
2024-09-12 10:43:06 +08:00
2024-09-13 17:05:15 +08:00
2023-10-11 21:01:35 +08:00
2024-09-04 14:39:10 +08:00
2024-09-08 17:33:05 +08:00
2023-09-12 10:19:17 +08:00
2023-09-04 21:19:48 +08:00
2023-09-04 21:19:48 +08:00
2023-10-20 14:26:09 +08:00
2023-09-26 09:57:25 +08:00
2024-07-23 14:23:52 +08:00
2023-09-26 09:57:25 +08:00
2024-08-20 16:49:02 +08:00
2024-07-30 15:53:51 +08:00
2021-11-16 15:41:11 +08:00
2024-08-05 18:48:15 +08:00
2024-08-22 17:24:58 +08:00
2024-09-13 10:33:08 +08:00
2024-09-13 10:33:08 +08:00
2023-10-09 10:09:33 +08:00
2024-08-21 00:22:54 +08:00
2024-09-04 14:39:10 +08:00
2024-08-20 16:16:55 +08:00
2024-08-20 16:16:55 +08:00
2023-09-21 09:45:27 +08:00
2023-10-30 10:00:12 +08:00
2023-09-21 09:45:27 +08:00
2023-10-20 14:26:09 +08:00
2023-11-24 17:50:30 +08:00
2023-10-20 14:26:09 +08:00
2024-04-09 14:21:18 +08:00
2024-04-09 14:21:18 +08:00
2024-08-16 10:10:53 +08:00
2024-09-13 17:05:15 +08:00
2024-09-13 17:05:15 +08:00
2023-04-14 15:30:29 +08:00
2024-09-20 11:59:10 +08:00
2024-09-20 11:59:10 +08:00
2024-09-16 11:01:25 +08:00
2024-02-28 10:40:09 +08:00
2024-01-05 16:12:48 +08:00
2023-09-26 09:57:25 +08:00
2024-08-02 11:24:19 +08:00
2024-06-24 10:52:03 +08:00
2024-09-05 17:35:04 +08:00
2024-07-20 23:13:40 +08:00
2024-07-30 15:53:51 +08:00
2024-05-09 22:51:30 +08:00
2024-08-15 12:06:52 +08:00
2024-08-29 10:03:08 +08:00
2024-05-23 20:03:40 +08:00
2024-08-29 10:03:08 +08:00
2024-08-29 10:03:08 +08:00
2024-08-29 10:03:08 +08:00
2024-09-12 12:09:08 +08:00
2024-09-12 12:09:08 +08:00
2024-08-29 10:03:08 +08:00
2024-07-30 15:53:51 +08:00
2024-08-15 19:18:53 +08:00
2023-09-26 09:57:25 +08:00
2023-09-26 09:57:25 +08:00
2024-09-20 11:59:10 +08:00
2024-09-20 11:59:10 +08:00
2024-07-30 15:53:51 +08:00
2024-07-23 14:23:52 +08:00
2024-09-16 11:01:25 +08:00
2024-09-13 22:05:15 +08:00
2024-08-20 16:49:02 +08:00
2024-07-29 11:31:51 +08:00
2024-09-14 10:53:08 +08:00
2024-08-29 10:03:08 +08:00
2024-07-30 15:53:51 +08:00
2024-08-15 19:18:53 +08:00
2024-09-14 11:01:08 +08:00
2023-09-21 09:45:27 +08:00
2023-11-24 15:02:39 +08:00
2023-11-27 20:14:26 +08:00
2023-11-28 15:32:31 +08:00
2021-12-23 21:44:12 +08:00
2024-09-15 15:19:14 +08:00
2024-09-15 15:19:14 +08:00
2024-09-19 17:35:11 +08:00
2024-09-19 17:35:11 +08:00