Skip to content
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

Make headers for batched records shorter #298

Merged
merged 4 commits into from Jun 21, 2023
Merged

Make headers for batched records shorter #298

merged 4 commits into from Jun 21, 2023

Conversation

atimin
Copy link
Member

@atimin atimin commented Jun 20, 2023

Closes #

Please check if the PR fulfills these requirements

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)
  • CHANGELOG.md have been updated (for bug fixes / features / docs)

What kind of change does this PR introduce?

Change

What is the current behavior?

For each batched record, we send a header with meta information:

x-reduct-time-XXXXX: content-length=100,content-type=text/plain,label-x=y

Most of the servers and clients have a limitation for a header size, so it is not efficient.

What is the new behavior?

We send a more concise header:

x-reduct-time-XXXXX: 100,text/plain,x=y

Does this PR introduce a breaking change?

Yes, but the batching protocol wasn't released.

Other information:

@atimin atimin merged commit 12c6dce into main Jun 21, 2023
10 checks passed
@atimin atimin deleted the shorter-headers branch June 21, 2023 16:10
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.

None yet

1 participant