RE: Varnish Cache and Page Load Time

2009-04-24 Thread Sébastien FOUTREL
As you might know, Varnish needs some tuning to cache efficiently your website. In your case, do your cache lasts long enough to stay between 2 visits from you ? Did you made some tuning to exclude some pages, cookies from cache ? By default varnish use cookies as part of the hash so if each vi

Varnish Cache and Page Load Time

2009-04-24 Thread Brian Pan
I have a two websites on a server running behind varnish. One of the websites is a Wordpress blog (with php, mysql etc..). The other is a simple html (without php or mysql) website. Using Firefox's Yslow add-in to check page load times, I have found that the simple html page is served in 0.5 sec

Re: best varnishd config for static files

2009-04-24 Thread Kain Sascha
Thanks a lot for the great Hints. First of all, varnishtop -i TxURL hangs on my system, it shows 3-5 Entries, then freez and uses nearly 100%cpu on one of 8. Have to kill the pid. varnishtop with no args works. System: 2.6.18-6-amd64 #1 SMP Mon Jun 16 22:30:01 UTC 2008 x86_64 GNU/Linux varnish:

Re: best varnishd config for static files

2009-04-24 Thread Kristian Lyngstol
On Fri, Apr 24, 2009 at 01:28:36PM +0200, Kain Sascha wrote: > /usr/local/sbin/varnishd -a :80 -b 89.250.xx.xx:80 -s malloc,15360M You may want to supply a -w. The default is really whimpy which could create problems during spikes of traffic. Try something like -w 400,800. Varnishstat n_wrk_limite

best varnishd config for static files

2009-04-24 Thread Kain Sascha
Hi, we run a big picture portal. We used to cache our files with squid3, but now we want to try varnishd to deliver our static files (jpg css and js). we have 2 varnish servers, caching files from one big static server. The static server doesnt have the fastest hdds. The varnishd Servers have