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

Reduce allocations for streamio Writer #62647

Open
eseliger opened this issue May 14, 2024 · 0 comments
Open

Reduce allocations for streamio Writer #62647

eseliger opened this issue May 14, 2024 · 0 comments
Labels
perf team/source Tickets under the purview of Source - the one Source to graph it all

Comments

@eseliger
Copy link
Member

Protobuf marshals each message separately, creating a new buffer to store the wire data for every message it seems.

Image

It would be great to investigate if we can reuse the buffer used for the messages of one archive request, to only allocate one message of WriteBufferSize.

@eseliger eseliger added perf team/source Tickets under the purview of Source - the one Source to graph it all labels May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
perf team/source Tickets under the purview of Source - the one Source to graph it all
Projects
None yet
Development

No branches or pull requests

1 participant