Code Monkey home page Code Monkey logo

Comments (4)

OSSIndex-Admin avatar OSSIndex-Admin commented on July 30, 2024

One problem with the command line client running multiple server requests at a time is in theory it could reduce the number of concurrent users. For example, if the server can support ten requests at a time and one client uses up all ten requests, then we can only support one user. If on the other hand the client performs sequential requests then we can support ten users.

from devaudit.

allisterb avatar allisterb commented on July 30, 2024

I was thinking of adding some additional options like maybe MaxPackagesQuery and MaxVulnsQuery and DisableConcurrentQueries so the user can control the size of individual queries sent and the number of parallel queries made on the back-end, which would allow us to troubleshoot backend issues. This would be important when using 3rd-pary backends like vulnersdb. The parallelism is all internal to the GetVulnerabiltiesApiv2() method so it shouldn't be too difficult to change the behavior based on options the user passes.

from devaudit.

OSSIndex-Admin avatar OSSIndex-Admin commented on July 30, 2024

This definitely sounds like a reasonable idea. I have no particular leaning one way or another whether these are mentioned in the help text or not. I am fine with keeping them "secret" for testing, or publishing them so that users can tune things themselves should they be so inclined.

from devaudit.

allisterb avatar allisterb commented on July 30, 2024

Ok the new parallelism is implemented and has been running for the past couple of weeks and seems to be ok. I'm closing this and opening a new enhancement issue for the additional parallelism options.

from devaudit.

Related Issues (20)

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.