[go: up one dir, main page]

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

Size-based eviction for file metadata cache #3135

Open
wjones127 opened this issue Nov 18, 2024 · 0 comments
Open

Size-based eviction for file metadata cache #3135

wjones127 opened this issue Nov 18, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@wjones127
Copy link
Contributor

Users can set number of items, but that's hard to tune without knowing a lot of internal details about how large metadata is. Easier to instead set the size in bytes.

We already require impl DeepSizeOf, so it should be very little effort to make eviction size based.

We should have a deprecation cycle for the old item-based size. It can assume a fixed-size entry (2MB?) and use that to derive a value for the max bytes.

@wjones127 wjones127 added the enhancement New feature or request label Nov 18, 2024
@wjones127 wjones127 added this to the Lance Papercuts milestone Nov 18, 2024
@wjones127 wjones127 self-assigned this Nov 18, 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