DEV Community

Sathish
Sathish

Posted on

Thoughts on File Transfer over gRPC?

So, I've been recently fiddling with gRPC and it's various APIs like Client and Server Streaming and tried to implement file transfer over gRPC with Client Streaming. Well, with chunks of size buf = make([]byte, 1<<21) and was able to transfer a 224 MB file over tcp tunnel with ngrok (Not an optimal way to test) in 14 minutes. Have anyone tried sending large data over gRPC? If so, what's the throughput? Any implementation on a production level?

Discussion (0)