Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Varnish: Misc

Deliver while caching

 

 

Varnish misc RSS feed   Index | Next | Previous | View Threaded


abraham.sustaita at buscacorp

Aug 14, 2012, 11:55 AM

Post #1 of 14 (550 views)
Permalink
Deliver while caching

We need to serve videos from varnish, but the problem is that it deliver
the file untill it finish caching it, so if the file weight 500Mb, the
client will have to wait around 1 minute in order to varnish to cached it,
and then varnish will start the deliver to the client.

Is there any way to deliver the file while it is being cached?


roberto.fernandezcrisial at gmail

Aug 14, 2012, 12:00 PM

Post #2 of 14 (542 views)
Permalink
Re: Deliver while caching [In reply to]

Try the latest Varnish version, it has streaming support ;)

Best,
Roberto
@rofc

On Tue, Aug 14, 2012 at 3:55 PM, Abraham Cruz Sustaita <
abraham.sustaita [at] buscacorp> wrote:

> We need to serve videos from varnish, but the problem is that it deliver
> the file untill it finish caching it, so if the file weight 500Mb, the
> client will have to wait around 1 minute in order to varnish to cached it,
> and then varnish will start the deliver to the client.
>
> Is there any way to deliver the file while it is being cached?
>
> _______________________________________________
> varnish-misc mailing list
> varnish-misc [at] varnish-cache
> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
>


me at ibotty

Aug 14, 2012, 12:01 PM

Post #3 of 14 (546 views)
Permalink
Re: Deliver while caching [In reply to]

hi,

> Is there any way to deliver the file while it is being cached?

you can use return(pipe) for these requests (if you can deduce from the
url what they are). that should work. i do not know, whether there are
better ways.

regards,
tobias florek

_______________________________________________
varnish-misc mailing list
varnish-misc [at] varnish-cache
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc


abraham.sustaita at buscacorp

Aug 14, 2012, 12:03 PM

Post #4 of 14 (544 views)
Permalink
Re: Deliver while caching [In reply to]

I have varnish 3.

me [at] ibotty suggest me to use return (pipe). That is the way to stream
the content?


2012/8/14 Roberto O. Fernández Crisial <roberto.fernandezcrisial [at] gmail>

> Try the latest Varnish version, it has streaming support ;)
>
> Best,
> Roberto
> @rofc
>
> On Tue, Aug 14, 2012 at 3:55 PM, Abraham Cruz Sustaita <
> abraham.sustaita [at] buscacorp> wrote:
>
>> We need to serve videos from varnish, but the problem is that it deliver
>> the file untill it finish caching it, so if the file weight 500Mb, the
>> client will have to wait around 1 minute in order to varnish to cached it,
>> and then varnish will start the deliver to the client.
>>
>> Is there any way to deliver the file while it is being cached?
>>
>> _______________________________________________
>> varnish-misc mailing list
>> varnish-misc [at] varnish-cache
>> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
>>
>
>


apj at mutt

Aug 14, 2012, 12:21 PM

Post #5 of 14 (537 views)
Permalink
Re: Deliver while caching [In reply to]

On Tue, Aug 14, 2012 at 04:00:31PM -0300, Roberto O. Fernández Crisial wrote:

> Try the latest Varnish version, it has streaming support ;)

There's a branch with streaming support. The standard 3.0.2 release does not
contain those patches. See
https://www.varnish-software.com/blog/http-streaming-varnish for more info.

--
Andreas

_______________________________________________
varnish-misc mailing list
varnish-misc [at] varnish-cache
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc


me at ibotty

Aug 14, 2012, 12:28 PM

Post #6 of 14 (534 views)
Permalink
Re: Deliver while caching [In reply to]

> There's a branch with streaming support. The standard 3.0.2 release does not
> contain those patches. See
> https://www.varnish-software.com/blog/http-streaming-varnish for more info.

which is out of date. (3.0.2 does not contain streaming support)

_______________________________________________
varnish-misc mailing list
varnish-misc [at] varnish-cache
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc


abraham.sustaita at buscacorp

Aug 14, 2012, 12:46 PM

Post #7 of 14 (537 views)
Permalink
Re: Deliver while caching [In reply to]

If I used pipe, the content is not cached, am I right?

2012/8/14 <me [at] ibotty>

> > There's a branch with streaming support. The standard 3.0.2 release does
> not
> > contain those patches. See
> > https://www.varnish-software.com/blog/http-streaming-varnish for more
> info.
>
> which is out of date. (3.0.2 does not contain streaming support)
>
> _______________________________________________
> varnish-misc mailing list
> varnish-misc [at] varnish-cache
> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
>


me at ibotty

Aug 14, 2012, 12:48 PM

Post #8 of 14 (536 views)
Permalink
Re: Deliver while caching [In reply to]

> If I used pipe, the content is not cached, am I right?

yes


_______________________________________________
varnish-misc mailing list
varnish-misc [at] varnish-cache
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc


abraham.sustaita at buscacorp

Aug 14, 2012, 12:49 PM

Post #9 of 14 (535 views)
Permalink
Re: Deliver while caching [In reply to]

So then, there is no way I can do what I want? Deliver while caching and
keep that in cache?

Abraham Cruz Sustaita

Leader Development

Mail: abraham.sustaita [at] buscacorp
Ph: +52 (664) 200.2213
F: +52 (664) 200.2234
M: +52 (664) 123.0312
Calle Brasil No. 8471. Col. Juárez, Tijuana Baja California, CP 22040

