You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Greg Hogan (JIRA)" <ji...@apache.org> on 2018/03/27 18:31:00 UTC
[jira] [Comment Edited] (FLINK-9090) Replace UUID.randomUUID with
more efficient PRNG
[ https://issues.apache.org/jira/browse/FLINK-9090?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16415910#comment-16415910 ]
Greg Hogan edited comment on FLINK-9090 at 3/27/18 6:30 PM:
------------------------------------------------------------
Why the need to be deterministic (and user configurable?) and where is this called on a hot path?
was (Author: greghogan):
Why the need to be deterministic (and user configurable?) and where is this called on from a hot path?
> Replace UUID.randomUUID with more efficient PRNG
> ------------------------------------------------
>
> Key: FLINK-9090
> URL: https://issues.apache.org/jira/browse/FLINK-9090
> Project: Flink
> Issue Type: Improvement
> Reporter: Ted Yu
> Assignee: Hai Zhou
> Priority: Major
>
> Currently UUID.randomUUID is called in various places in the code base.
> * It is non-deterministic.
> * It uses a single secure random for UUID generation. This uses a single JVM wide lock, and this can lead to lock contention and other performance problems.
> We should move to something that is deterministic by using seeded PRNGs
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)