Current time: 12-15-2019, 04:08 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CDN List - Affordable and Effective CDN Websites
06-23-2010, 08:21 AM
Post: #20
RE: CDN List - Affordable and Effective CDN Websites
(06-23-2010 07:25 AM)green-watch.org Wrote:  Hey there,

I have a few more questions about CDNs, especially maxcdn:

For these questions, let's say you have the user's computer ( A ), the original server ( B ), and the closest edge server ( C ).

1. If A is closer to B than to C, does C let A know to download content from B instead of C even though it might be cached at C?

No, if you are referencing the object from the CDN it can ONLY be served by their edge servers.

(06-23-2010 07:25 AM)green-watch.org Wrote:  2. If the previously answer is no, then I suppose performance gains can be achieved if B takes this into consideration code wise. B would have to take into consideration A's location, and the distance between A and B, and the distance between A and C.

You probably don't want to go there. Figuring out where "A" is is a VERY difficult problem. You WILL get it wrong more often than right.

(06-23-2010 07:25 AM)green-watch.org Wrote:  3. Once content is cached at C, does content get distributed to the other edges servers so it is cached everywhere?

Depends on the CDN but AFAIK, with MaxCDN each edge node is independent and it is cached on first access on each edge node independently.

(06-23-2010 07:25 AM)green-watch.org Wrote:  4. A performance suggestion I found on the internet was to have images1.mydomain.com, images2.mydomain.com, etc to allow parallel downloads. With CDNs, would it be better to have all content going through one subdomain even though it may block parallel downloads? I can see caching to be better if there was just one subdomain. Any thoughts about this?

With MaxCDN, it supports multiple CNAME's per pull zone and the cache will be shared across them - they explicitly support sharding for that reason. Even without that support, as long as you are consistent about which files are served from which sub-domain then it will be cached regardless.

(06-23-2010 07:25 AM)green-watch.org Wrote:  5. Let's say B has a huge resource on C. What stops a user from creating a script to keep redownloading the content to use up bandwidth? I could see this costing the company a lot of money. Is there a way to prevent this from happening?

Nope - you have this same problem with direct hosting if you pay for bandwidth also.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: CDN List - Affordable and Effective CDN Websites - pmeenan - 06-23-2010 08:21 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)