You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by GitBox <gi...@apache.org> on 2021/09/09 16:21:41 UTC

[GitHub] [pinot] mcvsubbu commented on issue #7414: Tracing should not rely on the system clock

mcvsubbu commented on issue #7414:
URL: https://github.com/apache/pinot/issues/7414#issuecomment-916248377


   I had the same thought as well, way early on in Pinot development.  However, when Adwait (a former pinot team member) and I researched a bit, we came across some articles that effectively said `System.currentTimeMillis()` was more efficient than nanos. I remember I was surprised because I thought getting nanos would be far cheaper, usually a relative clock that does not reach across cpus.  Perhaps the performance penalty is platform dependent, I am not sure.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org