I need to be able to produce random longs using Java SecureRandom
in an application running on Google Kubernetes Engine. The rate may vary based on day and time, perhaps from as low as 1 per minute to as high as 20 per second.
To assist RNG, we would install either haveged
or rng-tools
in the container.
Will GKE be capable of supporting this scenario with high-quality random distribution of longs without blocking? Which of haveged
or rng-tools
is more capable for this scenario?
I asked a related question here but didn't get a satisfactory answer: Allocating datastore id using PRNG
Aucun commentaire:
Enregistrer un commentaire