Skip to content

File object cache for DirectoryStore #381

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

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
Labels
enhancement New features or improvements

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.

@dstansby dstansby added the enhancement New features or improvements label Dec 12, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New features or improvements
Projects
None yet
Development

No branches or pull requests

2 participants