4 ms·
Also see... Simpleflake (like Snowflake, but uses a random number in place of the coordinated worker ID and sequence number): http://engineering.custommade.com
by espeed 12y ago
Also see...
Simpleflake (like Snowflake, but uses a random number in place of the coordinated worker ID and sequence number): http://engineering.custommade.com/simpleflake-distributed-id-generation-for-the-lazy/ http://engineering.custommade.com/simpleflake-distributed-id...
"How to Generate a Sequence of Unique Random Integers", which uses prime number quadratic resides: http://preshing.com/20121224/how-to-generate-a-sequence-of-unique-random-integers/ http://preshing.com/20121224/how-to-generate-a-sequence-of-u...