Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Observing Duplicate Ids during load tests #15

Open
austinkloske22 opened this issue Oct 31, 2023 · 1 comment
Open

Observing Duplicate Ids during load tests #15

austinkloske22 opened this issue Oct 31, 2023 · 1 comment

Comments

@austinkloske22
Copy link

austinkloske22 commented Oct 31, 2023

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.

Screenshot 2023-10-31 at 1 11 29 PM Screenshot 2023-10-31 at 1 10 21 PM
@O-Connects
Copy link

How are you doing now?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants