$上游响应时间由计算 clock_gettime(CLOCK_MONOTONIC_COARSE) ,默认情况下,它可以在过去4毫秒内,在相反的时间,$request_time由 gettimeofday() 是的。因此,最终上游反应时间可能比反应时间要长。
clock_gettime(CLOCK_MONOTONIC_COARSE)
gettimeofday()
基于 nginx forum thread