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

File object cache for DirectoryStore #381

Open
jakirkham opened this issue Jan 4, 2019 · 0 comments
Open

File object cache for DirectoryStore #381

jakirkham opened this issue Jan 4, 2019 · 0 comments

Comments

@jakirkham
Copy link
Member

It would be nice to have a file object cache for DirectoryStore (likely using LRU). The benefit here would be twofold. First we could reuse the same file object for multiple reads as opposed to tossing it after each one. This benefit becomes more notable when considering memory-mapping. ( #265 ) ( #377 ) Second we could constrain the number of file descriptors around at any one time by fixing the cache size. This latter point has been an issue historically for some workflows. Though IDK how much it occurs with Zarr specifically.

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