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.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.24.2, 0.25.0
    • stout
    • 3

    Description

      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.

      Attachments

        1. tl.cpp
          0.4 kB
          Klaus Ma

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: