flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FLINK-9090) Replace UUID.randomUUID with deterministic PRNG
Date Mon, 26 Mar 2018 22:29:00 GMT
Ted Yu created FLINK-9090:
-----------------------------

             Summary: Replace UUID.randomUUID with deterministic PRNG
                 Key: FLINK-9090
                 URL: https://issues.apache.org/jira/browse/FLINK-9090
             Project: Flink
          Issue Type: Improvement
            Reporter: Ted Yu


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)

Mime
View raw message