Skip to content

Conversation

cthulhu-rider
Copy link
Contributor

@cthulhu-rider cthulhu-rider commented Jun 17, 2025

here's an option through the proto version. It will work on the wire. The only other alternative I see is a new GetV2 call which is more demanding of support

Previously, heading and chunk fields were mutually exclusive in each GET
response message. With this, server sent 1st message with the header
only, then messages with payload chunks came. This behavior is
inefficient since any object with a non-empty payload requires one more
message. The smaller the payload, the greater the overhead.

This modifies GET protocol to allow header and chunk to be attached to
the same message. For backward compatibility, requests from older
clients will be processed as before.

Signed-off-by: Leonard Lyubich <[email protected]>
@roman-khimov
Copy link
Member

Let's get more isolated statistics for this change. It should give us something real in tests or otherwise it doesn't worth the change and versioning complexity.

@cthulhu-rider
Copy link
Contributor Author

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.

2 participants