varnish reduces hit rate
Joydeep Bakshi
joydeep.bakshi at netzrezepte.de
Wed Apr 23 15:40:32 CEST 2014
Thanks for your TTL related suggestion. I have gone through the
documentation and add following for TTL
[.....]
import std; # needed for std.log
sub vcl_fetch {
if (beresp.ttl < 120s) {
std.log("Adjusting TTL");
set beresp.ttl = 120s;
}
}
[...]
and found improvement in hit rates
Hitrate ratio: 10 19 19Hitrate avg: 0.9998 0.9997
0.9997
45101 0.00 26.56 client_conn - Client connections
accepted
45101 0.00 26.56 client_req - Client requests received
45005 0.00 26.50 cache_hit - Cache hits
40 0.00 0.02 cache_hitpass - Cache hits for pass
56 0.00 0.03 cache_miss - Cache misses
59 0.00 0.03 backend_conn - Backend conn. success
37 0.00 0.02 backend_reuse - Backend conn. reuses
15 0.00 0.01 backend_toolate - Backend conn. was
closed
53 0.00 0.03 backend_recycle - Backend conn.
recycles
wonder if there is any other option for improvements. Any opinion /
suggestion is very much welcome.
many many thanks
On Wed, Apr 23, 2014 at 3:44 PM, Joydeep Bakshi <
joydeep.bakshi at netzrezepte.de> wrote:
> ok, thanks
>
>
> On Wed, Apr 23, 2014 at 3:37 PM, Guillaume Quintard <
> guillaume.quintard at smartjog.com> wrote:
>
>> On 04/23/2014 11:55 AM, Joydeep Bakshi wrote:
>>
>> Since I am completely new to varnish, may I request to share the
>> knowledge doing this ?
>>
>> I recommend reading the documentation first, alot of your answers are in
>> them.
>>
>> --
>> Guillaume Quintard
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20140423/7ad8d41f/attachment.html>
More information about the varnish-misc
mailing list