storj / edge

Storj edge services (including multi-tenant, S3-compatible server to interact with the Storj network)
GNU Affero General Public License v3.0
53 stars 18 forks source link

Verify that the common case of UploadPartCopy is what AWS SDK for JavaScript does #339

Open amwolff opened 1 year ago

amwolff commented 1 year ago

Goal

The objective of this task is to verify that AWS SDK uses the UploadPartCopy API to copy objects greater than 5 GB in size while maintaining the original multipart upload structure and not using arbitrary byte ranges or other methods. We can't support the latter, so this is to find out if we can conform to S3's internal limitation without reconfiguring all clients while using Storj's S3-compatible API.

Acceptance Criteria

Experiment with changing the default threshold and the threshold itself for triggering the multipart mechanism (applicable to both uploads and copies) throughout the experiment to see how it affects what SDK is doing. Ideally, you want to use some abstraction over UploadPartCopy existing in the SDK, if any, as that should be what developers prefer.

Links