Welcome! Log In Create A New Profile

Advanced

Re: Serving static file dynamically ...

Brice Leroy
March 24, 2009 06:17PM
On Mar 24, 2009, at 2:56 PM, Michael Shadle wrote:

> Tue, Mar 24, 2009 at 2:35 PM, Brice Leroy <bbrriiccee@gmail.com>
> wrote:
>
>> How can the filesystem can be slower than DB to serve huge video
>> files ?
>> That's completely on the opposite to my culture ! Can you explain
>> me how
>> this is possible ?
>> My situation will be serving thousand(maybe more later) of
>> different big
>> files(between 200MB and 4GB) to different users.
>
> i'm not saying faster or slower. i'm just saying that if the files are
> on the filesystem, then blob streaming doesn't make sense, unless he
> wants to load his files into the blob streaming db.
>
> if the files are in a database, then it does. unless i'm missing the
> fact that blob streaming does not require the database-backing like a
> normal mysql installation type blob column thing.
>
> he has a few options
>
> 1) do nothing, serve from filesystem (i don't think this will work
> for him)
> 2) use a script wrapper which means it will keep the script open
> spooling the file out
> 3) use a script wrapper with x-accel-redirect (my choice for file-
> based)

I was thinking this way too. I will choose this option ;).
Thanks a lot, this x-accel-redirect is just amazing !

- Brice

>
> 4) load them into a db and look at blob streaming
>
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: 156
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