Re: Could polygraph give us the hit ratio of inverse proxy !

Dmitry Kurochkin <dmitry.kurochkin-LbpN3Auhdh+Rtz+nHKFJDvXmoG9oyoYx@public.gmane.org> Fri, 25 Nov 2011 06:42:53 +0400
Newsgroups gmane.comp.web.web-polygraph.user
Message-ID <[email protected]>
Hello.

Polygraph should be able to calculate hit ratio for reverse proxies.

Some things that may be worth checking:

* Verify that Polygraph generates cachable contents.  There should be
  non-zero offered hit ratio.  You can check this in polygraph-lx(1)
  output or HTML report generated by polygraph-reporter(1).

* Verify nginx configuration.  Does it say that there were cache hits in
  logs?  You may want to check that caching works by making few requests
  with curl(1).

* Another easy way to check if there were any hits is to compare the
  number of replies on Polygraph server and client side.  You can do
  this by running polygraph-lx(1) tool on client and server logs:

    $ polygraph-lx --objects rep.rptm.count log-file

  If the numbers from server and client logs are about equal, that would
  means there were no hits.

Regards,
  Dmitry
_______________________________________________
Users mailing list
Users-mN9fGWdlm5pku/f+YMZH/di2O/[email protected]
http://www.web-polygraph.org/mailman/listinfo/users