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

Improvements to the snapshot disk cache #120

Open
mechanik-daniel opened this issue Dec 3, 2024 · 0 comments
Open

Improvements to the snapshot disk cache #120

mechanik-daniel opened this issue Dec 3, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@mechanik-daniel
Copy link
Contributor

Sometimes, snapshots should be re-generated:

  • If the snapshot generator function has changed
  • If any of the dependencies have changed

And sometimes, a snapshot that has already been generated could be re-used but it's not:

  • If the username running FUME changes, so does the path to the resource, hence the hash key in the cache is different
  • If a snapshots folder content is copied between installations in order to save loading/parsing times and loads

Improvements may include:

  • Keys generated based on actual content instead of file system paths
  • Use the FUME engine version even better - snapshot generator version - as part of the hash
  • Include dependencies content and not just the direct resource content
@mechanik-daniel mechanik-daniel added the enhancement New feature or request label Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant