OiO.lk Community platform!

Oio.lk is an excellent forum for developers, providing a wide range of resources, discussions, and support for those in the developer community. Join oio.lk today to connect with like-minded professionals, share insights, and stay updated on the latest trends and technologies in the development field.
  You need to log in or register to access the solved answers to this problem.
  • You have reached the maximum number of guest views allowed
  • Please register below to remove this limitation

How to optimize download speed from AWS S3 bucket?

  • Thread starter Thread starter R.B.
  • Start date Start date
R

R.B.

Guest
We keep user-specific downloadable files on AWS S3 buckets in N.Virginia region. These are private objects; not publicly accessible. We are using pre-signed URLs with some validity.

Our clients download the files from these buckets all over the world. Files size ranges from 1-20 GB. For larger files, clients in non-US location face and complain about slow downloads or interrupted downloads. How can we optimize these downloads?

We are thinking about the following approaches:

  1. Accelerated downloads (higher costs)
  2. Use of "CloudFront" as CDN with S3 origin (Since our downloads are of different files, each file being downloaded just once or twice. Will CDN help since, for 1st time, it will fetch data from US bucket only?)
  3. Use of "akamai" as CDN (same concern as of "CloudFront", only thing is we have a better price deal with "akamai" at org level)
  4. Depending on the user's location (we know where the download will happen), we can keep the file in the specific bucket which was created at that AWS region.

So, I want recommendations in terms of cost and download speed. Which may be a better option to explore further?
<p>We keep user-specific downloadable files on AWS S3 buckets in <code>N.Virginia</code> region. These are private objects; not publicly accessible. We are using pre-signed URLs with some validity.</p>
<p>Our clients download the files from these buckets all over the world. Files size ranges from 1-20 GB. For larger files, clients in non-US location face and complain about slow downloads or interrupted downloads. How can we optimize these downloads?</p>
<p>We are thinking about the following approaches:</p>
<ol>
<li>Accelerated downloads (higher costs)</li>
<li>Use of "CloudFront" as CDN with S3 origin (Since our downloads are of different files, each file being downloaded just once or twice. Will CDN help since, for 1st time, it will fetch data from US bucket only?)</li>
<li>Use of "akamai" as CDN (same concern as of "CloudFront", only thing is we have a better price deal with "akamai" at org level)</li>
<li>Depending on the user's location (we know where the download will happen), we can keep the file in the specific bucket which was created at that AWS region.</li>
</ol>
<p>So, I want recommendations in terms of cost and download speed. Which may be a better option to explore further?</p>
Continue reading...
 
Top