I use grpc for communication between python and Java process. It's very slow. On debugging, it seems the slowness is only the channel. The producer produces fast, the consumer consumes fast. So it must be the transfer from producer to consumer which happens over the channel which is the bottleneck. We use stream rpc and managed channel. I've even tried using custom executors but no change. I have not found any helpful content online and it's very weird why is the channel so slow. Pls suggest any solutions or helpful links to refer. I have gone through many links. Ty. I did not find anything in the video wrt my issue.
I use grpc for communication between python and Java process. It's very slow. On debugging, it seems the slowness is only the channel. The producer produces fast, the consumer consumes fast. So it must be the transfer from producer to consumer which happens over the channel which is the bottleneck. We use stream rpc and managed channel. I've even tried using custom executors but no change. I have not found any helpful content online and it's very weird why is the channel so slow. Pls suggest any solutions or helpful links to refer. I have gone through many links. Ty. I did not find anything in the video wrt my issue.
Hi Ashley, Adam. Appreciate alot if you could help out. It's important for me to get to the bottom of this. Ty