LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > LinuxQuestions.org > LQ Suggestions & Feedback
User Name
Password
LQ Suggestions & Feedback Do you have a suggestion for this site or an idea that will make the site better? This forum is for you.
PLEASE READ THIS FORUM - Information and status updates will also be posted here.

Notices


Reply
  Search this Thread
Old 06-29-2009, 01:27 PM   #1
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 13,602

Rep: Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084
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
 
Old 06-29-2009, 01:50 PM   #2
johnsfine
LQ Guru
 
Registered: Dec 2007
Distribution: Centos
Posts: 5,286

Rep: Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197
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?
 
Old 06-29-2009, 01:54 PM   #3
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 13,602

Original Poster
Rep: Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084
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
 
Old 06-29-2009, 01:57 PM   #4
mdg
Member
 
Registered: Sep 2003
Distribution: Slackware
Posts: 626

Rep: Reputation: 38
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
 
Old 06-29-2009, 01:58 PM   #5
cmnorton
Member
 
Registered: Feb 2005
Distribution: Ubuntu, CentOS
Posts: 585

Rep: Reputation: 35
Cachefly

If an eye blink determines speed, then cachefly was the slowest. I could barely tell, though.
 
Old 06-29-2009, 02:01 PM   #6
samnjugu
Member
 
Registered: Apr 2006
Location: Atlanta
Distribution: Centos, knoppix, Fedora, Mepis, Zenwalk, Mint
Posts: 142

Rep: Reputation: 16
I think we might need a bigger image, they all load too fast to notice any difference.
 
Old 06-29-2009, 02:06 PM   #7
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 13,602

Original Poster
Rep: Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084
I've updated the first post with a page that loads multiple images from each. Thanks for the feedback so far.

--jeremy
 
Old 06-29-2009, 02:06 PM   #8
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Code:
win32sux@candystore:/tmp$ wget http://http.cdnlayer.com/lq/images/questions/images/LinuxQuestions.png
--2009-06-29 14:02:43--  http://http.cdnlayer.com/lq/images/questions/images/LinuxQuestions.png
Resolving http.cdnlayer.com... 69.88.152.250
Connecting to http.cdnlayer.com|69.88.152.250|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 20870 (20K) [image/png]
Saving to: `LinuxQuestions.png'

100%[===================================================================================================================>] 20,870      56.9K/s   in 0.4s    

2009-06-29 14:02:44 (56.9 KB/s) - `LinuxQuestions.png' saved [20870/20870]

win32sux@candystore:/tmp$ wget http://linuxquestions.cachefly.net/images/questions/images/LinuxQuestions.png
--2009-06-29 14:02:56--  http://linuxquestions.cachefly.net/images/questions/images/LinuxQuestions.png
Resolving linuxquestions.cachefly.net... 205.234.175.175
Connecting to linuxquestions.cachefly.net|205.234.175.175|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 20870 (20K) [image/png]
Saving to: `LinuxQuestions.png.1'

100%[===================================================================================================================>] 20,870      48.8K/s   in 0.4s    

2009-06-29 14:02:57 (48.8 KB/s) - `LinuxQuestions.png.1' saved [20870/20870]

win32sux@candystore:/tmp$ wget http://d1d4g485pex8zi.cloudfront.net/images/questions/images/LinuxQuestions.png
--2009-06-29 14:03:09--  http://d1d4g485pex8zi.cloudfront.net/images/questions/images/LinuxQuestions.png
Resolving d1d4g485pex8zi.cloudfront.net... 216.137.33.55, 216.137.33.166, 216.137.33.213, ...
Connecting to d1d4g485pex8zi.cloudfront.net|216.137.33.55|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 20870 (20K) [image/png]
Saving to: `LinuxQuestions.png.2'

100%[===================================================================================================================>] 20,870      51.4K/s   in 0.4s    

2009-06-29 14:03:10 (51.4 KB/s) - `LinuxQuestions.png.2' saved [20870/20870]

win32sux@candystore:/tmp$ wget http://images.linuxquestions.org/CDN/images/questions/images/LinuxQuestions.png
--2009-06-29 14:03:26--  http://images.linuxquestions.org/CDN/images/questions/images/LinuxQuestions.png
Resolving images.linuxquestions.org... 208.101.3.245
Connecting to images.linuxquestions.org|208.101.3.245|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 20870 (20K) [image/png]
Saving to: `LinuxQuestions.png.3'

100%[===================================================================================================================>] 20,870      62.6K/s   in 0.3s    

2009-06-29 14:03:26 (62.6 KB/s) - `LinuxQuestions.png.3' saved [20870/20870]

win32sux@candystore:/tmp$
I do think it's tough to get an accurate representation with an image this small, though.

Could you make one that is one or two megabytes?

Last edited by win32sux; 06-29-2009 at 02:07 PM.
 
Old 06-29-2009, 02:10 PM   #9
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 13,602

Original Poster
Rep: Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084
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
 
Old 06-29-2009, 02:12 PM   #10
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Quote:
Originally Posted by jeremy View Post
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.
Roger that.
 
Old 06-29-2009, 02:15 PM   #11
custangro
Senior Member
 
Registered: Nov 2006
Location: California
Distribution: Fedora , CentOS , RHEL
Posts: 1,979
Blog Entries: 1

Rep: Reputation: 209Reputation: 209Reputation: 209
Quote:
Originally Posted by jeremy View Post
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
http://images.linuxquestions.org/cdntest/cdnl.html

^ Was the fastest for me.

-C
 
Old 06-29-2009, 02:18 PM   #12
SkyEye
Member
 
Registered: Sep 2005
Location: Sri Lanka
Distribution: Fedora (workstations), CentOS (servers), Arch, Mint, Ubuntu, and a few more.
Posts: 441

Rep: Reputation: 40
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.

Last edited by SkyEye; 07-03-2009 at 09:39 PM.
 
Old 06-29-2009, 02:24 PM   #13
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 13,602

Original Poster
Rep: Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084
I'll update the cdnlayer (which we currently use) page to not load images that may already be cached.

--jeremy
 
Old 06-29-2009, 02:26 PM   #14
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Quote:
Originally Posted by SkyEye View Post
Here's 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
What command line options are you giving wget?

I'm using "wget -p" but it only downloads the images on the local test.
 
Old 06-29-2009, 02:37 PM   #15
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 13,602

Original Poster
Rep: Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084
You'll need to use wget -pH (since the links span multiple hosts when not using the "local" link).

--jeremy
 
  


Reply

Tags
cdn



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache 2.2, Mod_rewrite and a cdn provider with a squid proxy cache Support_frog Linux - Server 0 05-28-2009 07:54 PM
choosing a laptop rmakers Linux - Laptop and Netbook 26 03-16-2005 03:57 PM
choosing a Distro SabaumLinux Linux - Distributions 8 02-13-2005 02:05 PM
choosing a distro jaakkop Linux - Distributions 9 02-09-2005 01:31 PM
Help choosing (there's to many) SevenForever Linux - Newbie 9 04-11-2004 04:13 PM

LinuxQuestions.org > Forums > LinuxQuestions.org > LQ Suggestions & Feedback

All times are GMT -5. The time now is 04:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration