I am using flake-idgen in a distributed environment and am seeing duplicate Id errors on a the primary Id field under the circumstances below during K6 load testing (50 Vus):
2+ replicates of Id service
Datacenter = 0
Worker = 1,2,3,n
The issue does not exist when I run a single instance of the Id generation service (datacenter = 0, worker = 0). Based on observation, the Duplicate collisions are being produces by different instances of the service initialized with a different worker Id.
I'll attempt incrementing both datacenter and worker and leave a comment on the results.
I am using flake-idgen in a distributed environment and am seeing duplicate Id errors on a the primary Id field under the circumstances below during K6 load testing (50 Vus):
2+ replicates of Id service Datacenter = 0 Worker = 1,2,3,n
The issue does not exist when I run a single instance of the Id generation service (datacenter = 0, worker = 0). Based on observation, the Duplicate collisions are being produces by different instances of the service initialized with a different worker Id.
I'll attempt incrementing both datacenter and worker and leave a comment on the results.