Re:Cloudflare R2 storage: Rapid and reliable object storage,...
by danielrhodes on Tuesday September 28, 2021 @12:54PM
(#28684894)
I personally think uploading massive files is not usually desirable. Better would be an easy way to chunk it and upload and have the server put the file back together, which would increase reliability.
[ Parent
| on HN ]
Re:Cloudflare R2 storage: Rapid and reliable object storage,...
by loxias on Tuesday September 28, 2021 @07:03PM
(#28688484)
S3 protocol supports multipart upload, which is what you're describing. The client chunks it, the server reassembles.
What I'd like to see is PATCH with multipart/byteranges support. =D
Re:Cloudflare R2 storage: Rapid and reliable object storage,...
by zackbloom on Tuesday September 28, 2021 @12:58PM
(#28684940)
Native tus support would be pretty amazing.
Re:Cloudflare R2 storage: Rapid and reliable object storage,...
by anderspitman on Tuesday September 28, 2021 @05:13PM
(#28687600)
Tus is over-complicated IMO. Why require the server to store state that's already available on the file system? Just support PATCH requests with an offset parameter. If an upload fails partway through, HEAD the file to see how much got copied to disk and resume from there.