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

Optimization: cache path <-> package relationships #11

Open
mveytsman opened this issue Sep 1, 2016 · 0 comments
Open

Optimization: cache path <-> package relationships #11

mveytsman opened this issue Sep 1, 2016 · 0 comments
Labels

Comments

@mveytsman
Copy link
Contributor

The biggest bottleneck to pulling up every process' libraries and all their packages are all the dpkg -S queries.

  • If it turns out that the same libraries are included in lots of processes, we can cache path <-> package relationships to speed this up.
  • We may also just be able to store a db of these relationships in memory if it's not too big. We can research how dpkg -S works and also apt-file.
  • Since apt-file stores an offline database for all of the packages in the repo, we could potentially do this check on the backend and not have libspector be responsible for it (although this would make symlinks and packages installed from outside the default repos problematic).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant