You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Andrey Zagrebin (Jira)" <ji...@apache.org> on 2020/10/09 09:36:00 UTC

[jira] [Commented] (FLINK-4422) Convert all time interval measurements to System.nanoTime()

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

Andrey Zagrebin commented on FLINK-4422:
----------------------------------------

ok, it looks like we still have someĀ currentTimeMillis usages to measure duration. Hence, this issue stays open with lower priority.

> Convert all time interval measurements to System.nanoTime()
> -----------------------------------------------------------
>
>                 Key: FLINK-4422
>                 URL: https://issues.apache.org/jira/browse/FLINK-4422
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Runtime / Coordination
>            Reporter: Stephan Ewen
>            Assignee: Jin Mingjian
>            Priority: Minor
>
> In contrast to {{System.currentTimeMillis()}}, {{System.nanoTime()}} is monotonous. To measure delays and time intervals, {{System.nanoTime()}} is hence reliable, while {{System.currentTimeMillis()}} is not.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)