flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "mingleizhang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-7139) Refine currentTimeMillis to nanoTime
Date Sat, 08 Jul 2017 10:57:02 GMT

    [ https://issues.apache.org/jira/browse/FLINK-7139?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16079084#comment-16079084
] 

mingleizhang commented on FLINK-7139:
-------------------------------------

Hello, [~Zentol] What do you think ?

> Refine currentTimeMillis to nanoTime
> ------------------------------------
>
>                 Key: FLINK-7139
>                 URL: https://issues.apache.org/jira/browse/FLINK-7139
>             Project: Flink
>          Issue Type: Improvement
>          Components: Local Runtime
>            Reporter: mingleizhang
>            Assignee: mingleizhang
>            Priority: Minor
>
> When measuring intervals of time it's much better & safer to use {{System.nanoTime()}}
than {{System.currentTimeMillis()}}. The latter is affected by system clock drift and adjustments
(like by system time daemon) and the former is much more precise and stable.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message