Book Image

Amazon S3 Cookbook (n)

By : Naoya Hashimoto
Book Image

Amazon S3 Cookbook (n)

By: Naoya Hashimoto

Overview of this book

Table of Contents (19 chapters)
Amazon S3 Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

How to measure throughput between S3 and CloudFront


As we configured a CloudFront distribution on the Amazon S3 bucket, we also need to know how the latency between S3 and CloudFront differs.

In the Amazon CloudFront official document, it says:

"Traditional load testing methods don't work well with CloudFront because CloudFront uses DNS to balance loads across geographically dispersed edge locations and within each edge location."

Note

If you seriously need to plan a load testing on CloudFront edge locations, you might want to see this document http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/load-testing.html.

Getting ready

We will be using a load test site called LOAD IMPACT (https://loadimpact.com/) to process a load testing because it is free and can be used quickly. Also, it is not necessary to prepare tens of load test servers that need to be geographically separated all over the world and install load test tools (such as ApacheBench, Apache JMeter, Curl-loader, or Httperf...