milvus/pkg/util/paramtable
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
..
autoindex_param_test.go enhance: autoindex for multi data type (#33868) 2024-06-18 21:34:01 +08:00
autoindex_param.go enhance: rename some params and reduce default bitmapCardinalityLimit… (#36138) 2024-09-12 12:09:08 +08:00
base_table_test.go enhance: Add segment seal proportion jitter (#34636) 2024-07-15 14:47:39 +08:00
base_table.go enhance: Add segment seal proportion jitter (#34636) 2024-07-15 14:47:39 +08:00
component_param_test.go enhance: Optimize workload based replica selection policy (#36181) 2024-09-20 12:33:11 +08:00
component_param.go enhance: Optimize workload based replica selection policy (#36181) 2024-09-20 12:33:11 +08:00
grpc_param_test.go enhance: Add segment seal proportion jitter (#34636) 2024-07-15 14:47:39 +08:00
grpc_param.go enhance: update param documents (#35152) 2024-08-01 12:38:13 +08:00
hook_config.go Support to replicate the mq message (#27240) 2023-10-20 14:26:09 +08:00
http_param_test.go enhance: Add segment seal proportion jitter (#34636) 2024-07-15 14:47:39 +08:00
http_param.go enhance: Add segment seal proportion jitter (#34636) 2024-07-15 14:47:39 +08:00
param_item.go fix: fallback params may be overridden (#35972) 2024-09-05 16:19:04 +08:00
quota_param_test.go enhance: remove cooling off in rate limiter for read requests (#35935) 2024-09-04 14:39:10 +08:00
quota_param.go enhance: restrict max group size(#33544) (#36223) 2024-09-14 15:45:08 +08:00
role_param_test.go enhance: Add segment seal proportion jitter (#34636) 2024-07-15 14:47:39 +08:00
role_param.go enhance: Add segment seal proportion jitter (#34636) 2024-07-15 14:47:39 +08:00
runtime.go enhance: Add segment seal proportion jitter (#34636) 2024-07-15 14:47:39 +08:00
service_param_test.go enhance: Add segment seal proportion jitter (#34636) 2024-07-15 14:47:39 +08:00
service_param.go Change minio use virtual config to not panic (#35327) 2024-08-07 09:58:15 +08:00