[Varnish] #1305: Varnish:time_firstbyte and others are misleading

Varnish varnish-bugs at varnish-cache.org
Tue May 14 11:34:28 CEST 2013


#1305: Varnish:time_firstbyte and others are misleading
--------------------------+---------------------------
 Reporter:  JonathanHuot  |       Type:  documentation
   Status:  new           |   Priority:  normal
Milestone:                |  Component:  documentation
  Version:  trunk         |   Severity:  minor
 Keywords:                |
--------------------------+---------------------------
 Timings in varnish are a bit misleading in documentation.
 Since it's important when writing a lot of consuming VCL (e.g. using VMOD)
 I would like to suggest this minor improvement :

 Reading [https://www.varnish-cache.org/trac/wiki/Varnishlog#ReqEnd], we
 understand pretty well that the fifth number is ''from the start of the
 request processing until we start delivering''.

 Then, if we want to print this value in varnishncsa, [https://www.varnish-
 cache.org/docs/trunk/reference/varnishncsa.html?highlight=Varnish:time_firstbyte]
 reference a "firstbyte" ''Time to the first byte from the backend
 arrived'' as the same value as fifth number of ReqEnd.

 What I suggest, is replacing '''time_firstbyte''' by '''time_lastbyte'''
 because we already read the full body from the backend (if streaming ==
 no).

 '''time_lastbyte''' is maybe not very meaningful, feel free to propose
 other names, because I think this name is very important to be understood
 by VMOD developers (and VCL writers).

-- 
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1305>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator




More information about the varnish-bugs mailing list