Regarding gRPC and large file data transfer...

3,066 views
Skip to first unread message

Curtis Paul

unread,
Sep 27, 2015, 1:41:57 PM9/27/15
to golang-nuts
Can anyone recommend an ideal method for transferring large file data via gRPC?

For example, I have three 100mb files that I want to to transfer to a client upon client request for them.

1. client asks server for files
2. server returns files

What might a gRPC message look like for something like this?

Raffaele Sena

unread,
Sep 27, 2015, 3:43:08 PM9/27/15
to Curtis Paul, golang-nuts
You probably want to create a streaming service as describe in the exmaple below. Then your client can issue 3  requests, one per file, loop on the responses and write locally.


-- Raffaele

--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages