<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">I think that this discussion touches on another question - are millisecond timings </div><div class="">still sufficient when monitoring web applications? </div><div class=""><br class=""></div><div class="">I think that in 2017, with the astounding increases in processing power we </div><div class="">have seen in the last decade, millisecond timings are too imprecise. The cost</div><div class="">of capturing a timestamp in Linux on recent hardware is about 30 nanos, and</div><div class="">the precision of such a timestamp is also around 30 nanos. I think that there </div><div class="">is a good argument to be made for exposing timestamps at the maximum level</div><div class=""> of precison possible, rather than hiding what could be useful diagnostic data.</div><div class=""><br class=""></div><div class="">Are there any lans within nginx to report higher resolution timings?</div><div class=""><br class=""></div><div class="">Peter</div><div class=""><br class=""></div><br class=""><div><blockquote type="cite" class=""><div class="">On Oct 29, 2017, at 9:35 AM, yang chen <<a href="mailto:shanchuan04@gmail.com" class="">shanchuan04@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><span style="background-color:rgb(255,255,255)" class=""><font class="">Thanks for your reply</font></span><span style="font-size:14px" class="">, why </span><span style="font-size:14px" class="">calling the ngx_event_expire_timers is unnecessary when </span><span style="font-size:14px" class="">ngx_process_events handler returns so quickly that the</span><br style="font-size:14px" class=""><span style="font-size:14px" class="">millisecond precision is not enough to display the calling time(less than</span><br style="font-size:14px" class=""><span style="font-size:14px" class="">1ms maybe).</span><br style="font-size:14px" class=""><br class=""><div class=""><span style="font-size:14px" class="">ngx_process_events handler returns quickly which doesn't mean ngx_event_process_posted return quickly, maybe it excute for 2 ms or more</span></div></div>
_______________________________________________<br class="">nginx mailing list<br class=""><a href="mailto:nginx@nginx.org" class="">nginx@nginx.org</a><br class="">http://mailman.nginx.org/mailman/listinfo/nginx</div></blockquote></div><br class=""></body></html>