bazel-remote
bazel-remote copied to clipboard
In-memory AC cache. [WIP]
This fix adds in-memory cache for AC records.
Resolves #92
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).
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?