[consulting] CDN & hosting location impact
Michael Goldsmith
ixlr8 at comcast.net
Tue Dec 15 03:35:10 UTC 2009
CDN's don't work like that. You host everything on your server. Your CDN
picks up a copy of your static files such as images, media, even CSS and JS
files, and servers it from the CDN server that is closest to the client.
Basically what you're serving is your source code (although you might even
be able to toss that up on your CDN- I'd have to check on that), and
anything that comes from your database. That, generally, is a lot lighter
than serving up your media and takes up a lot less time. Now what this
DOESN'T mean, is that you can just use a CDN and you don't need any sort of
hosting. You still need your db server, and you still need your content
hosted somewhere so that the CDN servers can get new copies of files. The
load on the servers will be considerable less, but it will still be there,
especially if you have a site of any scale. Add memcache too, and you've
got a set up that sings, but that's an entirely different conversation.
So to answer your question: I have no idea what kind of performance you're
going to get. It depends on what you're serving, the server you put it on,
your CDN, if any, the network connection tier of the server, and the client
ISP, as well as a dozen other things I'm leaving out.
If you have a multinational site, CDNs will help. I can't give you accurate
performance stats though. Anyone who does, is trying to sell you something.
There are a million different things that affect site performance. If you
believe what that person is telling you, without seeing your finished site,
is that you'll get a 300% performance increase, then for just $499, I'll
guarantee to get your website to the #1 spot in a Google search using top
secret SEO tactics!
Thank you very much for your time and consideration,
Michael Goldsmith
(732) 619-6865 - mobile
ixlr8 at comcast.net - email
http://www.platypustheory.com - website
-----Original Message-----
From: consulting-bounces at drupal.org [mailto:consulting-bounces at drupal.org]
On Behalf Of Carole St. Laurent
Sent: Monday, December 14, 2009 8:44 PM
To: consulting at drupal.org
Subject: [consulting] CDN & hosting location impact
I'm designing a site that will have global location-specific content, as
well as local websites. I would prefer to install it as one multisite
website. If I host my websites on a Canadian server, host the content on a
CDN, and hit the pages from Australia, what kind of performance will I get?
Will I need to host the Australian website in Australia and the North
American websites in North America?
Carole
Carole St. Laurent
IT Consultant
fluidIT solutions
----------------------------
"Increase your impact through creative technical strategies."
carole at fluidITsolutions.com
+1 (416) 762-2245
www.fluidITsolutions.com
-----Original Message-----
------------------------------
Message: 2
Date: Mon, 14 Dec 2009 09:45:35 -0500
From: "Michael Goldsmith" <ixlr8 at comcast.net>
Subject: Re: [consulting] CDN question and recommendation
To: "'A list for Drupal consultants and Drupal service/hosting
providers'" <consulting at drupal.org>
Message-ID: <006101ca7ccc$18d5ae30$4a810a90$@net>
Content-Type: text/plain; charset="us-ascii"
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.
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.
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.
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.
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.
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.
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.
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.
Thank you very much for your time and consideration,
Michael Goldsmith
(732) 619-6865 - mobile
ixlr8 at comcast.net - email
http://www.platypustheory.com <http://www.ixlr8.org/> - website
From: consulting-bounces at drupal.org [mailto:consulting-bounces at drupal.org]
On Behalf Of Christian Pearce
Sent: Monday, December 14, 2009 8:56 AM
To: A list for Drupal consultants and Drupal service/hosting providers
Subject: [consulting] CDN question and recommendation
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
http://drupal.org/project/cdn, 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?
--
Christian
No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 9.0.716 / Virus Database: 270.14.107/2564 - Release Date: 12/14/09
02:37:00
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.drupal.org/pipermail/consulting/attachments/20091214/4358c145/a
ttachment-0001.html
------------------------------
Message: 3
Date: Mon, 14 Dec 2009 15:44:06 -0600
From: Ben West <westbywest at gmail.com>
Subject: [consulting] Best way to reach out to Drupal developers in a
specific city
To: "A list for Drupal consultants and Drupal service/hosting
providers" <consulting at drupal.org>
Message-ID:
<3aefcca60912141344m3e9880feh125a45581f8ecea at mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"
Hi All,
Is there a preferred way to reach out to Drupal developers in a specific
city (in this case St. Louis, MO) about a potential employment opportunity?
Is this email list the preferred route, even though lots of traffic appears
to be related to freelance work that does not have geographic constraints?
Thanks.
--
Ben West
westbywest at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.drupal.org/pipermail/consulting/attachments/20091214/26f07052/a
ttachment-0001.html
------------------------------
Message: 4
Date: Mon, 14 Dec 2009 14:49:56 -0700
From: Greg Knaddison <Greg at GrowingVentureSolutions.com>
Subject: Re: [consulting] Best way to reach out to Drupal developers
in a specific city
To: "A list for Drupal consultants and Drupal service/hosting
providers" <consulting at drupal.org>
Message-ID:
<3861c6770912141349w44fc3826g4075aeeeaf63716d at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
On Mon, Dec 14, 2009 at 2:44 PM, Ben West <westbywest at gmail.com> wrote:
> Is there a preferred way to reach out to Drupal developers in a specific
> city (in this case St. Louis, MO) about a potential employment
opportunity?
> Is this email list the preferred route, even though lots of traffic
appears
> to be related to freelance work that does not have geographic constraints?
Hi Ben,
http://groups.drupal.org/st-louis
You may also be interested in http://drupal.org/node/51169
Regards,
Greg
--
Greg Knaddison | 303-800-5623 | http://growingventuresolutions.com
Mastering Drupal - http://www.masteringdrupal.com
------------------------------
_______________________________________________
consulting mailing list
consulting at drupal.org
http://lists.drupal.org/mailman/listinfo/consulting
End of consulting Digest, Vol 47, Issue 11
******************************************
No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.5.427 / Virus Database: 270.14.91/2541 - Release Date: 12/14/09
19:40:00
_______________________________________________
consulting mailing list
consulting at drupal.org
http://lists.drupal.org/mailman/listinfo/consulting
No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 9.0.716 / Virus Database: 270.14.107/2564 - Release Date: 12/14/09
02:37:00
More information about the consulting
mailing list