varnish reduces hit rate

Guillaume Quintard guillaume.quintard at smartjog.com
Wed Apr 23 10:33:33 CEST 2014


On 04/23/2014 10:30 AM, Joydeep Bakshi wrote:
> sorry but I failed to understand "same storage space".  Even I have
> not done any such configuration tewak.
>
> Though I like to share first few lines of  varnishstat which shows the
> poor cache_hit
>
> 0+00:57:24
> Hitrate ratio:        2        2        2
> Hitrate avg:     0.0149   0.0149   0.0149
>
>        35062         0.00        10.18 client_conn - Client
> connections accepted
>        35062         0.00        10.18 client_req - Client requests
> received
>            2         0.00         0.00 cache_hit - Cache hits
>        34994         0.00        10.16 cache_hitpass - Cache hits for pass
>           66         0.00         0.02 cache_miss - Cache misses
>        34975         0.00        10.16 backend_conn - Backend conn.
> success
>
You have a high hitpass ratio, your backend may not be sending TTL/Age
information, causing varnish to avoid caching.

-- Guillaume Quintard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20140423/32f1a7a1/attachment-0001.html>


More information about the varnish-misc mailing list