I am using
grpc::ServerReaderWriter< W, R >::Write to write a huge message to the grpc client. I decided to break this message in chunks[For some other reasons] using a different thread and write those chunks to grpc client individually so calling
grpc::ServerReaderWriter< W, R >::Write for each chunk now. But multiple Write calls has degraded the performance to a good extent. Can I write these chunks without degrading the performance somehow ?