<div dir="ltr">Hey guys,<div><br></div><div> We've setup some monitoring on a staging version of a production web site at work. It looks like we're getting about a .50 (or 50%) hit rate on the staging site. We haven't monitored the production site for varnish hit rates yet. We're using a Nagios check written in perl for that.</div><div><br></div><div>But if it's possible to think of this in general terms, what I'd like to know is if you think that .50 is a respectable hit rate for a php/drupal site that's basically not in production, and the traffic it encounters is synthetic. Basically it's tested out by the developers and load tests are run against it using load generators as you might expect. </div><div><br></div><div>And of course, some of the site content is dynamic and not meant to be cached.</div><div><br></div><div>Here's how it's broken down:</div><div><br></div><div>







<p class=""><span class="">Cache_hit_percent=50.22</span></p>
<p class=""><span class=""></span><br></p>
<p class=""><span class="">cache_hit 222628</span></p>
<p class=""><span class="">cache_miss 220674</span></p>
<p class=""><span class=""></span><br></p>
<p class=""><span class="">Here's we how calculate cache hit percent</span></p>
<p class=""><span class=""></span><br></p>
<p class=""><span class="">cache_hit_percent = ( cache_hit / ( cache_hit + cache_miss ) ) * 100</span></p><p class=""><span class=""><br></span></p><p class=""><span class="">So all I want to know from the more experienced varnish guys is, would you consider this an acceptable cache hit rate given my situation?</span></p><p class=""><span class=""><br></span></p><p class=""><span class="">Thanks</span></p><p class=""><span class="">Tim</span></p><div><br></div>-- <br><div class="gmail_signature">GPG me!!<br><br>gpg --keyserver <a href="http://pool.sks-keyservers.net" target="_blank">pool.sks-keyservers.net</a> --recv-keys F186197B<br><br></div>
</div></div>