the most basic config
Sascha Ottolski
ottolski at web.de
Wed Apr 2 09:35:05 CEST 2008
Am Dienstag 01 April 2008 21:15:11 schrieb Sascha Ottolski:
> thanks very much, this was very helpful. now, could anyone give me a
> hint how to interpret the output of varnishhist?
>
> I'm seeing
>
> client_req 15054 123.39 Client requests received
> cache_hit 1632 13.38 Cache hits
> cache_hitpass 0 0.00 Cache hits for pass
> cache_miss 1024 8.39 Cache misses
> backend_req 12347 101.20 Backend requests made
ok, I'm getting a bit futher, without claiming that I understand it
fully. I just took the example of the wiki
backend default {
set backend.host = "192.168.1.2";
set backend.port = "http";
}
sub vcl_recv {
if (req.request == "GET" && req.url ~ "\.(jpg|jpeg|gif|png)$") {
lookup;
}
if (req.request == "HEAD" && req.url ~ "\.(jpg|jpeg|gif|png)$") {
lookup;
}
}
and now I'm seeing as many misses as backend request. I guess now it's
really caching most of what I want.
now, could someone help me interpreting the hitrate ratio and avg?
Hitrate ratio: 10 100 360
Hitrate avg: 0.3366 0.3837 0.4636
Thanks, Sascha (very impressed so far :-))
More information about the varnish-misc
mailing list