milvus/pkg
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
..
common feat: support embedding bm25 sparse vector and flush bm25 stats log (#36036) 2024-09-19 10:57:12 +08:00
config fix: fix dynamic update config doesn't works for some param (#35572) 2024-08-21 11:02:56 +08:00
eventlog enhance: Update protobuf-go to protobuf-go v2 (#34394) 2024-07-29 11:31:51 +08:00
kv enhance: move rocksmq from internal to pkg module (#33881) 2024-06-25 21:18:15 +08:00
log enhance: improve log encoding performance on proxy nodes (#36123) 2024-09-11 14:51:07 +08:00
metrics enhance: Add metrics for Delete entries num of L0seg (#36175) 2024-09-12 18:07:08 +08:00
mocks enhance: using streaming service in insert/upsert/flush/delete/querynode (#35406) 2024-08-29 10:03:08 +08:00
mq enhance: add the unmarshal method for the rbac msg (#35692) 2024-08-30 07:23:00 +08:00
streaming enhance: using streaming service in insert/upsert/flush/delete/querynode (#35406) 2024-08-29 10:03:08 +08:00
tracer fix: Fix tracing config update logic (#35928) 2024-09-05 14:27:04 +08:00
util enhance: Optimize workload based replica selection policy (#36181) 2024-09-20 12:33:11 +08:00
.mockery_pkg.yaml enhance: support single pchannel level transaction (#35289) 2024-08-19 21:22:56 +08:00
Makefile enhance: Update Makefile to generate mockery (#35517) 2024-08-16 18:44:53 +08:00
go.mod feat: Support create collection with functions (#35973) 2024-09-12 10:43:06 +08:00
go.sum feat: Support create collection with functions (#35973) 2024-09-12 10:43:06 +08:00
rules.go Add back `gocritic` linter and fix related issues (#27289) 2023-09-22 10:05:26 +08:00