[Varnish] #1180: Restart in vcl_miss increases miss count even for hits and passes.

Varnish varnish-bugs at varnish-cache.org
Wed Aug 1 02:03:07 CEST 2012


#1180: Restart in vcl_miss increases miss count even for hits and passes.
--------------------+----------------------
 Reporter:  david   |       Owner:
     Type:  defect  |      Status:  closed
 Priority:  normal  |   Milestone:
Component:  build   |     Version:  3.0.2
 Severity:  normal  |  Resolution:  invalid
 Keywords:          |
--------------------+----------------------

Comment (by david):

 This behavior makes it basically impossible to determine your actual
 request cache hit/miss ratio. I understand the logic behind the
 behavior, but I think it's nearly useless in any real-world scenario.
 Because of this behavior I cannot implement the VCL I provided here
 because of the "invalid" hit ratio numbers I get from varnishstat. The
 whole point of this VCL is to increase my hit ratio by serving banned
 users a cached "you're banned" page. Instead of increasing the hit ratio,
 it was dropped to 1/10th of what it was.

 If you intend to keep this behavior, I'm done complaining, but I at
 least think changing this is worth considering and discussing. If an
 upcoming version has a way to check two hashes in one request without
 restarting then I can certainly wait for that.

 Regards,
 -david

-- 
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1180#comment:3>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator




More information about the varnish-bugs mailing list