I am writing a processor intensive application created using Akka 2 Futures. I don’t need actors right now, but I don’t want to use them.
Several calculations in futures very often cause a random generator. I’m afraid that if I used the classic parallel RNG, it would become a strangulation point and I would lose scalability.
What is the fastest / easiest way to create a random event generator in a thread in an ExecutionContext
?
Is there a way to initialize them with another seed (but previously known) to repeat the experiment?
source share