Skip to content

Optimize allocations in HEAD proxy#3877

Draft
cthulhu-rider wants to merge 1 commit intomasterfrom
head-proxy-bin
Draft

Optimize allocations in HEAD proxy#3877
cthulhu-rider wants to merge 1 commit intomasterfrom
head-proxy-bin

Conversation

@cthulhu-rider
Copy link
Contributor

No description provided.

Now proxy SN does not unmarshal object header from remote response and
does not form client response from scratch. This reduces the number of
allocations for processing.

Behavior has changed: now response is signed by SN holding the object,
not by the client request's server. This change is acceptable generally
and because of #3396.

Refs #3783.

Signed-off-by: Leonard Lyubich <leonard@morphbits.io>
@codecov
Copy link

codecov bot commented Mar 16, 2026

Codecov Report

❌ Patch coverage is 23.80952% with 64 lines in your changes missing coverage. Please review.
✅ Project coverage is 26.00%. Comparing base (15d4c4a) to head (41b24e5).

Files with missing lines Patch % Lines
pkg/services/object/server.go 10.71% 23 Missing and 2 partials ⚠️
pkg/services/object/proto.go 0.00% 15 Missing ⚠️
internal/protobuf/codecs.go 0.00% 14 Missing ⚠️
pkg/services/object/get/util.go 0.00% 5 Missing ⚠️
pkg/services/object/get/prm.go 0.00% 4 Missing ⚠️
pkg/services/object/get/get.go 50.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3877      +/-   ##
==========================================
- Coverage   26.02%   26.00%   -0.03%     
==========================================
  Files         675      675              
  Lines       43760    43818      +58     
==========================================
+ Hits        11388    11394       +6     
- Misses      31315    31366      +51     
- Partials     1057     1058       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant