Varnish performance tips on linux

Audun Ytterdal ay at vg.no
Tue Apr 29 17:52:31 CEST 2008


Audun Ytterdal wrote:

> > It's a bit tricky tosolve this, but we have some options.
> > The first one is to enable object grace period, this allows
> > varnish to serve stale, but cacheable object to clients while
> > it retrives a new object from the backend.
> >
> > set obj.grace = 30s;
> >
> > at the top of both vcl_recv and vcl_fetch
> >
>   
A bit too quick here.

in vcl_recv:
"set req.grace = 30s;"

in vcl_fetch:
"set obj.grace = 30s;"

 :-) 

--
Audun




*****************************************************************
Denne fotnoten bekrefter at denne e-postmeldingen ble
skannet av MailSweeper og funnet fri for virus.
*****************************************************************
This footnote confirms that this email message has been 
swept by MailSweeper for the presence of computer viruses.
*****************************************************************




More information about the varnish-misc mailing list