Skip to content

In-memory AC cache. [WIP]#93

Open
excitoon wants to merge 3 commits intobuchgr:masterfrom
excitoon-favorites:inmemoryac
Open

In-memory AC cache. [WIP]#93
excitoon wants to merge 3 commits intobuchgr:masterfrom
excitoon-favorites:inmemoryac

Conversation

@excitoon
Copy link
Copy Markdown

@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
Copy Markdown
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
Copy Markdown
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