BuscaCorp.com <http://www.buscacorp.com/> |
LevelUp.com<http://www.levelup.com/>
| MetaTube.com <http://www.metatube.com/> |
SanDiegoRed.com<http://www.sandiegored.com/>
| Tarreo.com <http://www.tarreo.com/>

This e-mail message is intended only for the personal use of the
recipient(s) named above. This message may be an attorney-client
communication and as such privileged and confidential. If you are not an
intended recipient,you may not review, copy or distribute this message. If
you have received this communication in error, please notify us immediately
by e-mail and delete the original message.


Este mensaje es para uso personal de(los) destinatario(s) a cuyos nombres
se dirige. Este mensaje puede ser comunicación abogado-cliente y por tanto
es privilegiado y confidencial. Si usted no es la persona a quien se
intentó enviar este mensaje, no debe revisarlo, copiarlo o distribuirlo en
forma alguna. Si ha recibido este mensaje por error, por favor notifíquelo
inmediatamente por email y destruya el mensaje original.



2012/8/14 <me [at] ibotty>

> > If I used pipe, the content is not cached, am I right?
>
> yes
>
>


apj at mutt

Aug 14, 2012, 12:50 PM

Post #10 of 14 (534 views)
Permalink
Re: Deliver while caching [In reply to]

On Tue, Aug 14, 2012 at 09:28:26PM +0200, me [at] ibotty wrote:

> > There's a branch with streaming support. The standard 3.0.2 release does not
> > contain those patches. See
> > https://www.varnish-software.com/blog/http-streaming-varnish for more info.
>
> which is out of date. (3.0.2 does not contain streaming support)

No it's not. It talks about limited streaming support in 3.0.2: only one client
can stream an object. But 3.0.2s (note the s, denoting a streaming release) is
a release of the streaming branch, which supports more than one client.

--
Andreas

_______________________________________________
varnish-misc mailing list
varnish-misc [at] varnish-cache
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc


perbu at varnish-software

Aug 16, 2012, 12:10 AM

Post #11 of 14 (499 views)
Permalink
Re: Deliver while caching [In reply to]

On Tue, Aug 14, 2012 at 9:28 PM, <me [at] ibotty> wrote:

> > There's a branch with streaming support. The standard 3.0.2 release does
> not
> > contain those patches. See
> > https://www.varnish-software.com/blog/http-streaming-varnish for more
> info.
>
> which is out of date. (3.0.2 does not contain streaming support)
>

The post doesn't say so. It only states that the code will be merged with
the 3.0 branch. The result is in the 3.0.2s release.

--
Per Buer
Phone: +47 21 98 92 61 / Mobile: +47 958 39 117 / Skype: per.buer
*Varnish makes websites fly!*
Whitepapers <http://www.varnish-software.com/whitepapers> |
Video<http://www.youtube.com/watch?v=x7t2Sp174eI> |
Twitter <https://twitter.com/varnishsoftware>


perbu at varnish-software

Aug 16, 2012, 12:12 AM

Post #12 of 14 (499 views)
Permalink
Re: Deliver while caching [In reply to]

On Tue, Aug 14, 2012 at 9:49 PM, Abraham Cruz Sustaita <
abraham.sustaita [at] buscacorp> wrote:

> So then, there is no way I can do what I want? Deliver while caching and
> keep that in cache?
>

Use the 3.0.2s release. repo.varnish-cache.org/test/ has some packages.

--
Per Buer
Phone: +47 21 98 92 61 / Mobile: +47 958 39 117 / Skype: per.buer
*Varnish makes websites fly!*
Whitepapers <http://www.varnish-software.com/whitepapers> |
Video<http://www.youtube.com/watch?v=x7t2Sp174eI> |
Twitter <https://twitter.com/varnishsoftware>


abraham.sustaita at buscacorp

Aug 16, 2012, 12:18 AM

Post #13 of 14 (501 views)
Permalink
Re: Deliver while caching [In reply to]

Is it compatible with Scientific Linux?

2012/8/16 Per Buer <perbu [at] varnish-software>

> On Tue, Aug 14, 2012 at 9:49 PM, Abraham Cruz Sustaita <
> abraham.sustaita [at] buscacorp> wrote:
>
>> So then, there is no way I can do what I want? Deliver while caching and
>> keep that in cache?
>>
>
> Use the 3.0.2s release. repo.varnish-cache.org/test/ has some packages.
>
> --
> Per Buer
> Phone: +47 21 98 92 61 / Mobile: +47 958 39 117 / Skype: per.buer
> *Varnish makes websites fly!*
> Whitepapers <http://www.varnish-software.com/whitepapers> | Video<http://www.youtube.com/watch?v=x7t2Sp174eI> |
> Twitter <https://twitter.com/varnishsoftware>
>
>
>


perbu at varnish-software

Aug 16, 2012, 12:38 AM

Post #14 of 14 (498 views)
Permalink
Re: Deliver while caching [In reply to]

On Thu, Aug 16, 2012 at 9:18 AM, Abraham Cruz Sustaita <
abraham.sustaita [at] buscacorp> wrote:

> Is it compatible with Scientific Linux?



Seriously, please take the effort to quote properly. Outlook-style quoting
doesn't really work well in a thread with multiple issue. Also; yes.

--
Per Buer
Phone: +47 21 98 92 61 / Mobile: +47 958 39 117 / Skype: per.buer
*Varnish makes websites fly!*
Whitepapers <http://www.varnish-software.com/whitepapers> |
Video<http://www.youtube.com/watch?v=x7t2Sp174eI> |
Twitter <https://twitter.com/varnishsoftware>

Varnish misc RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.