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 cache for immutable segments for commonly loaded fields #96

Open
black-adder opened this issue Feb 1, 2019 · 0 comments
Open

Add cache for immutable segments for commonly loaded fields #96

black-adder opened this issue Feb 1, 2019 · 0 comments
Assignees

Comments

@black-adder
Copy link
Collaborator

There's a common use case where the same field can be loaded from disk multiple times in succession. Right now, we will fetch the data from disk for each query.

Before we go ahead and build a cache, since fields are memory mapped on the first read, write a benchmark that checks if subsequent reads take advantage of the memory map and what the performance is. If the performance is "good", a cache may not be required.

@black-adder black-adder self-assigned this Feb 1, 2019
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