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

ASF subversion and git services commented on MARMOTTA-324:
----------------------------------------------------------

Commit 4b8b86802a9814f8cffbb03a5262b00f7a42f9a9 in branch refs/heads/develop 
from [~wastl]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-marmotta.git;h=4b8b868 ]

implemented a collection of different id generators (MARMOTTA-324)


> Create random IDs for database primary keys
> -------------------------------------------
>
>                 Key: MARMOTTA-324
>                 URL: https://issues.apache.org/jira/browse/MARMOTTA-324
>             Project: Marmotta
>          Issue Type: Bug
>          Components: Triple Store
>            Reporter: Sebastian Schaffert
>            Assignee: Sebastian Schaffert
>             Fix For: 3.2
>
>
> The current implementation for generating database keys in the 
> kiwi-triplestore is based on either database sequences (safe method, but 
> slow) or in-memory sequences (fast method, but does not allow concurrent 
> database access). We should also add an implementation that is both fast and 
> reasonably safe by generating random long IDs using a reliable algorithm. For 
> example, we could use UUID.getLeastSignificantBits() to create this ID.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to