random number for multi VM's all starting at same time

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • f1wade
    New Member
    • Dec 2006
    • 1

    #1

    random number for multi VM's all starting at same time

    linked to 'Can't get true random numbers'

    but out app is running on multipul VMs and they all start at the same time, so we cannot use time as seed.

    any ideas on how we can get a truly random number?
  • Killer42
    Recognized Expert Expert
    • Oct 2006
    • 8429

    #2
    Have you tried? The "same" time may not be precisely the same when dealing with microseconds.
    Last edited by Killer42; Sep 20 '12, 06:12 AM. Reason: typo

    Comment

    • Rabbit
      Recognized Expert MVP
      • Jan 2007
      • 12517

      #3
      Yeah, it's doubtful all 4 are running in exact synchronization down to the millisecond. Even if they are, in addition to the time, you just need to introduce a new factor into the seed that is unique to each machine, like an IP address or something.

      Comment

      Working...