I run at least two tests to make sure most of the testing server can get the JPG file from the cache of the Edge server(CDN), not back to the origin server.
Azure CDN: Standard Microsoft Tier
Standard Microsoft Tier CDN
The results are base on the 14 tests from different locations globally. I care about the TTFB much more than others.
What is TTFB
TTFB, which stands for time to first byte, is the amount of time it takes from when a client makes an HTTP request to it receiving its first byte of data from the web server. TTFB is an important aspect of website optimization since the faster the TTFB, the faster the requested resource can start being delivered to the browser.
The time to first byte is made up of three separate components.
The time needed to send the HTTP request
The time needed for the server to process the request
The time needed for the server to send back the first byte of the response to the client
What is a good TTFB?
The time to first byte can vary greatly depending on what sort of content you are serving (static vs dynamic), your server’s configuration, etc. Therefore determining what is a good TTFB number is difficult to answer and is variable based on your situation. However, on average anything with a TTFB under 100 ms is fantastic. Anything between 200-500 ms is standard, between 500 ms – 1 s is less than ideal and anything greater than 1 s should likely be investigated further.
As mentioned, it should be noted that these times are average benchmarks, however do not apply to all websites. Depending on the type of content and complexity of the application it may be completely unavoidable that the TTFB is greater than 1 second
It is good to know that Amazon AWS service adds new edge locations in Montreal and Toronto for Cloudfront. I hope it will be soon to have a new edge in Canada West, such as Vancouver.
Amazon CloudFront adds new edge locations in Montreal and Toronto, our first in Canada
We are pleased to announce the launch of our newest edge locations in Toronto and Montreal, our first edge locations in Canada. Adding locations in Canada has been frequently requested by our customers so we are excited to add these two locations to our global network. If you’re already using Amazon CloudFront, you don’t need to do anything to your applications as requests are automatically routed to these locations when appropriate.
These new edge locations help improve performance and availability to end users of your applications and support all Amazon CloudFront features at no additional cost. Pricing for the new edge locations in Canada is the same as that in the US.
We have also added a second edge location in Sao Paolo, Brazil, our third edge location in Brazil. With the addition of the new locations in Canada and the second edge location in Sao Paolo, Amazon CloudFront now has a total of 59 edge locations worldwide. To see a list of all Amazon CloudFront global edge locations, please see our edge location list. To learn more about the service, attend a monthly office hour session that includes Q&A with Amazon CloudFront Engineers and Product Managers. Visit Amazon CloudFront for more information and register for the next office hour.
Amazon announced that CloudFront Usage Charts is available in Report and Analytics.
We are excited to let you know that you can now view your Amazon CloudFront usage with CloudFront Usage Charts, six new charts in the AWS Management Console. You can use the charts to track trends in data transfer and requests (both HTTP and HTTPS) for each of your active CloudFront Web distributions. The charts show your usage from each CloudFront region at daily or hourly granularity, going back up to 60 days, and they also include totals, average, and peak usage during the time interval selected.
Here are details on the six charts:
Number of HTTP Requests; Number of HTTPS Requests: These two charts (one for HTTP and one for HTTPS) show the number of HTTP or HTTPS requests served by edge locations in the selected region for the specified CloudFront distribution.
Data Transferred over HTTP; Data Transferred over HTTPS: These two charts (again, one each for HTTP and HTTPS) show the total amount of data transferred over HTTP or HTTPS from CloudFront.
Data Transferred from CloudFront Edge Locations to Your Users: This chart shows data transferred from CloudFront edge locations in the selected region to users, combining both HTTP and HTTPS usage.
Data Transferred from CloudFront to Your Origin: This chart shows data transferred from CloudFront edge locations in the selected region to your origin for POST, PUT PATCH, OPTIONS, and DELETE methods, again combining both HTTP and HTTPS.
I start to use CDN from April 2010, with MaxCDN. Later, I moved to Amazon, FrontCloud in August, 2010.
For some reason, I move back to MaxCDN. I start to use MaxCDN again from June 2012. In April 2013, I started to use CDN77.
A few days ago, in March 2014, I go back to Amazon AWS CloudFront. It is a reliable CDN service provider. The price is pay as you go. Based on my network volume, I prefer this price structure.
I setup CloudFront with custom origin server. Add CNAME on it. One of the CDN rules is to use two CDN host name, not one, not three. Two is the perfect number and best performance.
I tested my new CloudFront CDN ping value through CA ping tool. There are over 30 monitoring stations worldwide. My testing result is:
It is a good news.
Amazon just announce this big pricing change. Users can save up to 43%.
Even like my small blog site, still can get benefit of it. I highlight it below.
Inbound AWS Data Transfer price for all regions (through June 30, 2011) $0.100 per GB – data transfer in
Outbound data transfer price for US-Standard, US-West and Europe regions (through June 30, 2011) $0.000 – first 1 GB / month data transfer out
$0.150 per GB – up to 10 TB / month data transfer out
$0.110 per GB – next 40 TB / month data transfer out
$0.090 per GB – next 100 TB / month data transfer out
$0.080 per GB – data transfer out / month over 150 TB
New inbound data transfer price for all regions (effective July 1, 2011) $0.000 – all data transfer in
New data transfer price for US-Standard, US-West and Europe regions (effective July 1, 2011) $0.000 – first 1 GB / month data transfer out
$0.120 per GB – up to 10 TB / month data transfer out (10 TB total)
$0.090 per GB – next 40 TB / month data transfer out (50TB total)
$0.070 per GB – next 100 TB / month data transfer out (150 TB total)
$0.050 per GB – next 350 TB / month data transfer out (500 TB total)
Contact us – next 524 TB / month data transfer out (1PB total)
Contact us – next 4 PB / month data transfer out (5PB total)
Contact us – data transfer out / month over 5 PB
So, the first 1GB on S3 is free. In and Out.
We’re excited to inform you about the addition of a new edge location in Paris, France to serve end users of Amazon CloudFront and Amazon Route 53. With this new location, CloudFront and Route 53 now have a total of 5 edge locations in Europe, and 18 total edge locations worldwide. Each new edge location helps lower latency and improves performance for your end users in that region. We plan to continue to add new edge locations worldwide throughout 2011.
It is a good news. I use Amazon CloudFront as a cache system, or CDN, on many sites. It always give a good performance from USA, Canada, etc. Now It has more and more edge locations around the world. So every one can get the content from the closer server.
Yes, this blog is also powered by Amazon FrontCloud.
Amazon just announced that CloudFront now support custom origin, which means users can use their own server as the original content storage. You don’t have to use S3 as origin.
It is more flexible for users. Easy to integrated with CMS system.
Her are some reference of custom origin.
Defination of Origin Server.
Developer Guide: Appendix Custom Origin
Right now, AWS management can not create CloudFront with custom origin. But, if you have a distribute with custom origin, you can manage it in AWS management.
It is a great news that Amazon reduce its S3 price.
These prices apply to Amazon S3 Standard storage in the US-Standard, EU-West, and AP-East regions.
First 1TB $0.150 $0.140
Next 49TB $0.150 $0.125
Next 50TB $0.140 $0.110
Next 400TB $0.130 $0.110
Next 500TB $0.105 $0.095
Next 4000TB $0.080 $0.080 (no change)
Over 5000TB $0.055 $0.055 (no change)
I use Amazon S3 as storage and Amazon CloudFront for CDN on some of my sites, including this Blog.
You may already know that my Blog is using Amazon CloudFront for images, CSS, js files. It can speed up my Blog.
But the problem is Amazon does not provide a handy tool. So I doing search and find one of the best programs. CloudBerry Explorer for Amazon S3.
It works like a simple FTP client tool.
* Encryption – make sure the data is always protected and only you can view it
* Compression – speed up copy process and save on storage and transfer cost.
* Chunking – break large files into smaller ones to speed up the process and make transfer more reliable.
* FTP support – copy files directly from FTP server to S3 bucket.
* Cache-control header support – save even more on transfer costs.
* GZip – yet another way to save on transfer costs.
* Custom http headers support
* Multi-threading – speed up the transfer of multiple small files