Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add simulated PRNG #16

Open
LucioFranco opened this issue Aug 22, 2022 · 1 comment
Open

Add simulated PRNG #16

LucioFranco opened this issue Aug 22, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@LucioFranco
Copy link
Member

We should support deterministic PRNG for usage for retries, hashmaps, etc. We can accomplish this by providing a deterministic version of RandomState.

@mcches mcches added the enhancement New feature or request label Jan 12, 2023
@mcches
Copy link
Contributor

mcches commented Jul 26, 2023

I'm going to add seeding to each host's runtime. We can also provide access to the root RNG and potentially even a seeded RandomState for access in application software.

https://docs.rs/tokio/latest/tokio/runtime/struct.Builder.html#method.rng_seed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants