up vote 2 down vote favorite
5
share [g+] share [fb]

Hey all, I am looking for a CDN service that is able to update the end point files on demand via API in max time of 10 min. or an expiration time for the files that is 10 min or less.

In addition the CDN must have an option to upload files via API (working with PHP in my project).

thanks in advance michael D

link|improve this question
Product and service recommendations are specifically off topic for ServerFault (see point 4 in the NOT About section of the FAQ) – sysadmin1138 Jan 5 at 3:34
feedback

closed as off topic by sysadmin1138 Jan 5 at 3:34

Questions on Server Fault are expected to generally relate to servers, networking, or desktop infrastructure, within the scope defined in the faq.

7 Answers

Amazon Cloudfront, like other Amazon AWS offerings, s very API driven and is backed off Amazon S3 (which is also very API driven). To add new items to the CDN you just need to upload the file to S3 and then make a few more API calls to register the content in the CDN.

I haven't used it as yet for a project, but we have looked at it a couple of times (so far we haven't decided that we need a CDN).

One this to note, it does appear that Cloudfront dynamically caches items on the edge nodes. So the item is not there until it is requested, and it may be purged if the cache decides (but it will be repopulated if requested again). So i'm not sure how that will fit with your requirements.

Update: I have just found this post on ServerFault that indicates that items are cached at the edge for 24 hours (so 24hrs before an object expires and it will check for a new object). Apparently Amazons recomendation is to version the name of the objects to avoid the cache expiry problem.

link|improve this answer
i checked amazon cloudfront via the API i was able to get to an hour TTL but its too much. 10x – user17131 Aug 19 '09 at 11:06
I suspected that may be the case, but thought I would raise it anyway. I have found the utility model very useful for small-medium setups (particularly during the early startup stages). – Sam Aug 19 '09 at 12:52
Be aware that Amazon not only charge you for bandwidth but also for request that you make, which make turn out to be a lot, if you have a busy site. – alfish May 11 '11 at 4:16
feedback

I have been recently looking for a CDN solution very similar to yours. You can read about it here.

And finally I've chosen Softlayer.com origin pull method. It allows you to purge cache through API command.

link|improve this answer
feedback

Also check out http://simplecdn.com/

link|improve this answer
feedback

This helped me make a decision: http://ryankearney.com/2009/12/comparing-cdn-performance-part-2/ I'm currently using simplecdn because it's cheap and gogrid (beta).

link|improve this answer
That link didn't work for me, try this instead: blog.ryankearney.com/2009/12/comparing-cdn-performance-part-2 – Cebjyre Feb 12 '10 at 0:17
feedback

Softlayer.com using Internap CDN

link|improve this answer
feedback

I found a a site that does a performance test of dozens of CDNs. Might be helpful:

http://cloudharmony.com/speedtest/run

link|improve this answer
feedback