On Aug 18, 2024, at 6:20 AM, kant kodali <kant...@gmail.com> wrote:
Hi All,
I have three processes that can run either on the same machine or across different machines, and each process needs to generate a sequence of random numbers over time. What would be the best approach to generate these numbers (which can be of type int, uint, or bigint) so that the sum of the numbers in the sequence from each individual process is highly unlikely to be equal to the sum from any other process, while also ensuring that when the sums are compared at any given time, each process has an equal chance of having the highest sumThanks!
--
You received this message because you are subscribed to the Google Groups "golang-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-dev+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/golang-dev/CA%2BiiNx-PqXQmDgCecuipjj8VRAB5kqYbMLC3y4c0eSwVPWCa%3Dw%40mail.gmail.com.
On Aug 18, 2024, at 6:51 AM, Robert Engels <ren...@ix.netcom.com> wrote:
On Aug 18, 2024, at 7:31 AM, Robert Engels <ren...@ix.netcom.com> wrote:
On Aug 18, 2024, at 2:08 PM, kant kodali <kant...@gmail.com> wrote:
On Aug 18, 2024, at 3:19 PM, kant kodali <kant...@gmail.com> wrote:
Why not just generate random bits and interpret as a uint64 or larger and he done?
On Aug 27, 2024, at 10:38 PM, Jason E. Aten <j.e....@gmail.com> wrote:
--
You received this message because you are subscribed to the Google Groups "golang-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-dev+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/golang-dev/2804090f-5fa0-48fe-8a08-f01eede8b880n%40googlegroups.com.