Re: [go-nuts] Re: Large (binary or text) File transfers over rpc

2018-11-05 Thread Ian Denhardt
https://grpc.io/docs/tutorials/basic/go.html#server-side-streaming-rpc Quoting Ricky (2018-11-05 18:02:38) >how do I make grpc return a stream? are you referring to google rpc >grpc library that is recommended by Golang folks to be used instead of >net/rpc lib which is a frozen

Re: [go-nuts] Re: Large (binary or text) File transfers over rpc

2018-11-05 Thread Ricky
how do I make grpc return a stream? are you referring to google rpc grpc library that is recommended by Golang folks to be used instead of net/rpc lib which is a frozen package? Interesting ... I didn't know they had streams On Sun, Nov 4, 2018 at 12:20 PM Ian Denhardt wrote: > What is the

Re: [go-nuts] Re: Large (binary or text) File transfers over rpc

2018-11-04 Thread Ian Denhardt
What is the functionality that you're not seeing re: how to do file downloads over net/rpc? The thing that pops to my mind as likely important is the ability to stream data, which you indeed cannot do with net/rpc. If you need that I might suggest using a different rpc system that has the

Re: [go-nuts] Re: Large (binary or text) File transfers over rpc

2018-11-04 Thread Ricky
I am sorry I wasn't very forthcoming in the beginning - to clarify - by rpc I meant using go net/rpc package. Where I can simply Register methods/services that can be called remotely as if they were functions/methods locally available. This lends to a cleaner syntax and more robust code in general

Re: [go-nuts] Re: Large (binary or text) File transfers over rpc

2018-11-04 Thread Amnon Baron Cohen
And don't forget the bit-torrent class of solutions. On Friday, 2 November 2018 16:56:17 UTC, Tom Mitchell wrote: > > Moving files is a solved, non trivial problem > Have you looked at tools like scp (ssh), rsync, kermit, ftp, sftp, tftp > and network filesystems (nfs and samba)? > Even git

Re: [go-nuts] Re: Large (binary or text) File transfers over rpc

2018-11-02 Thread Tom Mitchell
Moving files is a solved, non trivial problem Have you looked at tools like scp (ssh), rsync, kermit, ftp, sftp, tftp and network filesystems (nfs and samba)? Even git and http. Error recover, host name lookup, compression, restart, safe abort, transport encryption, authentication,

[go-nuts] Re: Large (binary or text) File transfers over rpc

2018-11-02 Thread Tamás Gulácsi
2018. november 2., péntek 6:21:47 UTC+1 időpontban Anirudh Vyas a következőt írta: > > Hello there - > > I am looking for example/help for using rpc to do file downloads - I am > not sure if this is possible, or recommended or if there is a > better/cleaner way. I like the robust nature of