szetszwo commented on PR #834:
URL: https://github.com/apache/ratis/pull/834#issuecomment-1452365539

   > 
https://www.alluxio.io/blog/moving-from-apache-thrift-to-grpc-a-perspective-from-alluxio/
   
   @kaijchen , thanks for sharing the blog!
   
   > **Implement zero-copy**: Another overhead we observed switching to gRPC is 
excessive buffer copying. This is because gRPC, by default, uses protobuf for 
message serialization, which introduces extra copy operations. There is 
currently no official API for getting raw buffers in and out of gRPC without 
having to go through protobuf serialization or throw away the nice generated 
RPC bindings. We end up using some ideas from the gRPC user group and 
implemented a workaround to achieve zero-copy.
   
   Do you have more details on zero-copy?  I wonder if we could do the same in 
Ratis.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to