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 uncompressed chunks #264

Open
toloudis opened this issue Nov 25, 2024 · 0 comments
Open

cache uncompressed chunks #264

toloudis opened this issue Nov 25, 2024 · 0 comments
Assignees

Comments

@toloudis
Copy link
Contributor

Use Case

The current chunk cache stores the fetched blobs in cache. These chunks are typically compressed. Whenever we have a cache hit, we have to pay for decompression every time.
One way we can make playback mode faster is to store chunks decompressed.
Accept a cost of memory consumption, for the tradeoff of faster cache hits at run time.

Solution

We use a Store class that inherits from Zarrita's Store.
We preliminarily think this might require forking Zarrita to add the hooks or expose the internal modules we need.

Measure performance before and after.

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

2 participants