varnish mp4 streaming

Dridi Boukelmoune dridi.boukelmoune at zenika.com
Tue Jun 10 06:24:13 CEST 2014


Hi,

On Tue, Jun 10, 2014 at 3:07 AM, Hernán Marsili <hernan at cmsmedios.com> wrote:
> Hi,
>
> We are working on a VIDEO SITE for a sports sites. Currently working with
> Varnish 3.0.5. The average video size is 100mb. We have a 4gb malloc
> storage.
>
> Right now, we are handling mp4 as just a regular file. No problems so far. A
> couple of questions:
>
> 1) STREAM. We tried this on the vcl but we don't see much improvement.
> Should we use it anyway?
>
>   if (req.url ~ "\.mp4") {
>
>        set beresp.do_stream = true;
>
>        set beresp.http.X-Cacheable-TTL = "stream";
>
>     }

IIRC do_stream is useful for the client that triggers a refresh in v3.

> 1) VARNISH STREAM BRANCH. We find a all branch of varnish for streaming.
> https://github.com/mbgrydeland/varnish-cache-streaming. Does anyway knows if
> this is now part of Varnish 3.0.5 or Varnish 4?

Varnish 4 has a full streaming support!

Dridi



More information about the varnish-misc mailing list