lundi 28 février 2022

Generating random numbers on different servers at the same time and have it be reasonably even

I have a Python script that runs on all of my servers at the same time via cron. I would like to have a fairly even distribution of random numbers across all servers. Clearly, if it is based on timestamp then it probably won't be as evenly distributed as I would like. Server name? IP? PID?

My research has found nothing on this subject.




Aucun commentaire:

Enregistrer un commentaire