Interesting. What happens with requests that contain bodies? I.e., is
#2 really the end of the request, or the request headers?
On 26/01/2008, at 11:23 AM, Chris Robertson wrote:
john allspaw wrote:
Hello smart and nice folks:
We have some reverse-proxy caches on the west coast that get hit
quite a bit from across the Pacific, and we
see cache hit times much higher there than in our other
datacenters. I *think* it's because client_http.hit_median_svc_time
might also include transfer time to client ? So to confirm:
1. first byte of request into squid
2. last byte of request into squid
3. squid looks to see if ACLs are ok with servicing the request,
probably some DNS going on here
4. (squid finds that it's a HIT of some kind)
5. first byte of response to client
6. last byte of response to client
does "client_http.hit_median_svc_time" mean the time from #2 thru
#6 ?
Yes. http://www.squid-cache.org/mail-archive/squid-users/200606/0351.html
If it does, then these 'hit' times make sense. if it doesn't, well
then I'm confuzzed. :)
thanks guys,
John Allspaw
Chris
--
Mark Nottingham mnot@xxxxxxxxxxxxx