Cloudfront is Still 34x Faster than S3 Alone!

I was amazed how much attention my last blog post about the speed tests I had done after after enabling CloudFront on my S3 static content.  The post was re-tweeted over and over on Twitter and today I even saw follow-ups of people saying they were going to investigate my claims.  If nothing else this post has finally made me realize the power of Twitter as a viral knowledge base!

So I decided to follow up on the post to give some more specifics and back up my claims.  In the last test I had migrated some static content such as images, stylesheets, and javascript files to S3 and then enabled CloudFront.  This was to get some load of our servers on this content that is hit every single time that a page loads. 

The speed tests that I ran last time around were on very small files such as stylesheets that are only a few kilobytes in size.  I ran some more tests today and the results were very similar.

2.33KB File

S3 Test 1 - .4954 seconds
CF Test 1 - .0117 seconds (42x faster)

S3 Test 2- .5189 seconds
S3 Test 2 - .0079 seconds (65x faster)

1.51KB File

S3 Test 1 - .5107 seconds
CF Test 1 - .0525 seconds  (10x faster)

S3 Test 2 - .2826 seconds
CF Test 2 - .0068 seconds (41x faster)

Now yesterday, I enabled the S3 domain where I host my videos for CloudFront as well.  I haven't started using it live on the site yet, but I ran some tests tonight to see what difference it would make with a larger file.

31.7MB File

S3 Test 1 - 43.8165 seconds
CF Test 1 - 28.7885 seconds (1.5x faster)

S3 Test 2 - 63.4555 seconds
CF Test 2 - 28.5563 seconds (2.25x faster)

So you see the same kind of ratio certainly does not hold up for a very large file... but I didn't expect that it would!  With that said though, downloading a full 15-35 seconds faster is nothing to sneeze at.  That can definitely make a big difference to a user's experience or allow for higher quality videos.

One more observation... as I ran these tests over and over on the same file (many more times than just the two tests above) I noticed something.  The S3 times could have a lot of variance in speed whereas CloudFront's speed was very consistent.  On S3 I could get the stylesheet to download as fast as .19 seconds and as slow as .60 seconds (.5 was about average) and the video as you see above from around 40 seconds to over a minute.  CloudFront meanwhile ranged from .0062 and .05 (average was around .0074) for the stylesheet and 25-30 seconds (average was 28) for the video.

