milvus/pkg
congqixia 86e347a1a4
enhance: [2.3] Cache formatted key for param item (#31388) (#31402)
Cherry-pick from master
pr: #31388 
See also #30806

`formatKey` may cost lots of CPU on string processing under high QPS
scenario, this PR adds a formattedKeys cache preventing string operation
in each param get value.

---------

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2024-03-19 19:25:10 +08:00
..
common enhance: Bump milvus & proto version to v2.3.12 (#31193) 2024-03-14 19:09:04 +08:00
config enhance: [2.3] Cache formatted key for param item (#31388) (#31402) 2024-03-19 19:25:10 +08:00
eventlog Remove deprecated io/ioutil usage (#27747) 2023-10-17 20:32:09 +08:00
log fix: [Cherry-pick] log can not reduce level (#28770) 2023-11-28 16:26:33 +08:00
metrics enhance: add basic information of milvus into metrics (#29666) 2024-01-29 15:49:04 +08:00
mq fix: Support TLS for kafka connection (#30466) 2024-02-28 18:43:07 +08:00
tracer enhance: Support otlp with insecure (#29131) 2023-12-12 16:44:37 +08:00
util fix: Balance param use duplicated key (#31112) (#31141) 2024-03-11 15:03:02 +08:00
Makefile Add the mock factory of msg stream (#27834) 2023-10-20 20:14:08 +08:00
go.mod enhance: Bump milvus & proto version to v2.3.12 (#31193) 2024-03-14 19:09:04 +08:00
go.sum enhance: Bump milvus & proto version to v2.3.12 (#31193) 2024-03-14 19:09:04 +08:00
rules.go Add back `gocritic` linter and fix related issues (#27289) 2023-09-22 10:05:26 +08:00