szetszwo commented on PR #834: URL: https://github.com/apache/ratis/pull/834#issuecomment-1452337900
> May I ask which RPC implementation is favored in the downstream projects or production cases? Are there general pros and cons of each one? @pan3793 , thanks for being interested in Apache Ratis! I agree with @tisonkun that this kind of questions is better to discuss it on the mailing list. Let me give you some short answer. Currently, grpc is the default rpc type in Ratis. It supports all the functionalities -- blocking io, ordered async and unordered async. Netty RPC in Ratis only supports blocking io. From our experience, grpc is good when the message sizes are small. For large messages, grpc does not perform well since we cannot control the buffer allocation and copying. Netty is better in that case. -- 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]
