Varnish and mp3 streaming on demand

Poul-Henning Kamp phk at phk.freebsd.dk
Fri Feb 13 11:30:52 CET 2009


In message <loom.20090213T100923-843 at post.gmane.org>, Ole Laursen writes:
>Poul-Henning Kamp <phk at ...> writes:
>
>> This is necessary to be able to decide, per object, if it should be
>> stored in temporary (malloc) or persistent (disk) storage.
>> 
>> With some extra work, this will allow pass to become streaming.
>
>Right now pass in vcl_recv is streaming, right?
>You're only talking about if the
>object is entered into the cache? Or both cases?

No, we never stream pass, the current design is aimed at freeing
up the backend as fast as possible, and we only start to transmit
the object to the client once we have all of it.

This is the same for both caching and passing.

pipe is, by nature of how it works, streaming.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.



More information about the varnish-misc mailing list