nginx flv module and amazon storage

István leccine at gmail.com
Tue Oct 13 00:02:49 MSD 2009


you have understand two things:
-youtube is not a real stream, it is just serving you flv file and that is
it
-real streaming is also possible with flash using it own protocol:
http://en.wikipedia.org/wiki/Real_Time_Messaging_Protocol

Using a CDN and the first case is suitable in the most cases.



2009/10/12 Fernando Flórez <fernando at funciton.com>

> The advantage is that you could do "http streaming" of flv files ala
> youtube.
> Cheers,
>
> El 12/10/2009, a las 12:08, István escribió:
>
> what is the advantage of this over the amazon cdn,
> http://aws.amazon.com/cloudfront/ ?
> now this is really offtopic, we can move to private with this thread
>
> On Mon, Oct 12, 2009 at 12:48 PM, zepolen <zepolen at gmail.com> wrote:
>
>> Why? You use the proxy_store mechanism as a cache - it would only keep
>> the most used videos.
>>
>> In return you save on paying s3 outgoing bandwidth (and your own
>> provider for incoming bandwith). Instead you only pay for your
>> outgoing bandwidth on your local server for the times a cache hits.
>>
>> I don't do this for videos, but for images - instead of serving '000s
>> of tb of data each month from s3, I use my local server which will do
>> the same traffic for a third of the price.
>>
>> On Mon, Oct 12, 2009 at 1:26 PM, István <leccine at gmail.com> wrote:
>> > not rellay a cheap solution :)
>> >
>> > On Mon, Oct 12, 2009 at 11:14 AM, zepolen <zepolen at gmail.com> wrote:
>> >>
>> >> You could use proxy_store to save a local copy to the local drive, and
>> >> serve from nginx after that.
>> >>
>> >> However I am not sure if this would work wrt streaming.
>> >>
>> >>
>> >> On Mon, Oct 12, 2009 at 1:15 AM, Kingsley Foreman
>> >> <kingsley at internode.com.au> wrote:
>> >> > Id also love a module like this.
>> >> >
>> >> > something that converts the start= line it a content range for a
>> >> > proxy_pass
>> >> > and then returns the data as a normal 200 (from the byte range)
>> >> >
>> >> > It would make me a very happy man.
>> >> >
>> >> > Kingsley
>> >> > From: Fernando Flórez
>> >> > Sent: Monday, October 12, 2009 8:31 AM
>> >> > To: nginx at sysoev.ru
>> >> > Subject: Re: nginx flv module and amazon storage
>> >> > I'm talking about S3. I know it works with local files but i was
>> hoping
>> >> > to
>> >> > be wrong :)
>> >> > Thanks!
>> >> >
>> >> > El 11/10/2009, a las 16:23, István escribió:
>> >> >
>> >> > Actually flv module works on local files, while -if you are referring
>> to
>> >> > S3-
>> >> > it is stored remotely.
>> >> > Or, if you are talking about having an EC2 instance using EBS storage
>> it
>> >> > is
>> >> > possible.
>> >> >
>> >> > Regards,
>> >> > Istvan
>> >> >
>> >> > 2009/10/11 Fernando Flórez <fernando at funciton.com>
>> >> >>
>> >> >> Hello,
>> >> >>
>> >> >> Quick question before trying it for myself. Is it possible to use
>> >> >> nginx's
>> >> >> flv module with flv files stores on amazon's storage cloud?
>> >> >>
>> >> >> What i'm trying to achieve is to host the flv files on amazon and
>> serve
>> >> >> the flv files with nginx. Any hints on how to accomplish this?
>> >> >>
>> >> >> Thanks,
>> >> >>
>> >> >
>> >> >
>> >> >
>> >> > --
>> >> > the sun shines for all
>> >> >
>> >> >
>> >>
>> >
>> >
>> >
>> > --
>> > the sun shines for all
>> >
>>
>>
>
>
> --
> the sun shines for all
>
>
>


-- 
the sun shines for all
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20091012/68bdb95e/attachment.html>


More information about the nginx mailing list