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

Cached AssetStore-index #31

Open
rawler opened this issue Apr 15, 2013 · 1 comment
Open

Cached AssetStore-index #31

rawler opened this issue Apr 15, 2013 · 1 comment
Milestone

Comments

@rawler
Copy link
Owner

rawler commented Apr 15, 2013

The contents of the assetstore should preferably be cached in RAM, to avoid excessive disk-I/O.

@rawler
Copy link
Owner Author

rawler commented Jun 3, 2016

This is partially solved by b726af7, but we can do better.

Caching is a delicate problem, with lots of tuning. Fortunately, there are those who have already done it.

The long-term plan is to replace all per-hash symlinks with a small SQLite-database. This will reduce inodes and load on the filesystem, come with free RAM-caching, and allow easily storing some extra metadata about the assets, such as completion-levels, and correctly used, thread-safety allowing background scans and updates.

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

1 participant