Comments

  1. Hey - this is great information. My team and I are working on a flash-based cms (built with Flex) which is hosted in Amazons cloud. We've noticed a high degree of latency with video files - they takes ages to load/start etc. I had often wondered if CF would help decrease the load time .. thankfully it looks like it will.
  2. In the decoration of the proceed. Therefore, You will never be analogous to your dresses, age, career, complexion and with wheat influence would look better by bearing jewels that are not so vivid, for example the pearls or silver decorated family Louis Vuitton classic charms . Ladies with dull wrecked are also good array for them.
  3. louis handbags went to three cities to plays during last spring holidays. They are Beijing, qingdao and howaii. louis bag went to louis handbags louis handbags walletBeijing more than eight times. Beijing is the capital of China. louis handbags monogram louis handbags mahinaIt’s a big city. LV am very familiar with Beijing.
  4. I totally love this article. I think you could write some other things to make your blog more complete.For example: ed hardy clothes.vibram p90x workout . mbt.ed hardy shirts.vibram five fingers kso trek.mbt sapatu shoes. cheap ghd straighteners ugg boots discount ugg boots cheap replica louis vuitton handbag ed hardy I thought that many people can like.
  5. Hey - this is great information. My team and I are working on a flash-based cms (built with Flex) which is hosted in Amazons cloud. We've noticed a high degree of latency with video files - they takes ages to load/start etc. I had often wondered if CF would help decrease the load time .. thankfully it looks like it will.
  6. dior belts, dior belt, dior belts for men, dior mens belt. Price Guarantee, sale now.time limited.seize the chance. thank u for your share with us !
  7. I like shopping, the one reason is I am a girl that enjoy wearing beautiful clothes,verey cool shoes and collecting many information about fashion ,another is that I have many girl friends who enjoy shopping no less than me. We like to disscuss brands,like jimmy choo shoes online and so on. Say coat,I like manolo blahnik shoe, its cool style and unique design is fascinating, About dress, herve leger by max azria is my favourite, it seems so fationable and elegant, speaking of the shoes ,I prefer moncler,christian louboutin pronounce, the high heels style is my favourite ,it is luxious and beautiful, when a bride wear it, I think she is the most beautiful one. Meanwhile, I like to wear kinds of jewelris,like louboutin sample sale rings,canada goose expedition parka necklace and so on, of course, hat is one of my favourite too in summer, for example,tory burch both are my favourite brand.So,which is your favourite ?
  8. In any case, new Air Jordans have the immense popularity in the basketball palyers. The jordan sneaker which is catched on by more people undoubtedly. We can provide you the best quality of all jordan shoes,if you want to buy cheap jordan shoes or any kind of jordans sneakers.
  9. Hotest and the fashionable are Louis Vuitton Bags, I believed that you must heard of Discount Dior replica gucci bags, which are famous in the fashion world.You can see allkinds of Louis Vuitton Handbags Sale
  10. Between 1990 and 1997 Jaquet droz replica , the government's payroll fell by concord replica 340 000, to 2.7 million, increasing designer watches competition for jobs and complaints from louis Vuitton replica those laid off. Other causes Tudor for sale include greater sensitivity to omega for sale discrimination, changes in the law and a multilayered replica Maurice Lacroix grievance process that doesn't exist at replica Bvlgari private companies. Private firms replica watches also get worker complaints ysl bags . But in Replica Tag versace replica handbags studying 10 years of complaints, the Senior Mulberry leather bag Executive Association, a federal managers Mulberry replica handbags group, said government employees balenciaga replica handbags use the grievance system far more than workers thomas wylde handbags at private companies.An Associated designer handbags Press review of federal records Jimmy Choo handbags found that from 1990 to 1997 coach replica handbags , the government spent $ 378 jimmy choo replica handbags million on counselors, judges and investigators designer replica handbags who handle complaints.
  11. Another $ 488 million louis Vuitton replica handbags went to employees who won discount dior handbags compensation awards designer handbags ranging from a few thousand dollars to coach replica handbags millions for class-action lawsuits. burberry replica handbags No single agency tracks all worker chanel replica handbags complaints or costs. The AP reviewed replica handbags documents from the Equal Employment loewe replica Opportunity Commission, Merit thomas wylde handbags System Protection Board, US Special versace handbags Counsel and the Treasury Department breitling for sale Judgment Fund. But many hidden costs replica Montblanc , such as confidential financial settlements, replica ebel couldn't be calculated. swiss watches "There's a phenomenal cost," oris for sale said Jerry Shaw, an attorney for Movado replica the executives association, "The system Graham replica in the private sector is not anywhere near replica Breguet as elaborate."In 1997, one-fifth of the replica Breitling allegations in EEOC complaints concerned racial replica Bvlgari discrimination.
  12. High quality replica handbags Louis Vuitton handbags Gucci handbags Prada handbags Hermes handbags Burberry handbags Chanel handbags Designer handbags Each replica handbags designer handbags Louis Vuitton handbags Chanel handbags gucci handbags Cheap replica handbags In the my Louis Vuitton handbags store buy cheap Gucci handbags Prada handbags replica Hermes handbags You best choice replica Chanel handbags For Sale! Thousands of quality replica handbags Louis Vuitton handbags Looking for replica Gucci handbags Prada handbags Designer handbags chanel handbags more than 5000 replica designers handbags Replica Handbags replica rolex replica watches replica Handbags,replica watches,designer handbags Louis Vuitton handbags replica watches replica rolex is a very common word in our daily life,It helps large number of ladies achieve their dreams.Beauty is human mature.Everyone would like to be elegant,fashion,eye-catching etc.seo In a word,everyone wants to be perfect.So almost all of us like to have a designer handbag,it can reflects someone more chic,attractive,beautiful.This is an era that everyone has a cell phone,replica watches there was a lot of people worry that watch has withdrawn from this era. A new generation of watches in addition to functionality, the more important features should be innovative and fashion.replica rolex replica watches replica Breitling replica Bvlgari replica Hublot replica iwc replica Omega replica Tag Heuer U-Boat watches swiss watches Rolex watches rolex replica replica rolex Breitling replica Bvlgari watches chaumet replica iwc replica Tag Heuer replica Omega replica U Boats watches Let me into your watch swiss rolex , listen to your heartbeat close to the arm, the first time with you to be happy, like you slept deeply at night, with you every second, let my heart as you countdown, ticking is my prayer.You have a Swiss watches swiss rolex brand ultra-low range. Quality assurance

Leave a Comment