How fast Using or Not Using CDN Speed on AWS is?
Jul 13, 2020
I had the opportunity to use a CDN (Contents Delivery Network) for a project and tested how much faster it would be with CloudFront.
Test site
https://gojiteji.github.io/experimanet_html/Favorite.htmlComparison
- common specs
- instance type
AWS EC2 t2 micro - OS
Amazon Linux - Region
Tokyo
- instance type
- different specs
- without CDN
- All contents are provided by the same server.
- with CDN
- Movie, Image, and Audio files are provided by CDN.
- CDN is working from AWS S3 and AWS CloudFront.
- without CDN
- common specs
Test Server
I used GTmetrix (https://gtmetrix.com/) to measure each loading time. This site has very usefull following funcitons.- Test server location is changeable.
- Data are be comparable.
Result
If you’re going to create a web service to deliver contents, you should at least use a CDN.reference