We'd like your help - LQ is choosing a CDN
As you may know, LQ has utilized a CDN (content distribution network) to speed static content delivery for some time. We're considering switching, however, and would like to see which CDN is the fastest for LQ members. Below I've included three pages that load multiple images from each CDN. We'd like your feedback on which images load the fastest and are cached the best from your location. I've also included a page that loads all images from a local LQ URL as a reference point. Thanks for the feedback.
CDN http://images.linuxquestions.org/cdntest/cdnl.html http://images.linuxquestions.org/cdntest/cf.html http://images.linuxquestions.org/cdntest/front.html local to LQ http://images.linuxquestions.org/cdntest/local.html --jeremy |
Any particular test you suggest we try?
Simply clicking on them, each of the four loads too fast for me to see the difference. Do you know a good tool for timing how very fast a tiny image loads? Or are you just worried about people in odd corners of the internet where those don't all load fast? Or should you have provided harder test images? Or am I totally missing the point? |
Realistically, all four should be similar if you're in the USA and on broadband. The benefits of a CDN come in pushing the content closer to the user and more aggressive caching. It's possible that this test is a bit too simple. If that's the case I'll create a page that loads a bunch of images from each CDN - which is closer to how things actually work at LQ in the real world.
--jeremy |
url 1 - 0.36 sec
url 2 - 0.37 sec url 3 - 1.33 sec url 4 - 1.12 sec Using Fasterfox page loading timer |
Cachefly
If an eye blink determines speed, then cachefly was the slowest. I could barely tell, though.
|
I think we might need a bigger image, they all load too fast to notice any difference.
|
I've updated the first post with a page that loads multiple images from each. Thanks for the feedback so far.
--jeremy |
Code:
win32sux@candystore:/tmp$ wget http://http.cdnlayer.com/lq/images/questions/images/LinuxQuestions.png Could you make one that is one or two megabytes? |
win32sux, I updated the test to include multiple images. The reason I didn't put up a single large file is that in the real world, that's not how we use the CDN. A single large file is going to test throughput, which we really don't care about much. Latency on a bunch of smaller files is a better indicator for our usage pattern.
--jeremy |
Quote:
|
Quote:
^ Was the fastest for me. -C |
Loading in the browser wasn't quite effective as the 1st image in the link is already cached (it's the LQ.org logo I see at the top of the page). On a second test the first one seemed the fastest. I checked with wget and cloudfront link was faster than cdnlayer. And cachefly was usually the slowest in the tests.
Here are rough values after multiple runs of wget. The values changed a lot. These are just the values with the highest frequency. (For the earlier posted image links) cdnlayer - 0.7s cachefly - 1.1s cloudfront - 0.6s LQ local - 0.8s EDIT: After jeremy updated the links, I checked again. The values changed, but the patterns remained same. I'm from Sri Lanka, BTW. |
I'll update the cdnlayer (which we currently use) page to not load images that may already be cached.
--jeremy |
Quote:
I'm using "wget -p" but it only downloads the images on the local test. |
You'll need to use wget -pH (since the links span multiple hosts when not using the "local" link).
--jeremy |
All times are GMT -5. The time now is 01:38 PM. |