-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
enhance: cache collection schema attributes to reduce proxy cpu #29668
enhance: cache collection schema attributes to reduce proxy cpu #29668
Conversation
@congqixia E2e jenkins job failed, comment |
@congqixia ut workflow job failed, comment |
See also milvus-io#29113 The collection schema is crucial when performing search/query but some of the information is calculated for every request. This PR change schema field of cached collection info into a utility `schemaInfo` type to store some stable result, say pk field, partitionKeyEnabled, etc. And provided field name to id map for search/query services. Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
1584e98
to
19037a9
Compare
@congqixia E2e jenkins job failed, comment |
/run-cpu-e2e |
@congqixia E2e jenkins job failed, comment |
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #29668 +/- ##
==========================================
- Coverage 83.72% 80.85% -2.88%
==========================================
Files 679 921 +242
Lines 108623 127304 +18681
==========================================
+ Hits 90949 102926 +11977
- Misses 14361 21071 +6710
+ Partials 3313 3307 -6
|
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: congqixia, XuanYang-cn The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
…us-io#29668) See also milvus-io#29113 The collection schema is crucial when performing search/query but some of the information is calculated for every request. This PR change schema field of cached collection info into a utility `schemaInfo` type to store some stable result, say pk field, partitionKeyEnabled, etc. And provided field name to id map for search/query services. --------- Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
any performance comparison? |
…roxy cpu (#29668) (#29692) Cherry-pick from master pr: #29668 See also #29113 The collection schema is crucial when performing search/query but some of the information is calculated for every request. This PR change schema field of cached collection info into a utility `schemaInfo` type to store some stable result, say pk field, partitionKeyEnabled, etc. And provided field name to id map for search/query services. --------- Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
See also #29113
The collection schema is crucial when performing search/query but some of the information is calculated for every request.
This PR change schema field of cached collection info into a utility
schemaInfo
type to store some stable result, say pk field, partitionKeyEnabled, etc. And provided field name to id map for search/query services.