Saturday, October 23, 2010

Amazon Cloudfront Rocks

We are in progress of creating a better landing page for elastic.io so for a sake of experiment I put all files for the “draft” version of it on Amazon Cloudfront CDN. If you are not familiar Amazon Cloudfront is a content delivery platform that serves the content for the user from the nearest to the user location hence improving page loading times.

Actually since Cloudfront lately enabled support of default root object it became a perfect platform for serving static web-sites. So uploading resources there was a piece of cake, especially using Cyberduck. But how to test it? How to see the CDN benefits?

Using another great tool - BrowserMob. Great idea - run browsers in cloud and share them as performance testing platform. So they have a free testing tool just type your website URL and see how well it performs when loading from multiple locations. That’s for example how results looks like for static resources served from Amazon CDN: 

Pretty good IMHO. Then BrowserMob guys give every registration a small amount one could use for small load test. Also pretty nice feature, you can automatically execute your Slienium tests on regular basis. So here you can see results of it: link.