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

FEATURE: Randomness Garuentees #22

Open
Parsonswy opened this issue May 4, 2022 · 0 comments
Open

FEATURE: Randomness Garuentees #22

Parsonswy opened this issue May 4, 2022 · 0 comments

Comments

@Parsonswy
Copy link
Contributor

Parsonswy commented May 4, 2022

PKG: model-data-generator

When load testing I was able to consistently get script failures because of UNQ key violations on email columns, though I suspect this is an issue for more than just the email datatype. I was attempting to generate 100,000 users, but was not able to reliably get over 20,000.

I think the value-space for many of the data-generates needs to be widened, and perhaps more stringent checks put in place to ensure that inserted data will be unique. This is especially relevant if the script crashed during a previous populate attempt and there are existing values in the database. The script seems to assume that the database is empty, but if I am trying to generate 10s of thousands of values, I don't want to have to TRUNCATE tables to add more data because it can take several minutes to an hour to do this.

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

1 participant