Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-3046

Stout's UUID re-seeds a new random generator during each call to UUID::random.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.24.2, 0.25.0
    • Component/s: stout
    • Labels:
    • Target Version/s:
    • Story Points:
      3

      Description

      Per Stephan Erb and Kevin Sweeney'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.

        Attachments

        1. tl.cpp
          0.4 kB
          Klaus Ma

          Activity

            People

            • Assignee:
              klaus1982 Klaus Ma
              Reporter:
              bmahler Benjamin Mahler
              Shepherd:
              Benjamin Mahler
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: