daml/ledger/ledger-on-sql
Samir Talwar 6496ddd903
caching | kvutils | sandbox: Use a size-based cache for LF value translation. (#6432)
* caching: Split caches into new files.

* caching: Rename `Cache.from` to `WeightedCache.from`.

* caching: Move `Configuration` inside `WeightedCache`.

* caching: Add test cases.

* caching: Allow for Caffeine builders to be covariant.

* caching: When instrumenting the Caffeine cache, compose, don't inherit.

* caching: Add a size-based cache.

* caching: Extract out common test cases into base classes.

* caching: Use the size-based cache for LF value translation.

CHANGELOG_BEGIN
CHANGELOG_END

* caching: Simplify the eviction tests.

* caching: Increase the encapsulation in CaffeineCache.

* caching: Commas are important.

Co-authored-by: Stefano Baghino <43749967+stefanobaghino-da@users.noreply.github.com>

Co-authored-by: Stefano Baghino <43749967+stefanobaghino-da@users.noreply.github.com>
2020-06-19 14:42:40 +00:00
..
src caching | kvutils | sandbox: Use a size-based cache for LF value translation. (#6432) 2020-06-19 14:42:40 +00:00
BUILD.bazel Integrate metrics for cache (#6043) 2020-05-20 15:51:45 +02:00
hash-migrations.sh replace DAML Authors with DA in copyright headers (#5228) 2020-03-27 01:26:10 +01:00