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

Performance refactor for unexpected-talkers-macos #391

Merged
merged 4 commits into from
Oct 21, 2024

Conversation

tstromberg
Copy link
Contributor

@tstromberg tstromberg commented Sep 30, 2024

Existing query was become too slow to pass performance tests consistently. This refactor reduces the daily load from ~12.5 minutes a day to 3 minutes a day.

I suspect some of the improvement comes from whitelisting common Application paths, but some also comes from delaying the JOIN against signatures doesn't happen until we've confirmed that it's an interesting open port.

I reset the list of exceptions as most were unnecessary with the broader exceptions in place. I've tested this locally and across our fleet.

@tstromberg tstromberg merged commit 194f3ce into chainguard-dev:main Oct 21, 2024
3 checks passed
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