bazel-remote icon indicating copy to clipboard operation
bazel-remote copied to clipboard

In-memory AC cache. [WIP]

Open excitoon opened this issue 5 years ago • 2 comments

This fix adds in-memory cache for AC records.

Resolves #92

excitoon avatar Jun 15 '19 16:06 excitoon

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 avatar Jun 16 '19 10:06 excitoon

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?

mostynb avatar Aug 13 '19 12:08 mostynb