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

Reduce the memory cache of NVTs #1076

Merged
merged 25 commits into from
May 19, 2020
Merged

Conversation

mattmundell
Copy link
Contributor

@mattmundell mattmundell commented May 11, 2020

This reduces the size of the internal NVTi cache.

The only data now cached is the NVT references. These are used by the result lists and the SecInfo GET commands. While it would be OK to use queries for the SecInfo case, It is not so easy to integrate the refs into the result iterator (because there are many refs per result). A better approach may be to adjust GMP to not send the NVT details/refs with each result, but somehow separately.

Checklist:

@mattmundell mattmundell changed the title Remove the memory cache of NVTs Reduce the memory cache of NVTs May 13, 2020
@mattmundell mattmundell marked this pull request as ready for review May 13, 2020 11:12
@mattmundell mattmundell removed the request for review from timopollmeier May 15, 2020 13:02
@mattmundell mattmundell marked this pull request as draft May 15, 2020 13:02
@mattmundell mattmundell marked this pull request as ready for review May 19, 2020 08:34
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

Successfully merging this pull request may close these issues.

2 participants