mesos-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Rojas (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MESOS-3046) Stout's UUID re-seeds a new random generator during each call to UUID::random.
Date Fri, 18 Sep 2015 08:23:04 GMT

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

Alexander Rojas commented on MESOS-3046:
----------------------------------------

[~nekto0n] The fix requires using the boost thread binary library, which is a no-no for Mesos.

> Stout's UUID re-seeds a new random generator during each call to UUID::random.
> ------------------------------------------------------------------------------
>
>                 Key: MESOS-3046
>                 URL: https://issues.apache.org/jira/browse/MESOS-3046
>             Project: Mesos
>          Issue Type: Bug
>          Components: stout
>            Reporter: Benjamin Mahler
>            Assignee: Klaus Ma
>              Labels: newbie, twitter
>             Fix For: 0.25.0
>
>         Attachments: tl.cpp
>
>
> Per [~StephanErb] and [~kevints]'s observations on MESOS-2940, stout's UUID abstraction
is re-seeding the random generator during each call to {{UUID::random()}}, which is really
expensive.
> This is confirmed in the perf graph from MESOS-2940.



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

Mime
View raw message