Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

file handling #2

Open
gedw99 opened this issue Feb 15, 2022 · 1 comment
Open

file handling #2

gedw99 opened this issue Feb 15, 2022 · 1 comment

Comments

@gedw99
Copy link

gedw99 commented Feb 15, 2022

It would be nice to add file handling. Upload and download.

generally there are 2 approahced.

over grpc with the file encoded in to chunks. its generally slow.
EX: https://dev.to/techschoolguru/upload-file-in-chunks-with-client-streaming-grpc-golang-4loc

https://github.com/rickslick/grpcUpload

The advantage is that you get retry, and only upload the chunks that never were committed. you can also account for the client going offline.

@gendocu-test-user
Copy link
Contributor

Sounds awesome - thank you! It should be a separate repository for file-uploading examples. Let's keep the 'library-app' as simple as possible for everyone.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants