Welcome! Log In Create A New Profile

Advanced

Re: Serving static file dynamically ...

Marcus Clyne
March 24, 2009 02:49PM
Brice,

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.

Cheers,

Marcus.


Jean-Philippe Moal wrote:
> Brice Leroy a écrit :
>
>> Hello,
>>
>> I'm interrested in NGINX to serve static files according to his
>> performance :p. But I will have to serve big static file (video content
>> in hd) and to protect the access I would like to use a dynamic url with
>> a key inside like:
>>
>> - http://static/qwertyuiopasdfghjkl which will return the content of
>> file.mov where the key(qwertyuiopasdfghjkl) is associated with the file
>> 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 thousand
>> 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
>
>
>
Subject Author Posted

Serving static file dynamically ...

Brice Leroy March 24, 2009 02:05PM

Re: Serving static file dynamically ...

Jean-Philippe Moal March 24, 2009 02:37PM

Re: Serving static file dynamically ...

Brice Leroy March 24, 2009 02:47PM

Re: Serving static file dynamically ...

Marcus Clyne March 24, 2009 02:49PM

Re: Serving static file dynamically ...

Marcus Clyne March 24, 2009 03:51PM

Re: Serving static file dynamically ...

mike March 24, 2009 04:12PM

Re: Serving static file dynamically ...

Marcus Clyne March 24, 2009 04:55PM

Re: Serving static file dynamically ...

Brice Leroy March 24, 2009 05:35PM

Re: Serving static file dynamically ...

mike March 24, 2009 05:56PM

Re: Serving static file dynamically ...

Brice Leroy March 24, 2009 06:17PM

Re: Serving static file dynamically ...

Marcus Clyne March 25, 2009 02:07PM

Re: Serving static file dynamically ...

Brice Leroy March 25, 2009 02:49PM

Re: Serving static file dynamically ...

Marcus Clyne March 25, 2009 03:34PM

Re: Serving static file dynamically ...

Brice Leroy March 25, 2009 05:28PM

Re: Serving static file dynamically ...

Juan Fco. Giordana March 27, 2009 03:03PM

Re: Serving static file dynamically ...

Yordan Georgiev March 27, 2009 03:26PM

Re: Serving static file dynamically ...

Brice Leroy March 27, 2009 03:39PM

Re: Serving static file dynamically ...

Adam Zell March 25, 2009 03:02PM

Re: Serving static file dynamically ...

Cliff Wells March 24, 2009 04:09PM

Re: Serving static file dynamically ...

Marcus Clyne March 24, 2009 04:50PM

Re: Serving static file dynamically ...

Brice Leroy March 24, 2009 05:41PM

Re: Serving static file dynamically ...

Marcus Clyne March 25, 2009 02:11PM

Re: Serving static file dynamically ...

Brice Leroy March 24, 2009 03:26PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 191
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready