Skip to content
New issue

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

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

Already on GitHub? # to your account

Observing Duplicate Ids during load tests #15

Open
austinkloske22 opened this issue Oct 31, 2023 · 2 comments
Open

Observing Duplicate Ids during load tests #15

austinkloske22 opened this issue Oct 31, 2023 · 2 comments

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?

@madiedinro
Copy link

Aloha! Show how you convert Buffer to UO_c954169934325d1054c6a6698

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

No branches or pull requests

3 participants