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

Cache chunks on disk and/or in memory #35

Open
dinowernli opened this issue Jan 5, 2018 · 0 comments
Open

Cache chunks on disk and/or in memory #35

dinowernli opened this issue Jan 5, 2018 · 0 comments

Comments

@dinowernli
Copy link
Owner

dinowernli commented Jan 5, 2018

This task is about figuring out how to intelligently use disk and memory storage available in order to cache loaded chunks. The scope of this is quite large, but one way of approaching things could be:

  1. Implement a very basic caching layer in the form of a CachingBackend which caches and forward calls to an actual Backend implementation. This is mostly plumbing in perparation for part (2) below.
  2. Add metrics which allow evaluation of cache hit rates and expose the backend request metrics.
  3. Implement caching strategies in CachingBackend which use disk and/or memory. Use the load generation binary (see other task) to validate that the strategies work.
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