varnish reduces hit rate

Joydeep Bakshi joydeep.bakshi at netzrezepte.de
Wed Apr 23 10:30:55 CEST 2014


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



On Wed, Apr 23, 2014 at 1:49 PM, Guillaume Quintard <
guillaume.quintard at smartjog.com> wrote:

>  On 04/23/2014 10:13 AM, Joydeep Bakshi wrote:
>
> Dear list,
>
>  When use nginx+apache the web hit rates maximize dramatically. But when
> introduce varnish in between as nginx->varnish->apache the hit rates reduce.
> How to optimize varnish to get higher hit rates ?
>
>
> Did you give the same storage space to varnish as you did to nginx?
> This can be of interest:
> https://www.varnish-cache.org/docs/3.0/tutorial/increasing_your_hitrate.html
>
> --
> Guillaume Quintard
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20140423/47e7ba06/attachment.html>


More information about the varnish-misc mailing list