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

In-memory AC cache. [WIP] #93

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

excitoon
Copy link

@excitoon excitoon commented Jun 15, 2019

This fix adds in-memory cache for AC records.

Resolves #92

@excitoon excitoon changed the title In-memory AC. In-memory AC cache. Jun 15, 2019
@excitoon
Copy link
Author

excitoon commented Jun 16, 2019

What I would also like to make in this PR:

  • move from AC cache to entries-smaller-than-N-bytes cache;
  • add number and size limit for these entries (like existing LRU).

@excitoon excitoon changed the title In-memory AC cache. In-memory AC cache. [WIP] Jun 16, 2019
@mostynb
Copy link
Collaborator

mostynb commented Aug 13, 2019

I wonder if the kernel's page cache already performs an approximation of this optimization transparently? Have you benchmarked this compared to the filesystem backend?

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

Successfully merging this pull request may close these issues.

In-memory storage of metadata (AC)
2 participants