What Is A CDN?
A CDN helps to speed up static components of your blog (especially pictures of say, your bed in Rome) by distributing them across a number of servers around the world. This does two things – one is to put much of your travel blog’s content closer to the person who wants to view it. So, a person in Japan will download your beautiful photos of Granada from Tokyo, rather than your server sitting in Boston, for example. Less distance traveled means a faster download and secondly, if the content isn’t being pulled directly from your server, it saves overall computing power (important to have plenty of for when traffic gets really busy).
You can set up a CDN on your own server (in effect creating two download points for your photos) but most people opt for paid services like Amazon’s Cloudfront. (Next time I’ll talk about Cloudflare, which is a free alternative, although not a CDN by design.) With paid CDNs, you are generally charged by the amount of data in gigabytes that are downloaded from your site each month. (Here’s Amazon’s pricing chart to give you and idea.) Most travel blogs that aren’t very video intensive don’t have the kind of traffic or the content (e.g. podcasts) to make CDN usage very expensive.
Many hosting providers like Media Temple are also now including CDNs as extra features to their hosting packages though they tend to be much more expensive that 3rd-party alternatives.
What Is A Pull CDN Versus A Push CDN?
A very watered down explanation of the two is with a pull CDN, the CDN caches parts of your site upon request to their servers. A push CDN is where you upload your entire travel blog to the CDN so it’s ready for users at any given time. Let’s look a bit further.
Keep in mind that this isn’t the entire story or process of how CDNs work, it’s a look at the system from very high up in the sky. That said, it may seem like a push CDN is superior to a pull, but that’s not always the case.
The Benefits Of Pulling Or Pushing Your CDN
In general, a pull CDN is much easier to configure than a push CDN. Once initially configured, a pull CDN rather seamlessly stores and updates content on its servers as its requested. The data usually stays there for 24 hours or longer if the CDN doesn’t detect that a file has been modified. For low traffic sites or those that are sufficiently optimized with caching, good code, and more, a pull CDN provides speed without asking much of your server. Once your content is pulled (give it 48 hours to get enough data to make it a noticeable difference) the maintenance required is low.
Conversely, a push CDN can put added strain on your server if it’s underpowered for your traffic, or you have lots of changing content in a given day. The reason being, pushing all of your data and any changes as they happen to the CDN takes work on your server’s part. If your server is already struggling under heavy load (here are a few tips to optimize your site) or has new content several times a day, all of them syncing between your server and the CDN might do more harm than good.
Which One Is Best For You?
The decision on which CDN type to go with revolves in large part around traffic and downloads. Travel blogs that are hosting videos and podcasts (aka. large downloads) will find a push CDN cheaper and more efficient in the long run since the CDN won’t re-download content until you actively push it to the CDN. A pull CDN can help high-traffic-small-download sites by keeping the most popular content on CDN servers. Subsequent updates (or “pulls”) for content aren’t frequent enough to drive up costs past that of a push CDN.
Whichever CDN type you end up choosing, I would strongly recommend you keeping track of your usage over the first 1-3 months as well as loading times. You may find that your specific travel blog is better configured for a push or a pull with a little experimentation. Experimentation that should take place on the weekend or other dead times because either way you go, DNS changes are going to make the first 48 hours messy.
[server photo by orangebrompton, push button by Steve Snodgrass, globe photo by fsse8info]