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

reduce the memory copy for sending messages

Open siddontang opened this issue 7 years ago • 1 comments
trafficstars

For #134 , we can support parsing protobuf data from gRPC buffer directly, no need to allocate another buffer.

For write, now we still 1 - serialize protobuf to a buffer, 2 - copy the buffer to the context send_message

Maybe we can serialize the protobuf to the gRPC buffer directly and reduce extra memory copy

siddontang avatar Jul 25 '18 02:07 siddontang

FYI #238

ice1000 avatar Apr 24 '19 15:04 ice1000