Re: Report of number of stale objects

From: Alex Rousskov (rousskov@measurement-factory.com)
Date: Thu Apr 18 2002 - 10:43:57 MDT


On Thu, 18 Apr 2002, Nguyen Thi Le Chau wrote:

> I found in the mail archives that Polygraph could report the
> number of stale objects delivered by the cache, but I couldn't
> find in the polygraph documentation how to do that. Could you
> please show me ? How should I have to configure my test scripts to
> get this figure ?

When a Polygraph robot detects a stale response, it emits a "stale
object" error. These errors are counted, logged, and can later be
rendered by Report Generator or other log analyzer (just like any
other error detected by Polygraph).

Thus, one can determine the number of stale objects by looking at the
number of the "stale object" errors. No special test configuration is
required.

FYI, here are the exact conditions under which the response is
considered stale by Polygraph (see CltXact::checkFreshness method):
        - the response has a Date: header field (DATE) and
        - the object has a known last modification time (LMT) and
        - the request was sent no later than LMT and
        - DATE is less than LMT

See Object Life Cycle model for details about last modification times
and other related properties. Note that "known last modification time"
does not mean "has Last-Modified header field".
        http://www.web-polygraph.org/docs/reference/models/objlife.html

Alex.

        



This archive was generated by hypermail 2b29 : Mon Feb 06 2006 - 12:00:22 MST