Current time: 12-11-2019, 01:54 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Seeing very high ttfb and dowload times for Cloudfront content
05-27-2013, 01:25 AM
Post: #1
Seeing very high ttfb and dowload times for Cloudfront content
I have been running tests from multiple locations all over the USA using chrome and I'm seeing very high download times for images coming from cloudfront only when testing using WPT when I used another testing services the image download and TTFB seem to be much much faster.

WPT examples:
http://www.webpagetest.org/result/130526...1/details/
http://www.webpagetest.org/result/130526...1/details/
http://www.webpagetest.org/result/130526...1/details/

other service:
http://tools.pingdom.com/fpt/#!/iNtuC/ht...arket.com/
Find all posts by this user
Quote this message in a reply
06-01-2013, 06:25 AM
Post: #2
RE: Seeing very high ttfb and dowload times for Cloudfront content
Looks like you have saturated the 5Mbps connection that you were testing on on WebPagetest (in the advanced settings you can configure the allocated bandwidth). That is also likely why the latency was higher - most tools just test using a full backbone connection.

If you look at the bandwidth chart at the bottom of the WPT waterfalls you can see that it's pretty much pegged for the whole time. 3.7MB is a pretty huge page. Are those retina images (they appear to be larger than they show on the page)? You'll get a better user experience if you can break up the loading of the images and only load the ones that are above the fold with the page itself and lazy-load the others (after onload maybe). That way the main images will not be competing for bandwidth with images that are not immediately visible.

You're also not really helping things by sharding them across 3 domains, that just puts even more bits on the wire at a time and you're probably running into a bunch of congestion (Will Chan had a great blog post on it here: https://insouciant.org/tech/network-cong...-browsing/
Visit this user's website Find all posts by this user
Quote this message in a reply
06-03-2013, 09:32 PM
Post: #3
RE: Seeing very high ttfb and dowload times for Cloudfront content
Thanks Patrick,

I have shrunk the dimensions of the images we are loading to fall closer to the max dimensions we need on the page (page is responsive)

I also removed the media1 and media2 domains.

The problem now is that there seems to always be one or two images that are taking an extraordinary amount of time to load

http://www.webpagetest.org/result/130603_FX_J6G/

thanks for your help,

-Ari
Find all posts by this user
Quote this message in a reply
06-06-2013, 07:12 AM
Post: #4
RE: Seeing very high ttfb and dowload times for Cloudfront content
FWIW, looks like the image issue may have been transient but the globalconvert code on your page is trying to make a request from a server that isn't accepting connections: http://www.webpagetest.org/result/130605_9P_1H4F/

If you don't absolutely need it, I recommend removing it or reaching out to them to see what's going on.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)