Welcome! Log In Create A New Profile

Advanced

CDN questions...

January 07, 2011 08:40PM
At this time we're delivering static content, in particular, audio files ~5K
in size directly through our server, for a number of reasons, we're looking
at moving delivery of these files to a remote storage / CDN facility.

Question re. URL requests for these files. Currently, these file are served
through a request like this: http://www.ourdomain.com/sounds/a/alpha.mp3.
If we switched to a remote storage / CDN solution, the URL of course would
change to something else. There are 2 options ( I think ):

1. Modify the application code to make the the call directly to the new URL.

2. Instruct Nginx through a location clause to redirect such traffic to
another URL, for example:

location /sounds/*.mp3 {
rewrite http://www.cdn.com/$1 ...
}

Is there a preferred way or does it matter? I guess the first option would
probably be preferred as it further reduces the work load done by the
server, even as simple as parsing the URL... Any thoughts / suggestions
would be appreciated.

Also, does anyone have a recommendation / experience with any particular
remote storage / CDN such as Rackspace CloudFile, Amazon S3, Limelight,
CacheFly, etc?

Thanks
_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

CDN questions...

iberkner January 07, 2011 08:40PM

Re: CDN questions...

nicholas.tang@livestream.com January 07, 2011 09:14PM

Re: CDN questions...

iberkner January 07, 2011 09:22PM

Re: CDN questions...

nicholas.tang@livestream.com January 08, 2011 09:16AM

Re: CDN questions...

iberkner January 08, 2011 09:56AM

Re: CDN questions...

Ryan Malayter January 08, 2011 02:40PM

Re: CDN questions...

iberkner January 08, 2011 11:16PM

Re: CDN questions...

Ryan Malayter January 09, 2011 12:40AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 212
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready