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

Add smarter document cache #44

Open
rubensworks opened this issue Mar 11, 2022 · 1 comment
Open

Add smarter document cache #44

rubensworks opened this issue Mar 11, 2022 · 1 comment

Comments

@rubensworks
Copy link
Member

Issue type:

  • ➕ Feature request

Description:

Currently, we configure our document's cache (LRU) to have a size of 2048: https://github.com/comunica/comunica-feature-link-traversal/blob/master/engines/config-query-sparql-link-traversal/config/rdf-resolve-quad-pattern/actors/hypermedia.json#L13

This is quite arbitrary, and ignores things like file size and how well they apply to query results.

We should introduce better caching techniques dedicated to link traversal.

Example query where this cache is relevant: https://comunica.github.io/comunica-feature-link-traversal-web-clients/builds/solid-default/#datasources=https%3A%2F%2Fdrive.verborgh.org%2Fmovies%2F&query=PREFIX%20schema%3A%20%3Chttps%3A%2F%2Fschema.org%2F%3E%0ASELECT%20*%20WHERE%20%7B%0A%20%20%3Fmovie%20a%20schema%3AMovie.%0A%20%20%3Faction%20a%20schema%3AWatchAction%3B%0A%20%20%20%20%20%20%20%20%20%20schema%3Aobject%20%3Fmovie.%0A%7D&solidIdp=https%3A%2F%2Fdrive.verborgh.org%2F

@rubensworks rubensworks added enhancement New feature or request feature ➕ labels Mar 11, 2022
@github-actions
Copy link

Thanks for the suggestion!

@rubensworks rubensworks added investigate and removed enhancement New feature or request labels Mar 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant