Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why is my amazon s3 slow? [closed]

Tags:

amazon-s3

Is there a way to check that my files are already on the edge servers for my users to load from? Or does amazon s3 take time to spread your files around the world? How Long and can I receive notification about when?

So after I uploaded a file, I immediately tested the load speed by asking users from other far away places(like places in Japan). They said that it was rather slower than my current hosting in the US. That's odd because Amazon does have an edge server in Tokyo so Amazon s3 should be faster?

Before I created my bucket, I did set the region to be in the standard US. Is that why? If so, is there a way to set your files to work around the world?

Thank you for your time.

like image 256
Matt Avatar asked Oct 13 '12 05:10

Matt


People also ask

How do I make my S3 bucket faster?

Open the AWS S3 console and click on your bucket. Click on the Metrics tab. The Total bucket size graph in the Bucket Metrics section shows the total size of the objects in the bucket.

Does S3 have throttling?

Amazon S3 File Gateway now supports schedule-based network bandwidth throttling, enabling you to optimize network use between your data center and Amazon S3 storage for data synchronization.

How do I maximize the read speed on Amazon S3?

You can increase your read or write performance by using parallelization. For example, if you create 10 prefixes in an Amazon S3 bucket to parallelize reads, you could scale your read performance to 55,000 read requests per second. Similarly, you can scale write operations by writing to multiple prefixes.


1 Answers

As you already said, your S3 buckets are situated in a specific location, for example us-east, europe, us-west etc. This is the place where your files are physically stored. They are not distributed geographically. Users from other places in the world will experience delay when requesting data from these buckets.

What you are looking for is the Cloudfront CDN from Amazon. You can specify an origin (that would be your S3 bucket in your case) and then your files will be distributed to all the Amazon Cloudfront edge locations worldwide. Check out their FAQ and the list of edge locations.

like image 104
j0nes Avatar answered Oct 09 '22 08:10

j0nes