I have done something similar. I am sending the data with 1.9MB per message using a stream. For now, I am limited by the underlying storage system that takes sometime to write the data (using gRPC/Java/Google Cloud). I am transferring up to 140GB this way.
I can achieve 20-30 MB/s. If you give more details, it might help to understand why it is slow for you (running locally or not, where are you writing the data you receive...) Le dimanche 20 décembre 2020 à 07:05:30 UTC+1, Joseph Liu a écrit : > I've tried two methods of sending a 10MB file: > > 1. Sending over a stream byte by byte > 2. Sending as a single message > > However, the result is still the same; it takes 20 mins or so to send over > the payload in a single gRPC call. > > What can I do to make this faster? > -- You received this message because you are subscribed to the Google Groups "grpc.io" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/5000608e-b863-4def-b2fd-83e4bc59d086n%40googlegroups.com.
