3 ms·
If you have different workers to generate ids, give all of them their own ranges in advance. Once a worker used up their range, they can request a new range for
by manx 4y ago
If you have different workers to generate ids, give all of them their own ranges in advance. Once a worker used up their range, they can request a new range for their next N (e.g. 100k) ids.