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

⚡ execute asset scans in parallel #5001

Open
afiune opened this issue Dec 17, 2024 · 0 comments
Open

⚡ execute asset scans in parallel #5001

afiune opened this issue Dec 17, 2024 · 0 comments
Assignees

Comments

@afiune
Copy link
Contributor

afiune commented Dec 17, 2024

Just like #4973 but for the actual scan.

The idea is the same, use a workerpool to execute the scan asset job function in parallel:

https://github.com/mondoohq/cnquery/blob/main/explorer/scan/local_scanner.go#L427-L444

Potential Issues

  • Progress bar might not work properly
  • Validate underlying functions run in parallel do not have race conditions
  • What if two scores are calculated at the same time¿? Do order matters?
@afiune afiune self-assigned this Dec 17, 2024
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