fog-backblaze icon indicating copy to clipboard operation
fog-backblaze copied to clipboard

stream file upload

Open oshanz opened this issue 4 years ago • 0 comments

by looking at the source code I saw that this gem read complete file before doing the upload and I'm worried how much memory this will acquire for large files.

https://github.com/fog/fog-backblaze/blob/f45d37606e937bdef2a5d59a1364a57a0f1f4c42/lib/fog/backblaze/storage/real.rb#L183-L185

any otherway to improve this, like using stream/chunked upload?

oshanz avatar Jan 12 '20 12:01 oshanz