<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>To answer your first question, yes. A CDN will ease some
of the performance issues you’ll have. But it’s not always as
simple as that. <o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>The long and short of it, is that it works something like
this. These are just broad strokes, and I’m probably missing some
stuff here, but it’s enough to give you the gist of it. OK, you hit
a web page from New York. The web page is hosted in a data center in
Dallas, TX. Your request goes through a bunch of hops through various
routers to get to the web server that hosts the page, it makes the request, and
generally, the packets turn around go back through the same routers to get to
your computer. I say generally, in that sometimes they take alternate
paths, but that’s beyond the scope of this explanation.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Generally, this happens very quickly. However, let’s
say that you were in London, instead of New York. Your request is going
to go through a lot more hops than it would if you were in NY. This takes
longer to load your pages. Also, if you’re serving a lot of static
files- images, video- anything that doesn’t change very often, you’re
pushing out these files over and over again to each person who’s making
the request.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>So here’s where a CDN can make things easier for
you. A company, sets up a bunch of high powered servers all around the
world. And when a piece of content is made available to the CDN, it makes
a copy on every one of the servers. So if you’re making a request
from London, it looks at cdn.example.com for the image, instead of example.com,
and some fancy DNS rules tell it to make the request to the CDN server in
London, instead of making the request to Dallas. If it doesn’t find
the piece of content on the local cdn server, then it defaults back to making
the request from the server in Dallas. Also, it eases a lot of load off
of your web server, since most of your static files are hosted on other
servers, they’re not hitting you for the load and bandwidth on your
machine.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>There are a bunch of different ways to set this up. The
CDN module does a lot of the heavy lifting on your end to rewrite the urls of
images. As far as which method to use, that’s going to depend on
how you set up with the CDN company. Each company does things slightly
different, so you’ll want to talk with them to figure out what is the
best option. I’ve found that they’re very helpful and will
walk you through the process if you ask them. You might even be able to set
up a reseller account with a specific company, so you can make some money on
referrals.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>As far as specific CDN’s are concerned, it depends.
It depends on how much data you’re pushing, what kind of data you’re
pushing, etc. Some CDN’s don’t care what you’re
pushing, others have some requirements. It also depends on how much your
client can afford. Generally, larger CDN’s tend to cost more than
smaller ones. But they’ll probably have more servers on their
network, so they’ll be faster. I’ve found that the rule of
thumb is that you get what you pay for. You can get a CDN that costs
about $20/ month. Or you can get one that costs $200/ month, or
more. You’ll see the difference, but it really comes down to what
your client needs.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Now I said that it’s not always as simple as that.
The caveat to this, is that let’s say you’re in NY, and you’re
testing your site, and everything you see is fine. Let’s say
something gets corrupted, or cached wrong on the way to the London server,
which happens every once in a while. You won’t see what’s
wrong, because everything you see is coming from the NY server. That’s
an extreme case, but dealing with CDN’s can sometimes be a bit of a pain
when you’re making changes to one of those files, say a CSS file, for
example, and you’re clearing your Drupal cache, but the file is just not
updating. You’ll bang your head against a wall until you remember
that you have to clear the cdn’s cache too, and then the files need to
repopulate, which means a whole bunch of servers are going to be pinging your
local server trying to get this new file while the new copy rolls out through
the CDN, which can take a little while to do. Hope you didn’t need
to do that during a peak traffic hour… I’m sure you see where
I’m going with that. <o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>All in all, CDN’s are great if you can afford them, but
there is definitely a price to pay for it. If your client isn’t tech
savvy and you’re not managing the site, they might have some difficulty
wrapping their head around the concept, and sometimes there are weird hiccups
that takes some esoteric knowledge to fix. It doesn’t happen often,
but it’s something that should be noted.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><b><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Thank you very much for your time and consideration,</span></b><span
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><br>
<br>
</span><b><i><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Michael Goldsmith</span></i></b><span style='font-size:11.0pt;
font-family:"Calibri","sans-serif";color:#1F497D'><br>
</span><i><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>(732) 619-6865 - mobile</span></i><span style='font-size:11.0pt;
font-family:"Calibri","sans-serif";color:#1F497D'><br>
</span><i><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><a href="mailto:ixlr8@comcast.net">ixlr8@comcast.net</a> - email</span></i><span
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><br>
</span><i><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><a href="http://www.ixlr8.org/">http://www.platypustheory.com</a>
- website</span></i><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>
<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> consulting-bounces@drupal.org
[mailto:consulting-bounces@drupal.org] <b>On Behalf Of </b>Christian Pearce<br>
<b>Sent:</b> Monday, December 14, 2009 8:56 AM<br>
<b>To:</b> A list for Drupal consultants and Drupal service/hosting providers<br>
<b>Subject:</b> [consulting] CDN question and recommendation<o:p></o:p></span></p>
</div>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>I have a potential customer that is going to have traffic
from around the world. It is my understanding a CDN will ease a lot of
the pain while using the site. First is this true? Second I plan on
using this module <a href="http://drupal.org/project/cdn" target="_blank">http://drupal.org/project/cdn</a>,
I imagine origin pull is going to be the best method. Does anyone have
experience using this? Can you make a recommendation for a particular
service to use?<br clear=all>
<br clear=all>
<br>
-- <br>
Christian<o:p></o:p></p>
<p><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>No virus
found in this incoming message.<br>
Checked by AVG - www.avg.com<br>
Version: 9.0.716 / Virus Database: 270.14.107/2564 - Release Date: 12/14/09
02:37:00</span><o:p></o:p></p>
</div>
</body>
</html>