[prev in list] [next in list] [prev in thread] [next in thread]
List: squid-users
Subject: Re: [squid-users] Squid + MySQL ?
From: Chris Robertson <crobertson () gci ! net>
Date: 2009-07-31 23:42:41
Message-ID: 4A738171.6020706 () gci ! net
[Download RAW message or body]
Marcello Romani wrote:
> Il Friday 31 July 2009 17:29:51 Maxime Gaudreault ha scritto:
>
>> After all logs entries are in the database I need to calculate how much
>> bandwidth has been saved by squid. What HTTP Code tells me that the
>> object came from the cache ? Everything with HIT in it ? TCP_HIT,
>> TCP_MEM_HIT, TCP_NEGATIVE_HIT ?
>>
>
> Don't know about NEGATIVE_HIT, but I would add TCP_DENIED to the list.
>
While it is served from the cache, there is no way to calculate
bandwidth savings associated with a TCP_DENIED*. By the same metric,
TCP_NEGATIVE_HIT is served from the cache and has a size associated with
it and seems like a valid bandwidth savings metric to me.
> Just my 2 (euro)cents.
>
Ditto. Except US currency.
> Marcello
>
Chris
* Ostensibly one could determine the size of the denied object to
determine the immediate/minimal bandwidth savings, but that would ignore
the possibility of the denied object referencing CSS, JavaScript,
images, etc. that a browser might further have requested. Further, the
object size would have to be determined out-of-band and (if an accurate
Content-Length header was not provided) might require downloading the
object which would negate the savings. *shrug*
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic