Serving static file dynamically ...
bbrriiccee at gmail.com
Tue Mar 24 22:06:00 MSK 2009
Thank you for you advice but I think this solution will not work
for me. As I wrote on my previous email, I'm going to serve HD video
content which is going to be more than 1GB.
All the best,
On Mar 24, 2009, at 11:49 AM, Marcus Clyne wrote:
> If you haven't done so already, have a look at Primebase Media
> Streaming (www.blobstreaming.org).
> It's a MySQL plugin that has a lightweight HTTP server on the front
> of it to serve blobs out of a database.
> I've done some tests on it (up to 2M objects), and the speed was
> comparable in many cases to serving content statically.
> As part of the system, it allows you to provide an alias for your
> blobs, so as to hide any database information.
> Jean-Philippe Moal wrote:
>> Brice Leroy a écrit :
>>> I'm interrested in NGINX to serve static files according to his
>>> performance :p. But I will have to serve big static file (video
>>> in hd) and to protect the access I would like to use a dynamic url
>>> a key inside like:
>>> - http://static/qwertyuiopasdfghjkl which will return the content of
>>> file.mov where the key(qwertyuiopasdfghjkl) is associated with the
>>> in the DB. The user received the content not the file.
>>> So a user can share an URL with his contact and stop sharing it
>>> when he
>>> want (by removing the record in the DB). I will have to serve
>>> of files at the same time and I want to minimize my server farm.
>>> Do you
>>> have any idea ?
>>> Thank you :)
>> You can use X-Accel-Redirect: http://wiki.nginx.org/NginxXSendfile
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the nginx