Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What are the advantages and disadvantages of using a content delivery network (CDN)? [closed]

Tags:

cdn

I was going through Best Practices for Speeding Up Your Web Site from developer site of Yahoo...

  • What are the advantages and disadvantages of using a content delivery network (CDN)?

  • When to use a CDN?

  • Is a CDN a performance booster?

like image 380
ACP Avatar asked Jan 27 '10 07:01

ACP


People also ask

Which of the following is a disadvantage of a content delivery network?

The main disadvantages of using a content delivery network are: Content delivery networks cost additional money. Adds complexity to your website and deployment procedures. Customers may have network filters that block some Content delivery networks and prevent your content from being loaded.

What is a CDN and advantages of CDN?

A CDN can ensure that a network has a high data threshold. A large number of users can thus access the network at the same time without delays. By enabling a high traffic flow, CDN allows people from all over the world to access your website simultaneously.


2 Answers

What are the advantages and disadvantages of using a content delivery network (CDN)?

  • The disadvantages may be that it costs money, and it adds a bit of complexity to your deployment procedures.

  • The main advantage is an increase in the speed with which the content is delivered to the users.

When to use a CDN?

  • It will be most effective when you have a popular public website with some type of static content (images, scripts, CSS, etc.).

Is a CDN a performance booster?

  • In general, yes. When a specific request is made by a user, the server closest to that user (in terms of the minimum number of nodes between the server and the user) is dynamically determined. This optimizes the speed with which the content is delivered to that user.
like image 108
Daniel Vassallo Avatar answered Sep 18 '22 05:09

Daniel Vassallo


One other item to consider (that has recently been thrust upon us): Your clients may block the CDN! I'm using Microsoft's CDN for jQuery and last fall we chnaged from the microsoft.com host name to ajax.aspnetcdn.com (to avoid the unneeded cookies when downloading jQuery). Since then we have had several customers with network filters that blocked aspnetcdn.com and had to manually whitelist it.

We will continue to use the CDN, but it opened our eyes to yet another problem it could cause.

like image 39
n8wrl Avatar answered Sep 22 '22 05:09

n8wrl