janko / uppy-s3_multipart

Provides Ruby endpoints for AWS S3 multipart uploads in Uppy
https://uppy.io/docs/aws-s3/
MIT License
65 stars 21 forks source link

Does uppy-s3_multipart support S3 Transfer Acceleration #28

Closed vinnyFD closed 1 year ago

vinnyFD commented 1 year ago

Hi, https://docs.aws.amazon.com/AmazonS3/latest/userguide/transfer-acceleration.html looks like it is supported in Uppy companion. Amazon S3 Transfer Acceleration can speed up content transfers to and from Amazon S3 by as much as 50-500% for long-distance transfer of larger objects.

Cannot see any options for it in uppy-s3_multipart.

https://github.com/transloadit/uppy/pull/1884/files useAccelerateEndpoint in https://uppy.io/docs/companion/

janko commented 1 year ago

Yes, it should support transfer acceleration. If you're using it with Shrine, you can set it up for the storage, and it should automatically be used by uppy-s3_multipart gem. Otherwise just configure it when you're initializing the Aws::S3::Bucket, see aws-sdk-s3 docs about it.