grpc-go icon indicating copy to clipboard operation
grpc-go copied to clipboard

stream: allow codecs to reuse output buffers

Open dfawley opened this issue 6 years ago • 2 comments

This would require a codec API change/extension to recycle the memory once grpc is done writing it to the wire (or compressing it).

dfawley avatar May 15 '19 15:05 dfawley

The PR that implemented this ultimately needed to be rolled back (#3307); this should have been reopened at that time.

dfawley avatar Jan 26 '21 16:01 dfawley

There's another attempt to reuse the buffer for reads, but the team didn't have time to review the PR (https://github.com/grpc/grpc-go/pull/3220#issuecomment-608655702). Future performance work may reopen it, or reuse some of the change.

menghanl avatar May 03 '21 18:05 menghanl

Bring tags over to #6619 and close this down.

ginayeh avatar Sep 19 '23 18:09 ginayeh