You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by "Joseph Witt (JIRA)" <ji...@apache.org> on 2015/12/18 17:55:46 UTC

[jira] [Commented] (NIFI-1308) Use of UUID.randomUUID is rampant. Is this the best approach?

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

Joseph Witt commented on NIFI-1308:
-----------------------------------

Type1 appears much faster http://commons.apache.org/sandbox/commons-id/uuid.html

http://www.cowtowncoder.com/blog/archives/2010/10/entry_429.html

If we do go this route we should make a UUID factory that can be used all over and is configured based on nifi.properties.  This allows the configurer of NiFi deal with the tradeoff of performance vs security of the mac being in the id.

> Use of UUID.randomUUID is rampant.  Is this the best approach?
> --------------------------------------------------------------
>
>                 Key: NIFI-1308
>                 URL: https://issues.apache.org/jira/browse/NIFI-1308
>             Project: Apache NiFi
>          Issue Type: Improvement
>          Components: Core Framework
>            Reporter: Joseph Witt
>            Priority: Minor
>         Attachments: UUID.random.files.txt
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)