Comments (4)
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.
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.
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.
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)
- Chocolatey package not up to date HOT 7
- No known vulnerabilities found HOT 4
- Add authentication support for OSSI backend calls HOT 1
- Option -n causes DevAudit crash HOT 6
- Crash when detecting a nuget vulnerability in non-interactive mode HOT 9
- Is there a way to out put at standard error or success from cli? HOT 1
- Add support for new csproj file format HOT 6
- not found vulnerabilities at bootstrap v 3.4.1 HOT 1
- Hey, it's been a little while now and I am still seeing 3.3 as the latest release on the releases page. Some of the code hints at a 3.4, but it isn't there. HOT 4
- netcore Documentation and .sln support HOT 4
- Unusual .Net Core package version strings crash HOT 9
- Absolute path of DevAudit's Developer Shows in Exception message HOT 1
- Impossible to ran DevAudit from TFS Agent HOT 2
- netcore (.csproj style) fails to process versions on separate lines
- DevAudit reports vulnerability on Nuget package for lower vulnerable version not in csproj file. HOT 1
- Error in First method in GetPackages task when csproj file doesn't contain any packagereferences HOT 1
- no more postgresql audit support?
- Nuget package dependency - nearest wins in DevAudit HOT 3
- An HTTP Error Occurred
- Strange behaviour of DevAudit library.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from devaudit.