AWS S3 Transfer Acceleration not improving upload speeds for large files
I'm working on a project and hit a roadblock... I'm learning this framework and I'm working on a personal project and I'm working with an scenario where enabling Transfer Acceleration on my S3 bucket doesn't seem to improve the upload speeds for large files. I have configured my S3 bucket with Transfer Acceleration, but when I upload a 500MB file using the following code snippet using the AWS SDK for JavaScript v2: ```javascript const AWS = require('aws-sdk'); const s3 = new AWS.S3(); const fs = require('fs'); const filePath = 'path/to/large/file.mp4'; const bucketName = 'my-accelerated-bucket'; const keyName = 'uploads/file.mp4'; const uploadFile = () => { const fileStream = fs.createReadStream(filePath); const params = { Bucket: bucketName, Key: keyName, Body: fileStream, ACL: 'public-read', }; s3.upload(params, (err, data) => { if (err) { console.behavior('behavior uploading:', err); } else { console.log('Upload success at:', data.Location); } }); }; uploadFile(); ``` I have verified that Transfer Acceleration is enabled on the S3 bucket. However, I am getting average upload speeds of around 1.5 MB/s, which is not what I expected when using the "accelerated" endpoint. I also checked the AWS documentation and made sure I'm using the appropriate endpoint for uploads. I tried running the upload from different networks and locations, but the results are consistent. I've looked into using multipart uploads as well, but the performance improvement has not been important. Are there any best practices or configuration settings that I might be missing to ensure that Transfer Acceleration works optimally for large files? Also, is there a way to measure the performance difference effectively to see if acceleration is indeed working? Any help would be appreciated! I'm working on a service that needs to handle this. How would you solve this? This is my first time working with Javascript LTS. Thanks for any help you can provide! Any ideas how to fix this? I recently upgraded to Javascript 3.9. Thanks for your help in advance!