cshannon commented on PR #4715:
URL: https://github.com/apache/accumulo/pull/4715#issuecomment-2299637402

   > If I'm reading https://issues.apache.org/jira/browse/THRIFT-5762 correctly 
(should be included in the next version of Thrift), this would allow us to use 
the Thrift message types with a GRPC transport. If that's true, then I think 
that makes the jump to GRPC a lot simpler.
   
   That would be interesting, I haven't looked yet how hard it is to plug in 
different protocols with gRPC but I'm sure it will take some work to get the 
serializer/deserializer stuff correct.
   
   One thing I noticed with protocol buffers that is a bit annoying (besides 
not supporting null which makes converting from Thrift require more changes) is 
there seems to be a lot of buffer copying. There's talk about some ways to make 
it more efficient with zero copy and I found this as well 
https://github.com/grpc/grpc-java/issues/7387
   
   So we may need to look at memory efficiency for performance if we stayed 
with protobuf. I found this blog post which I thought was interesting and talks 
a bit about the challenges they had moving from Thrift to gRPC and lessons 
learned including dealing with zero copy and also the lack of SASL support like 
Thrift has 
https://www.alluxio.io/blog/moving-from-apache-thrift-to-grpc-a-perspective-from-alluxio/


-- 
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