Giter VIP home page Giter VIP logo

developer-sdk's People

Contributors

dependabot[bot] avatar jakowenko avatar parsonswy avatar roselandroche avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

parsonswy

developer-sdk's Issues

FEATURE: Make script resilient to SQL failures

PKG: model-data-generator

Right now the script will fail if it encounters any error from SQL. This is especially frustrating with these large datasets because the script may spend 30 minutes generating values, only to fail an insert almost immediately, wasting all that time.

I think making the script resilient to UNQ constraint violations would help mitigate this.

FEATURE: Randomness Garuentees

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.